libio: Fix fmemopen append mode failure (BZ# 20012)
[glibc.git] / ChangeLog
blob6a86de6f2697a22ed07b2bbcf7c63d65bc3d1ae8
1 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         [BZ #20012]
4         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5         length to calculate the buffer to read.
6         (fmemopen_write): Set the buffer position based on bytes written.
7         (fmemopen_seek): Return EINVAL for invalid whence modes.
9         [BZ #19957]
10         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11         tst-getpid2.
12         (test): Add tst-clone2.
13         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15         pid/tid fields for CLONE_VM.
16         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
25         Likewise.
26         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27         Likewise.
28         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
29         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
30         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
31         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
32         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
33         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
34         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
35         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
37 2016-04-29  Florian Weimer  <fweimer@redhat.com>
39         [BZ #19642]
40         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
41         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
42         (gni_serv_local, gni_serv): New functions extracted from
43         getnameinfo.
44         (getnameinfo): Call gni_host and gni_serv to perform the
45         processing.  Always free scratch buffer.
47 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
49         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
50         remaining bytes in the dest string, with zeros.
52 2016-04-29  Florian Weimer  <fweimer@redhat.com>
54         [BZ #20010]
55         CVE-2016-3706
56         * sysdeps/posix/getaddrinfo.c
57         (convert_hostent_to_gaih_addrtuple): New function.
58         (gethosts): Call convert_hostent_to_gaih_addrtuple.
59         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
60         AF_INET data.
62 2016-04-29  Florian Weimer  <fweimer@redhat.com>
64         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
65         callback function gl_readdir.
66         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
67         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
68         (glob_in_dir): Remove len.  Use strdup instead of malloc and
69         memcpy to copy the name.
70         * manual/pattern.texi (Calling Glob): Document requirements for
71         implementations of the gl_readdir callback function.
72         * manual/examples/mkdirent.c: New example.
73         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
74         per the manual guidance.
75         * posix/tst-gnuglob.c (my_readdir): Likewise.
77 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
79         [BZ #20014]
80         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
81         not [__USE_POSIX].
82         (getchar_unlocked): Likewise.
83         (putc_unlocked): Likewise.
84         (putchar_unlocked): Likewise.
85         (flockfile): Likewise.
86         (ftrylockfile): Likewise.
87         (funlockfile): Likewise.
88         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
89         variable.
90         (test-xfail-XPG4/stdio.h/conform): Likewise.
92         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
93         Expect constant.
94         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
95         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
96         variable.
97         (test-xfail-XPG4/langinfo.h/conform): Likewise.
98         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
100         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
101         [__USE_LARGEFILE64] (off64_t): Likewise.
102         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
103         variable.
105 2016-04-28  Florian Weimer  <fweimer@redhat.com>
107         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
111         * resolv/inet_addr.c: Reindent preprocessor conditionals.
112         * resolv/res_init.c: Likewise.
113         * resolv/res_mkquery.c: Likewise.
115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
117         * resolv/res_init.c (isascii): Do not define.  Use definition in
118         <ctype.h>.
119         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
120         (LOG_AUTH): Remove.
121         (SPRINTF): Remove, adjust caller.
122         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
124 2016-04-28  Florian Weimer  <fweimer@redhat.com>
126         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
127         SUNSECURITY conditional.
128         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
130 2016-04-28  Florian Weimer  <fweimer@redhat.com>
132         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
133         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
134         Remove BSD-related preprocessor conditionals.
135         * conf/portability.h: Remove.
137 2016-04-28  Florian Weimer  <fweimer@redhat.com>
139         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
140         * resolv/res_data.c: Likewise.
142 2016-04-28  Florian Weimer  <fweimer@redhat.com>
144         * resolv/res_comp.c: Remove code conditional on __ultrix__.
145         * resolv/res_data.c: Remove code conditional on ultrix.
147 2016-04-28  Florian Weimer  <fweimer@redhat.com>
149         * resolv/res_init.c (RFC1535): Do not define.  Remove
150         RFC1535 preprocessor conditionals.
151         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
152         because there configuration options which make the resolver
153         behavior different.
155 2016-04-28  Florian Weimer  <fweimer@redhat.com>
157         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
158         RESOLVSORT preprocessor conditionals.
159         * resolv/nss_dns/dns-host.c: Likewise.
160         * resolv/res_init.c: Likewise.
162 2016-04-28  Florian Weimer  <fweimer@redhat.com>
164         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
165         is never defined.
167 2016-04-28  Florian Weimer  <fweimer@redhat.com>
169         * inet/inet_lnaof.c: Remove SCSS keyword.
170         * inet/inet_mkadr.c: Likewise.
171         * inet/inet_net.c: Likewise.
172         * inet/inet_netof.c: Likewise.
173         * inet/rcmd.c: Likewise.
174         * inet/rexec.c: Likewise.
175         * inet/ruserpass.c: Likewise.
177 2016-04-28  Florian Weimer  <fweimer@redhat.com>
179         * resolv/inet_addr.c: Remove _LIBC conditionals.
180         * resolv/res_data.c: Likewise.
181         * resolv/res_init.c: Likewise.
182         * resolv/res_mkquery.c: Likewise.
183         * resolv/res_libc.c: Update comment.
184         * resolv/README: Update.
186 2016-04-28  Florian Weimer  <fweimer@redhat.com>
188         * resolv/gethnamaddr.c: Remove SCSS keyword.
189         * resolv/herror.c: Likewise.
190         * resolv/inet_addr.c: Likewise.
191         * resolv/inet_net_ntop.c: Likewise.
192         * resolv/inet_net_pton.c: Likewise.
193         * resolv/inet_neta.c: Likewise.
194         * resolv/inet_ntop.c: Likewise.
195         * resolv/inet_pton.c: Likewise.
196         * resolv/ns_date.c: Remove RCS keyword.
197         * resolv/ns_name.c: Likewise.
198         * resolv/ns_netint.c: Likewise.
199         * resolv/ns_parse.c: Likewise.
200         * resolv/ns_print.c: Likewise.
201         * resolv/ns_samedomain.c: Likewise.
202         * resolv/ns_ttl.c: Likewise.
203         * resolv/nsap_addr.c: Likewise.
204         * resolv/res_comp.c: Remove SCSS and RCS keyword.
205         * resolv/res_data.c: Remove RCS keyword.
206         * resolv/res_debug.c: Remove SCSS and RCS keyword.
207         * resolv/res_init.c: Likewise.
208         * resolv/res_mkquery.c: Likewise.
209         * resolv/res_query.c: Likewise.
210         * resolv/res_send.c: Likewise.
212 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
214         * conform/data/stdio.h-data (fdopen): Expect also for
215         [XPG3 || XPG4].
217         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
218         (fseeko): Likewise.
219         (ftello): Likewise.
220         (ftrylockfile): Likewise.
221         (funlockfile): Likewise.
222         (getc_unlocked): Likewise.
223         (getchar_unlocked): Likewise.
224         (putc_unlocked): Likewise.
225         (putchar_unlocked): Likewise.
227 2016-04-27  Florian Weimer  <fweimer@redhat.com>
229         [BZ #19868]
230         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
231         DNS packet syntax checks (which were not needed before).  Skip
232         over non-PTR records.
234 2016-04-27  Florian Weimer  <fweimer@redhat.com>
236         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
237         definition.  Include <stddef.h> instead.
239 2016-04-27  Florian Weimer  <fweimer@redhat.com>
241         [BZ #19831]
242         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
243         function.
244         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
245         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
247 2016-04-27  Florian Weimer  <fweimer@redhat.com>
249         [BZ #19862]
250         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
251         (getanswer_r): Do not call syslog.
252         (gaih_getanswer_slice): Likewise.
253         * resolv/gethnamaddr.c (AskedForGot): Remove.
254         (getanswer): Do not call syslog.
255         (gethostbyaddr): Likewise.
257 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
259         * conform/data/signal.h-data (union sigval): Expect also if
260         [XOPEN2K].
261         (struct sigevent): Likewise.
262         (SIGEV_NONE): Likewise.
263         (SIGEV_SIGNAL): Likewise.
264         (SIGEV_THREAD): Likewise.
265         (SIGRTMIN): Likewise.
266         (SIGRTMAX): Likewise.
267         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
268         variable.
269         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
271 2016-04-27  Florian Weimer  <fweimer@redhat.com>
273         [BZ #19830]
274         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
275         (gaih_getanswer_slice): Likewise.
276         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
277         Also check for availability of RR metadata.
279 2016-04-27  Florian Weimer  <fweimer@redhat.com>
281         [BZ #19825]
282         * resolv/res_send.c (send_vc): Remove early *resplen2
283         initialization.  Set *resplen2 on socket error.  Call
284         close_and_return_error for other errors.
286 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
288         * sysdeps/unix/sysv/linux/netiucv/iucv.h
289         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
290         (SCM_IUCV_TRGCLS): New define.
292 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
294         [BZ #20005]
295         * libio/fmemopen.c (fmemopen_write): Update internal position after
296         write.
297         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
298         * stdio-common/tst-fmemopen4.c: New file..
300 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
302         [BZ #19996]
303         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
304         not [__USE_XOPEN2K].
305         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
306         variable.
308         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
309         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
310         variable.
312         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
313         [__USE_XOPEN2K8].
314         [__USE_LARGEFILE64] (off64_t): Likewise.
315         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
316         variable.
318 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
320         [BZ #19989]
321         * libio/stdio.h (cuserid): Do not declare if
322         [__USE_XOPEN2K && !__USE_GNU].
323         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
324         variable.
326 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
328         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
329         (sysdep_routines): Add P8 and PPC64 strcspn targets.
330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
331         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
332         ifunc'ed strcspn.
333         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
334         [EALIGN]: Removed.
335         [END]: Likewise
336         [STRSPN]: Define instead of the above to control symbol name.
337         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
338         New file.
339         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
340         Likewise.
341         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
342         Likewise.
343         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
344         Likewise.
345         * sysdeps/powerpc/powerpc64/power8/strspn.S:
346         [INITIAL_MASK]: New macro.
347         [STRCSPN]: Likewise.
348         [UPDATE_MASK]: Likewise.
349         [USE_AS_STRCSPN]: Lisewise.
351 2016-04-25  Florian Weimer  <fweimer@redhat.com>
353         [BZ #19931]
354         * stdio-common/tst-vfprintf-width-prec.c: New file.
355         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
356         (tests-special): Add tst-vfprintf-width-prec-mem.out.
357         (generated): Add mtrace-related files.
358         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
359         (tst-%-mem.out): New pattern rule, replaces
360         tst-printf-bz18872-mem.out.
361         * stdio-common/vfprintf.c (vfprintf): When handling a precision
362         specifier, deallocate any previously allocated work buffer.
364 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
366         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
367         Add nop before __startcontext, add explaining comments.
369 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
371         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
372         any more. Notably since IPV6_PKTINFO has been reintroduced with a
373         completely different API.
375         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
376         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
377         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
378         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
379         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
380         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
381         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
382         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
383         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
384         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
386 2016-04-23   H.J. Lu  <hongjiu.lu@intel.com>
388         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
390 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
392         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
393         when it is the default of 0.
395 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
397         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
398         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
399         (sysdep_routines): Add new strcasestr targets.
400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
401         (__libc_ifunc_impl_list): Likewise.
402         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
403         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
404         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
405         * sysdeps/powerpc/powerpc64/power8/Makefile:
406         New file to add strcasestr-ppc64 to sysdep_routines.
407         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
408         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
410 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
412         * benchtests/Makefile (wcsmbs-benchset): Include only for
413         native builds and runs.
414         (LOCALES): Likewise.
415         (bench-build): Build timing-type here instead of the bench
416         target.  Generate locale only for native builds.
417         * benchtests/README: Add note for cross-building.
419         * benchtests/Makefile (bench-clean): Clean up extra-objs.
421         * benchtests/README: Update README to include instructions on
422         using bench-build.
424         * Makefile.in (bench-build): New target.
425         * Rules (PHONY): Add bench-build target.
426         * benchtests/Makefile (bench): Depend on bench-build.
427         (bench-build): New target.
429 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
431         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
432         profil_reply_port.
433         (profile_waiter): Do not initialize profil_reply_port.
434         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
435         frequency instead of tick length in us.
437 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
439         [BZ #18712]
440         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
441         (__old_mempcpy_small): Likewise.
442         (__old_strcpy_small): Likewise.
443         (__old_stpcpy_small): Likewise.
444         (__old_strpbrk_c2): Fix compat symbol name.
445         (__old_strpbrk_c3): Likewise.
446         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
447         (__mempcpy_small): Remove.
448         (__strcpy_small): Remove.
449         (__stpcpy_small): Remove.
451 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
453         [BZ #19400]
454         * locale/iso-639.def: Add the Talossan/tzl language.
456 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
458         [BZ #16983]
459         * locale/programs/ld-address.c (address_finish): Update postal_fmt
460         comment.  Add "ln" to strchr check on postal_fmt.
462 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
464         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
465         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
466         tel_dom_fmt.
468 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
470         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
471         (sysdep_routines): Added __strlen_power8.
472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
473         __strlen_power8 entry.
474         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
475         Implementation for POWER8.
476         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
477         for __strlen_power8.
478         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
479         Implementation for POWER8.
481 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
483         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
485 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
487         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
488         Goldmont and Airmont processors.
490 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
492         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
493         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
494         (__STRING2_SMALL_GET32): Remove.
495         (memset): Remove.
496         (__memset_1): Remove.
497         (__memset_gc): Remove.
498         (__mempcpy): Remove.
499         (mempcpy): Remove.
500         (__mempcpy_args): Remove.
501         (strchr): Remove.
502         (strcpy): Remove.
503         (strcpy_args): Remove.
504         (__stpcpy_args): Remove.
505         (__strcmp_cc): Remove.
506         (__strcmp_gc): Remove.
507         (strstr): Remove.
509 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
511         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
512         * nis/nis_call.c (nis_server_cache_add): Likewise.
514 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
516         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
518 2016-04-14  Florian Weimer  <fweimer@redhat.com>
520         * malloc/arena.c (__malloc_fork_lock_parent)
521         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
522         internal_function attribute.
524 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
526         * stdio-common/printf_fp.c (__printf_fp_l):
527         Rename ___printf_fp_l to __printf_fp_l and
528         remove strong alias. Use libc_hidden_def instead
529         of ldbl_hidden_def macro.
531 2016-04-14  Florian Weimer  <fweimer@redhat.com>
533         Remove malloc hooks from fork handler.  They are no longer needed
534         because malloc runs right before fork, and no malloc calls from
535         other fork handlers are not possible anymore.
536         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
537         declarations.
538         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
539         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
540         (atfork_recursive_cntr): Remove.
541         (__malloc_fork_lock_parent): Do not override malloc hooks and
542         thread_arena.
543         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
544         thread_arena.
545         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
546         thread_arena instead of save_arena.
548 2016-04-14  Florian Weimer  <fweimer@redhat.com>
550         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
551         (thread_atfork, thread_atfork_static): Remove.
552         * sysdeps/mach/hurd/malloc-machine.h:
553         (thread_atfork, thread_atfork_static): Remove.
555 2016-04-14  Florian Weimer  <fweimer@redhat.com>
557         [BZ #19431]
558         Run the malloc fork handler as late as possible to avoid deadlocks.
559         * malloc/malloc-internal.h: New file.
560         * malloc/malloc.c: Include it.
561         * malloc/arena.c (ATFORK_MEM): Remove.
562         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
563         Update comment.
564         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
565         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
566         Remove outdated comment.
567         (ptmalloc_init): Do not call thread_atfork.  Remove
568         thread_atfork_static.
569         * malloc/tst-malloc-fork-deadlock.c: New file.
570         * Makefile (tests): Add tst-malloc-fork-deadlock.
571         (tst-malloc-fork-deadlock): Link against libpthread.
572         * manual/memory.texi (Aligned Memory Blocks): Update safety
573         annotation comments.
574         * sysdeps/nptl/fork.c (__libc_fork): Call
575         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
576         __malloc_fork_unlock_child.
577         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
579 2016-04-14  Florian Weimer  <fweimer@redhat.com>
581         [BZ #19613]
582         Remove union wait.
583         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
584         (w_stopsig, w_stopval): Remove.
585         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
586         stat_loc argument.
587         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
588         (__WAIT_STATUS_DEFN): Remove.
589         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
590         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
591         (wait, wait3, wait4): Use int * for the stat_loc argument.
592         * posix/wait.c (__wait): Likewise.
593         * posix/wait3.c (__wait3): Likewise.
594         * posix/wait4.c (__wait4): Likewise.
595         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
596         (__WAIT_STATUS_DEFN): Remove.
597         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
598         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
599         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
600         argument.
601         * sysdeps/posix/wait.c (__libc_wait): Likewise.
602         * sysdeps/posix/wait3.c (__wait3): Likewise.
603         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
604         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
605         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
606         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
607         stat_loc argument.
608         * manual/process.texi (BSD Wait Functions): Remove union wait.
610 2016-04-13  Andreas Schwab  <schwab@suse.de>
612         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
613         (test-extras): Add tst-tlsalign-vars.
614         * math/Makefile: Wrap long lines.
615         (libm-vec-test-wrappers): Define.
616         (test-extras): Add $(libm-vec-test-wrappers).
617         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
618         * nss/Makefile (extra-test-objs): Add nss_test1.os.
619         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
620         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
621         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
622         (extra-test-objs): Add corresponding objects.
624 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
626         [BZ #19928]
627         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
628         New.
629         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
630         times of shared cache size.
631         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
632         (VMOVNT): New.
633         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
634         (VMOVNT): Likewise.
635         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
636         (VMOVNT): Likewise.
637         (VMOVU): Changed to movups for smaller code sizes.
638         (VMOVA): Changed to movaps for smaller code sizes.
639         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
640         comments.
641         (PREFETCH): New.
642         (PREFETCH_SIZE): Likewise.
643         (PREFETCHED_LOAD_SIZE): Likewise.
644         (PREFETCH_ONE_SET): Likewise.
645         Rewrite to use forward and backward loops, which move 4 vector
646         registers at a time, to support overlapping addresses and use
647         non temporal store if size is above the threshold and there is
648         no overlap between destination and source.
650 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
652         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
653         Include dl-vdso.
654         * sysdeps/unix/sysv/linux/mips/Versions: Add
655         __vdso_clock_gettime.
656         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
657         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
658         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
659         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
660         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
661         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
662         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
663         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
664         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
666 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
668         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
669         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
671         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
672         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
673         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
676         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
678         syscalls generation.
679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
680         [__NR_pwrite64] (__NR_write): Remove define.
681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
682         [__NR_pwrite64] (__NR_write): Remove define.
683         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
684         Remove define.
685         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
686         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
687         Remove define.
688         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
689         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
690         Linux implementation as base.
691         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
693         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
694         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
696         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
699         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
700         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
701         syscall generation.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
703         [__NR_pread64] (__NR_pread): Remove define.
704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
705         [__NR_pread64] (__NR_pread): Likewise.
706         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
707         define.
708         (__libc_pread): Use SYSCALL_LL macro on offset argument.
709         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
710         Remove define.
711         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
712         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
713         Linux implementation as base.
714         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
715         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
716         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
718         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
719         definition.
720         (__ALIGNMENT_COUNT): Likewise.
721         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
722         (__ALIGNMENT_COUNT): Likewise.
723         (SYSCALL_LL): New define.
724         (SYSCALL_LL64): Likewise.
725         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
726         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
727         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
728         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
730         * sysdeps/unix/sysv/linux/arm/kernel-features.h
731         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
733         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
734         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
735         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
737 2016-04-11  Florian Weimer  <fweimer@redhat.com>
739         [BZ #19865]
740         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
741         original buffer before retry.
743 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
746         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
747         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
748         GLRO(dl_auxv) list.
749         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
750         including <ldsodefs.h>.
751         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
753 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
755         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
756         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
757         $(CPPFLAGS).
759 2016-04-09  Khem Raj  <raj.khem@gmail.com>
761         [BZ #17950]
762         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
763         Add -mfpmath=387.
765 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
767         * sysdeps/i386/configure.ac: Change == to = when calling test.
768         * sysdeps/x86_64/configure.ac: Likewise.
769         * sysdeps/i386/configure: Regenerated.
770         * sysdeps/x86_64/configure: Likewise.
772 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
774         [BZ #16137]
775         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
776         * benchtests/bench-strcoll.c (input_files): Likewise.
777         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
778         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
779         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
781 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
783         [BZ #19929]
784         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
785         [__USE_XOPEN2K8 && !__USE_GNU].
786         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
787         variable.
789         [BZ #19925]
790         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
791         define if [!__USE_MISC && __USE_XOPEN2K].
792         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
793         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
794         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
795         Likewise.
796         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
797         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
798         variable.
799         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
801 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
803         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
804         (sysdep_routines): Add new strspn targets.
805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
806         (__libc_ifunc_impl_list): Add strspn.
807         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
808         New file.
809         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
810         Likewise.
811         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
812         Likewise.
813         * sysdeps/powerpc/powerpc64/power8/strspn.S:
814         Likewise.
816 2016-04-07  Florian Weimer  <fweimer@redhat.com>
818         * misc/hsearch_r.c: Include <limits.h>.
820 2016-04-07  Florian Weimer  <fweimer@redhat.com>
822         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
824 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
826         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
827         (MEMCPY_SYMBOL): New.
828         (MEMPCPY_SYMBOL): Likewise.
829         (MEMMOVE_CHK_SYMBOL): Likewise.
830         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
831         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
832         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
833         Provide alias for memcpy in libc.a and ld.so.
835 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
837         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
838         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
839         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
840         Disabled fro now.
841         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
842         symbols.  Properly check USE_MULTIARCH on __memset symbols.
844 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
846         * benchtests/Makefile (string-benchset): Add memcpy-large,
847         memmove-large and memset-large.
848         * benchtests/bench-memcpy-large.c: New file.
849         * benchtests/bench-memmove-large.c: Likewise.
850         * benchtests/bench-memmove-large.c: Likewise.
851         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
853 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
855         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
856         32-bit displacement to avoid long nop between instructions.
858 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
860         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
861         a comment on VMOVU and VMOVA.
863 2016-04-04  Florian Weimer  <fweimer@redhat.com>
865         [BZ #19633]
866         Use specified locale for number formatting in strfmon_l.
867         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
868         (__nl_lookup_word): New inline functions.
869         * include/printf.h (__print_fp_l): Declare.
870         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
871         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
872         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
873         (___printf_fp): New function.
874         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
875         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
876         * stdlib/tst-strfmon_l.c (do_test): New test.
877         * stdlib/Makefile (tests): Add kt.
878         (LOCALES): Build additional locales.
879         (tst-strfmon_l.out): Require locales.
881 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
883         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
884         if not in libc.
885         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
886         Likewise.
887         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
888         Likewise.
889         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
890         Likewise.
892 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
894         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
895         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
896         with unaligned_erms.
897         (__memmove_erms): Skip if source == destination.
898         (__memmove_unaligned_erms): Don't check source == destination
899         first.
901 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
903         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
904         bit_arch_Fast_Copy_Backward for Intel Core proessors.
906 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
908         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
909         * string/strspn.c (strspn): Likewise.
911 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
913         * benchtests/bench-memset.c (do_test): Support 64-byte
914         alignment.
915         (test_main): Test 64-byte alignment.
917 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
919         * benchtests/bench-memmove.c (test_main): Test 64-byte
920         alignment.
922 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
924         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
926 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
928         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
929         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
930         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
932         * string/strpbrk.c (strpbrk): Rewrite function.
933         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
934         (__strpbrk_c2): Likewise.
935         (__strpbrk_c3): Likewise.
936         * string/string-inlines.c
937         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
938         Likewise.
939         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
940         Likewise.
942         * string/strspn.c (strcspn): Rewrite function.
943         * string/bits/string2.h (strspn): Use __builtin_strcspn.
944         (__strspn_c1): Remove inline function.
945         (__strspn_c2): Likewise.
946         (__strspn_c3): Likewise.
947         * string/string-inlines.c
948         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
949         compatibility symbol.
950         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
951         Likewise.
952         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
953         Likewise.
954         * string/string-inlines.c: Include generic version.
956 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
957             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
959         * string/Version (libc): Add GLIBC_2.24.
960         * string/strcspn.c (strcspn): Rewrite function.
961         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
962         (__strcspn_c1): Remove inline function.
963         (__strcspn_c2): Likewise.
964         (__strcspn_c3): Likewise.
965         * string/string-inline.c
966         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
967         compatibility symbol.
968         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
969         Likewise.
970         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
971         Likewise.
972         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
974 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
976         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
977         Use ahi instead of aghi to adjust stack pointer.
979 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
981         [BZ #19853]
982         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
983         TEST to take significant digits as second parameter.
984         [TEST]: Redefine in terms of TEST_N taking 30
985         significant digits.
986         (do_test): Add test case to demonstrate precision
987         failure in the ldbl-128ibm printf.
988         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
989         (__mpn_extract_long_double): Carry 7 extra intermediate
990         bits of precision to aide computing difference when
991         signs differ.
993 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
995         [BZ #19881]
996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
997         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
998         memset-avx512-unaligned-erms.
999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1000         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1001         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1002         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1003         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1004         __memset_sse2_unaligned_erms, __memset_erms,
1005         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1006         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1007         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1008         file.
1009         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1010         Likewise.
1011         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1012         Likewise.
1013         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1014         Likewise.
1016 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1018         [BZ #19776]
1019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1020         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1021         memmove-avx512-unaligned-erms.
1022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1023         (__libc_ifunc_impl_list): Test
1024         __memmove_chk_avx512_unaligned_2,
1025         __memmove_chk_avx512_unaligned_erms,
1026         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1027         __memmove_chk_sse2_unaligned_2,
1028         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1029         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1030         __memmove_avx512_unaligned_erms, __memmove_erms,
1031         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1032         __memcpy_chk_avx512_unaligned_2,
1033         __memcpy_chk_avx512_unaligned_erms,
1034         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1035         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1036         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1037         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1038         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1039         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1040         __mempcpy_chk_avx512_unaligned_erms,
1041         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1042         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1043         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1044         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1045         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1046         __mempcpy_erms.
1047         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1048         file.
1049         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1050         Likwise.
1051         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1052         Likwise.
1053         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1054         Likwise.
1056 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1058         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1059         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1060         (La_s390_64_regs): Likewise.
1061         (La_s390_32_retval): Append vector register lrv_v24.
1062         (La_s390_64_retval): Likeweise.
1063         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1064         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1065         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1066         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1068 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1070         [BZ #19916]
1071         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1072         to create a non-vector/vector version for _dl_runtime_resolve and
1073         _dl_runtime_profile. Move implementation to ...
1074         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1075         (_dl_runtime_resolve) Save and restore fpr/vrs.
1076         (_dl_runtime_profile) Save and restore vrs and fix some issues
1077         if _dl_call_pltexit is called.
1078         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1079         Choose the correct resolver function if running on a machine with vx.
1080         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1081         to create a non-vector/vector version for _dl_runtime_resolve and
1082         _dl_runtime_profile. Move implementation to ...
1083         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1084         (_dl_runtime_resolve) Save and restore fpr/vrs.
1085         (_dl_runtime_profile) Save and restore vrs and fix some issues
1086         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1087         Choose the correct resolver function if running on a machine with vx.
1089 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1091         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1093 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1095         [BZ #19509]
1096         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1097         skip_map != NULL.
1098         * elf/tst-dlsym-error.c: New file.
1099         * elf/Makefile (tests): Add tst-dlsym-error.
1100         (tst-dlsym-error): Link against libdl.
1102 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1105         (__ASSUME_FUTIMESAT): Remove macro.
1106         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1108 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1110         [BZ #19879]
1111         CVE-2016-3075
1112         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1113         copy name.
1115 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1117         [BZ #19837]
1118         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1119         error if parse_line fails.
1121 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1123         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1124         (index_cpu_ERMS): Likewise.
1125         (reg_ERMS): Likewise.
1127 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1129         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1130         PER_LINUX_FDPIC): Add.
1132 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1135         memcpy-avx512-no-vzeroupper.
1136         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1137         to ...
1138         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1139         (MEMCPY): Don't define.
1140         (MEMCPY_CHK): Likewise.
1141         (MEMPCPY): Likewise.
1142         (MEMPCPY_CHK): Likewise.
1143         (MEMPCPY_CHK): Renamed to ...
1144         (__mempcpy_chk_avx512_no_vzeroupper): This.
1145         (MEMPCPY_CHK): Renamed to ...
1146         (__mempcpy_chk_avx512_no_vzeroupper): This.
1147         (MEMCPY_CHK): Renamed to ...
1148         (__memmove_chk_avx512_no_vzeroupper): This.
1149         (MEMCPY): Renamed to ...
1150         (__memmove_avx512_no_vzeroupper): This.
1151         (__memcpy_avx512_no_vzeroupper): New alias.
1152         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1154 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1156         [BZ #18858]
1157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1158         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1159         and mempcpy-avx512-no-vzeroupper.
1160         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1161         New.
1162         (MEMPCPY): Likewise.
1163         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1164         (MEMPCPY_CHK): New.
1165         (MEMPCPY): Likewise.
1166         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1167         (MEMPCPY): Likewise.
1168         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1169         (MEMPCPY): Likewise.
1170         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1171         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1172         Likewise.
1173         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1174         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1176 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1177              Amit Pawar  <Amit.Pawar@amd.com>
1179         [BZ #19583]
1180         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1181         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1182         processors.  Set Fast_Copy_Backward for AMD Excavator
1183         processors.
1184         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1185         New.
1186         (index_arch_Fast_Unaligned_Copy): Likewise.
1187         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1188         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1190 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1192         [BZ #19791]
1193         * resolv/res_send.c (close_and_return_error): New function.
1194         (send_dg): Initialize *resplen2 after reopen failure.  Call
1195         close_and_return_error for error returns.  On error paths without
1196         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1197         successful return.
1199 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1201         [BZ# 19860]
1202         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1203         zero if the compiler does not provide the AVX512F bit.
1205 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1207         [BZ #19848]
1208         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1209         from 8 to 4.
1210         (__ieee754_powl): Compare integer exponent against 4 not 8.
1211         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1212         from 8 to 4.
1213         (__ieee754_powl): Compare integer exponent against 4 not 8.
1214         * math/auto-libm-test-in: Add more tests of pow.
1215         * math/auto-libm-test-out: Regenerated.
1216         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1219 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1221         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1222         Make code unconditional.
1223         [!__NR_utimensat]: Remove conditional code.
1224         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1225         Make code unconditional.
1226         [!__NR_utimensat]: Remove conditional code.
1227         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1228         Make code unconditional.
1229         [!__NR_utimensat]: Remove conditional code.
1231 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1233         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1234         Make code unconditional.
1236 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1238         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1239         call-clobbered %eax on retry path.
1240         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1242 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1244         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1245         Don't set %rcx twice before "rep movsb".
1247 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1249         [BZ #19583]
1250         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1251         inline.  Check family before setting family, model and
1252         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1253         bits here.
1254         (init_cpu_features): Replace HAS_CPU_FEATURE and
1255         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1256         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1257         for Intel processors with usable AVX2.  Call get_common_indeces
1258         for other processors with family == NULL.
1259         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1260         (CPU_FEATURES_ARCH_P): Likewise.
1261         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1262         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1264 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1266         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1267         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1268         $(shared-thread-library) instead of hardcoding the path to libpthread.
1270 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1272         * sysdeps/unix/sysv/linux/kernel-features.h
1273         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1274         * sysdeps/unix/sysv/linux/getdents.c
1275         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1276         [!have_no_getdents64_defined]: Likewise.
1277         (__GETDENTS): Remove __have_no_getdents64 conditional.
1279 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1281         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1282         Remove macro.
1283         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1284         <kernel-features.h>.
1285         (signalfd) [__NR_signalfd4]: Make code unconditional.
1286         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1288 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1290         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1291         style.
1293 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1295         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1296         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1297         __pthread_unwind.
1298         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1299         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1300         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1301         (__condvar_cleanup1): Likewise.
1303 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1305         [BZ #19822]
1306         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1307         move it to the final $@ location.
1309 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1311         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1312         access where posix_spawn success and pid argument is null.
1313         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1314         success case.
1316 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1318         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1320         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1322         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1323         and __fcntl.
1324         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
1325         __fcntl only.
1326         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
1327         adding attribute_hidden to __open and __fcntl.
1329         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
1330         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
1331         depend on libc-modules.h,
1332         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
1334 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
1336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
1337         Remove macro.
1338         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
1339         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
1340         entry.
1342         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
1343         Remove macro.
1344         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
1345         include <kernel-features.h>.
1346         [!__ASSUME_FALLOCATE]: Remove conditional code.
1347         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
1349 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1351         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
1352         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
1353         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
1354         (_ZGVdN4v_cos_avx2): Likewise.
1355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
1356         (_ZGVdN4v_cos): Likewise.
1357         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
1358         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
1359         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
1360         (_ZGVdN4v_exp_avx2): Likewise.
1361         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
1362         (_ZGVdN4v_exp): Likewise.
1363         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
1364         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
1365         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
1366         (_ZGVdN4v_log_avx2): Likewise.
1367         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
1368         (_ZGVdN4v_log): Likewise.
1369         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
1370         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
1371         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
1372         (_ZGVdN4vv_pow_avx2): Likewise.
1373         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
1374         (_ZGVdN4vv_pow): Likewise.
1375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
1376         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
1377         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
1378         (_ZGVdN4v_sin_avx2): Likewise.
1379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
1380         (_ZGVdN4v_sin): Likewise.
1381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
1382         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
1383         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
1384         (_ZGVdN4vvv_sincos_avx2): Likewise.
1385         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
1386         (_ZGVdN4vvv_sincos): Likewise.
1387         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
1388         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
1389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
1390         (_ZGVbN4v_cosf_sse4): Likewise.
1391         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
1392         (_ZGVdN8v_cosf_avx2): Likewise.
1393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
1394         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
1395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
1396         (_ZGVbN4v_expf_sse4): Likewise.
1397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
1398         (_ZGVdN8v_expf_avx2): Likewise.
1399         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
1400         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
1401         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
1402         (_ZGVbN4v_logf_sse4): Likewise.
1403         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
1404         (_ZGVdN8v_logf_avx2): Likewise.
1405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
1406         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
1407         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
1408         (_ZGVbN4vv_powf_sse4): Likewise.
1409         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
1410         (_ZGVdN8vv_powf_avx2): Likewise.
1411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1412         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
1413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1414         (_ZGVbN4vvv_sincosf_sse4): Likewise.
1415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1416         (_ZGVdN8vvv_sincosf_avx2): Likewise.
1417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
1418         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
1419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
1420         (_ZGVbN4v_sinf_sse4): Likewise.
1421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
1422         (_ZGVdN8v_sinf_avx2): Likewise.
1423         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1424         Use JUMPTARGET to call callee.
1425         (WRAPPER_IMPL_SSE2_ff): Likewise.
1426         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1427         (WRAPPER_IMPL_AVX): Likewise.
1428         (WRAPPER_IMPL_AVX_ff): Likewise.
1429         (WRAPPER_IMPL_AVX_fFF): Likewise.
1430         (WRAPPER_IMPL_AVX512): Likewise.
1431         (WRAPPER_IMPL_AVX512_ff): Likewise.
1432         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
1433         Likewise.
1434         (WRAPPER_IMPL_SSE2_ff): Likewise.
1435         (WRAPPER_IMPL_SSE2_fFF): Likewise.
1436         (WRAPPER_IMPL_AVX): Likewise.
1437         (WRAPPER_IMPL_AVX_ff): Likewise.
1438         (WRAPPER_IMPL_AVX_fFF): Likewise.
1439         (WRAPPER_IMPL_AVX512): Likewise.
1440         (WRAPPER_IMPL_AVX512_ff): Likewise.
1441         (WRAPPER_IMPL_AVX512_fFF): Likewise.
1443 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1445         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
1446         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
1447         qualifier.
1448         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
1449         internal_function qualifiers.
1451 2016-03-15  Carlos O'Donell <carlos@redhat.com>
1453         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
1454         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
1455         * math/atest-exp.c (exp_mpn): Mark chk unused.
1456         * math/atest-exp2.c (exp_mpn): Likwise.
1457         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
1458         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
1460 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
1462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
1463         Remove macro.
1464         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
1465         <kernel-features.h>.
1466         [__NR_ppoll]: Make code unconditional.
1467         [!__ASSUME_PPOLL]: Remove conditional code.
1469         * sysdeps/unix/sysv/linux/kernel-features.h
1470         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
1471         (__ASSUME_ACCEPT4): Likewise.
1472         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1473         Define.
1474         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
1475         Likewise.
1476         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1477         Likewise.
1478         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
1479         Likewise.
1480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
1481         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
1482         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1483         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1484         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1485         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1486         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1488         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1489         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1490         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1491         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1494         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1495         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1496         Likewise.
1497         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1498         Likewise.
1499         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1500         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1501         0x040300].
1502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1503         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1504         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1505         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1506         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1507         0x030300].
1508         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
1509         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1510         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1511         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1512         0x040300].
1513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1516         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1518         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1519         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
1520         0x030300].
1521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1522         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1523         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1524         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1525         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1526         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1528         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1529         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1530         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
1531         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
1532         0x040300].
1533         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1534         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1535         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1536         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1537         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1538         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1539         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1541         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1542         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1545         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1546         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1547         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
1548         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1549         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1550         Likewise.
1551         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1552         Likewise.
1554 2016-03-15  Andreas Schwab  <schwab@suse.de>
1556         [BZ #19257]
1557         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
1558         statp->_u._ext.nscount as loop count.
1560 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1562         * math/test-signgam-finite-c99.c: Also #undef
1563         __LIBC_INTERNAL_MATH_INLINES.
1564         * math/test-signgam-main.c: Likewise.
1566 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
1568         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
1569         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
1570         (MADV_FREE): Likewise.
1571         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
1572         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
1573         EPOLLEXCLUSIVE.
1575 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
1577         * timezone/README: Remove mention of checktab.awk. Mention wiki
1578         SharedSourceFiles.
1580 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
1582         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
1583         WUNTRACED.
1585 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1587         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
1588         order to match the type of p when calling atomic_exchange_acq().
1590 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1592         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
1593         cfi_offset calls.
1594         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
1595         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
1596         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
1597         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
1598         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
1600 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
1602         * timezone/checktab.awk: Removed.
1604 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
1606         * manual/math.texi (Errors in Math Functions): Document relaxed
1607         accuracy goals for IBM long double.
1608         * math/libm-test.inc (test_exceptions): Always allow spurious
1609         "underflow" and "inexact" exceptions for IBM long double.
1611 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
1613         [BZ #19762]
1614         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1615         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
1616         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
1617         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
1618         (bit_arch_*): This for feature array.
1619         (bit_*): Renamed to ...
1620         (bit_cpu_*): This for cpu array.
1621         (index_*): Renamed to ...
1622         (index_arch_*): This for feature array.
1623         (index_*): Renamed to ...
1624         (index_cpu_*): This for cpu array.
1625         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
1626         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
1627         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
1628         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
1629         bit_##name with index_cpu_##name and bit_cpu_##name.
1630         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
1631         bit_##name with index_arch_##name and bit_arch_##name.
1633 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
1635         [BZ #19792]
1636         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1637         Terminate FDE before return label.
1639 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
1641         [BZ #19790]
1642         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
1643         (rintl): Define as macro.
1644         [USE_AS_NEARBYINTL] (__rintl): Likewise.
1645         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
1646         of fesetround.  Ensure results are evaluated before end of scope.
1647         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
1648         USE_AS_NEARBYINTL and include s_rintl.c.
1649         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
1650         Disable exception traps in new environment.
1651         (libc_feholdsetround_ppc_ctx): Likewise.
1653 2016-03-08  Roland McGrath  <roland@hack.frob.com>
1655         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
1656         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
1657         (tst_audit10_aux) [__AVX512F__]: ... here.
1659 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
1661         * include/sys/auxv.h: New file.
1663 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1665         [BZ #19759]
1666         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
1668 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1670         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
1671         operand modifier.
1672         (feclearexcept): Likewise.
1674 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1676         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
1677         to reflect the entire 32-bit HWCAP.
1678         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
1679         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
1681 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1683         [BZ #19783]
1684         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
1685         $(test-via-rtld-prefix).
1686         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
1688 2016-03-08  Florian Weimer  <fweimer@redhat.com>
1690         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
1691         union wait.  Report any non-zero exit status as error.
1693 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1695         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
1696         configured with --enable-hardcoded-path-in-tests.
1698 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
1700         [BZ #19677]
1701         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1702         (__ieee754_remainderl): Put zero low parts in canonical form.
1703         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
1704         file.  Based on
1705         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
1706         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
1707         with wrapper round test-fmodrem-ldbl-128ibm.c.
1708         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
1709         file.
1710         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
1711         Likewise.
1712         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1713         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
1715 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1717         [BZ #19610]
1718         * elf/ldconfig.c (opt_link): Update comment.
1719         (options): Update help string for option -X.
1720         (search_dir): Unlink stale symbolic link only if updating symbolic
1721         links.
1722         * elf/tst-ldconfig-X.sh: New file.
1723         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
1724         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
1726 2016-03-07  Andreas Schwab  <schwab@suse.de>
1728         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
1729         needed arguments.
1731 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
1733         [BZ #15333]
1734         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
1735         to lstat64.
1737 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1739         * libio/filedoalloc.c (isatty): Remove.
1740         (local_isatty): Add comment.  Call __isatty directly.
1741         (_IO_file_doallocate): Update comment.  Assume _LIBC.
1742         * libio/wfiledoalloc.c (isatty): Remove.
1743         (_IO_wfile_doallocate): Update comment.
1745 2016-03-07  Florian Weimer  <fweimer@redhat.com>
1747         [BZ #19269]
1748         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
1749         tst-audit4-aux.o.
1750         (tst-audit10): Depend on tst-audit10-aux.o.
1751         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
1752         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
1753         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
1754         instead of inline AVX code.
1755         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
1756         instead of inline AVX512 code.
1757         * sysdeps/x86_64/tst-audit4-aux.c: New file
1758         * sysdeps/x86_64/tst-audit10-aux.c: New file
1760         [BZ #19648]
1761         * test-skeleton.c (main): Do not set RLIMIT_DATA.
1763 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1765         [BZ #14750]
1766         [BZ #10354]
1767         [BZ #18433]
1768         * include/sched.h (__clone): Add hidden prototype.
1769         (__clone2): Likewise.
1770         * include/unistd.h (__dup): Likewise.
1771         * posix/Makefile (tests): Add tst-spawn2.
1772         * posix/tst-spawn2.c: New file.
1773         * sysdeps/posix/dup.c (__dup): Add hidden definition.
1774         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
1775         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1776         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1777         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1778         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1779         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
1780         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1781         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
1782         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1783         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1785         Likewise.
1786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1787         Likewise.
1788         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1789         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1790         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1791         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1792         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1793         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1794         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1795         * sysdeps/unix/sysv/linux/nptl-signals.h
1796         (____nptl_is_internal_signal): New function.
1797         * sysdeps/unix/sysv/linux/spawni.c: New file.
1799         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
1800         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
1801         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
1802         * posix/tst-execvp2.c (do_test): Likewise.
1803         * posix/tst-execvp3.c (do_test): Likewise.
1804         * posix/tst-execvp4.c (do_test): Likewise.
1805         * posix/tst-execvpe1.c: New file.
1806         * posix/tst-execvpe2.c: Likewise.
1807         * posix/tst-execvpe3.c: Likewise.
1808         * posix/tst-execvpe4.c: Likewise.
1809         * posix/tst-execvpe5.c: Likewise.
1810         * posix/tst-execvpe6.c: Likewise.
1812         [BZ #19534]
1813         * posix/execl.c (execl): Remove dynamic memory allocation.
1814         * posix/execle.c (execle): Likewise.
1815         * posix/execlp.c (execlp): Likewise.
1817 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1819         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
1820         Replace .text with .text.avx512.
1821         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1822         Likewise.
1824 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
1826         * sysdeps/generic/libnsl.abilist: New file.
1827         * sysdeps/generic/libutil.abilist: New file.
1829 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1831         [BZ #19762]
1832         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
1833         HAS_ARCH_FEATURE with Fast_Rep_String.
1834         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
1835         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
1836         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
1837         Likewise.
1838         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
1839         Likewise.
1840         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
1841         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
1842         Likewise.
1843         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
1844         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
1845         Likewise.
1847 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1849         [BZ #19745]
1850         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
1851         with *%rax in call.
1853 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1855         [BZ #19745]
1856         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1857         with *__libc_start_main@GOTPCREL(%rip) in call.
1859 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1861         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1862         inside conditional for nonempty $(CXX).
1864         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1865         nonempty.
1867         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1868         to test for empty $(CXX) rather than $(CXX) of "no".
1870 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1872         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1874 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1875             H.J. Lu  <hongjiu.lu@intel.com>
1877         [BZ #18880]
1878         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1879         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1880         enable __memcpy_ssse3_back.
1882 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1884         [BZ #19758]
1885         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1886         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1888 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1890         [BZ #19490]
1891         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1892         (__fentry__): Likewise.
1894 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1896         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1897         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1899 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1901         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1902         __mcount_internal directly.
1903         (C_LABEL(__fentry__)): Likewise.
1904         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1905         directly.
1907 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1909         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1910         (__start_context): Call __setcontext directly.
1912 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1914         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1915         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1916         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1917         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1919         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1920         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1922         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1923         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1924         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1925         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1926         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1927         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1928         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1929         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1930         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1931         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1932         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1933         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1934         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1935         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1936         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1937         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1938         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1939         Remove conditional code.
1940         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1941         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1942         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1943         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1944         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1945         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1946         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1947         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1948         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1949         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1950         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1951         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1953 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1955         * NEWS (2.23): Fix typo in bug 19048 text.
1957 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1959         [BZ #14259]
1960         * Makeconfig: Rename msgcatdir to localedir.
1961         Rename inst_msgcatdir to inst_localedir.
1962         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1963         * config.make.in: Add localedir.
1964         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1965         (ldd-rewrite): Likewise.
1966         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1967         (install-others): Use inst_localedir.
1968         (CPPFLAGS): Use localedir.
1969         * locale/Makefile (locale-CPPFLAGS): Likewise.
1970         * po/Makefile (mo-installed): Use inst_localedir.
1972         [BZ #19575]
1973         * localedata/charmaps/GB18030: Update comments regarding PAU to
1974         non-PUA mappings.
1976 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1978         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1979         test for header.
1980         * sysdeps/unix/sysv/linux/configure: Regenerated.
1981         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1982         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1983         Remove conditional code.
1984         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1986         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1987         Define to 3.2.0.
1988         (arch_minimum_kernel): Likewise.
1989         * sysdeps/unix/sysv/linux/configure: Regenerated.
1990         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1991         Define to 2.6.32.
1992         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1993         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1994         (arch_minimum_kernel): Define to 2.6.32.
1995         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1996         * README: Document Linux 3.2 requirement.
1997         * manual/install.texi (Linux): Document Linux 3.2 headers
1998         requirement.
1999         * INSTALL: Regenerated.
2001 2016-02-24  Andreas Schwab  <schwab@suse.de>
2003         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2004         if !NO_LONG_DOUBLE.
2006 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2008         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2009         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2011 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2013         [BZ #19512]
2014         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2016 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2018         * posix/tst-dir.c: Include libc-internal.h.
2020 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2022         [BZ #19056]
2023         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2024         * manual/filesys.texi (Reading/Closing Directory): Mention
2025         deprecaion.
2026         * posix/tst-dir.c (main): Disable deprecation warning in test.
2028 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2030         [BZ #19679]
2031         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2032         Renamed to ...
2033         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2034         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2035         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2036         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2037         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2038         * sysdeps/x86_64/dl-trampoline.h
2039         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2040         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2042 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2044         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2046 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2048         * elf/elf.h (R_386_GOT32X): New.
2049         (R_386_NUM): Update.
2050         (R_X86_64_GOTPCRELX: New.
2051         (R_X86_64_REX_GOTPCRELX): New.
2052         (R_X86_64_NUM): Update.
2054 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2056         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2058 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2060         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2061         assign attr->stackaddr to it, and adjust it down when
2062         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2063         [_STACK_GROWS_UP]: Delete assert.
2064         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2065         Implement stack grows up logic.
2066         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2067         stack grows up logic.
2069 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2071         * NEWS: Update with 2.24 template.
2073 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2075         [BZ #19678]
2076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2077         Ensure +0.0 is returned when taking the next value below the least
2078         positive value.
2080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2082         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2083         available.  Do not define NO_THREADS.
2084         * malloc/malloc.c: Do not check NO_THREADS.
2085         * malloc/arena.c: Likewise.
2087 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2089         * malloc/malloc.c (__libc_mallinfo): Update comment.
2090         (struct malloc_par): Remove max_total_mem member, it was always 0.
2091         (int_mallinfo): Store 0 into usmblks (no functional change).
2092         * malloc/hooks.c (struct malloc_state): Document that
2093         max_total_mem is always 0.
2094         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2095         always 0.
2096         * manual/memory.texi (Statistics of Malloc): Likewise.
2098 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2100         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2101         * malloc/arena.c (arena_max): Remove.
2102         (heap_trim, _int_new_arena): Do not update arena_max.
2104 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2106         * resolv/res_init.c (res_ninit): Update comment.
2108 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2110         [BZ #19505]
2111         * posix/spawn_int.h: Add headers and include guard.
2112         (__spawn_valid_fd): New function.
2113         * posix/spawn_faction_addopen.c
2114         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2115         * posix/spawn_faction_addclose.c
2116         (posix_spawn_file_actions_addclose): Likewise.
2117         * posix/spawn_faction_adddup2.c
2118         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2119         second file descriptor.
2120         * posix/spawn_valid_fd.c: New file.
2121         * posix/tst-posix_spawn-fd.c: New file.
2122         * posix/Makefile (routines): Add spawn_valid_fd.
2123         (tests): Add tst-posix_spawn-fd.
2125 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2127         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2128         (do_test): Limit the number of arenas, so that we can use fewer
2129         outer threads.  Limit timeout to 3 seconds, in preparation for a
2130         larger TIMEOUT value.
2132 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2134         [BZ #19674]
2135         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2136         sign in overflowing and underflowing results when overflow or
2137         underflow is detected early.  Include sign in result before rather
2138         than after scaling.
2140         [BZ #19603]
2141         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2142         (__ieee754_remainderl): Adjust sign of integer version of low part
2143         when taking absolute value of high part.
2144         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2145         * math/libm-test.inc (remainder_test_data): Add another test.
2146         (remquo_test_data): Likewise.
2148 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2150         [BZ #19602]
2151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2152         equal high parts and both low parts zero specially.
2153         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2154         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2155         Add test-fmodl-ldbl-128ibm.
2157         [BZ #19595]
2158         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2159         common logic for all cases of shifting subnormal results.  Do not
2160         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2161         exponent to ldbl_insert_mantissa in subnormal case.
2163         [BZ #19594]
2164         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2165         on high and low parts then adjust result and use
2166         ldbl_canonicalize_int if needed.
2168         [BZ #19593]
2169         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2170         on high part and __floor or __ceil on low part then use
2171         ldbl_canonicalize_int if needed.
2173         [BZ #19592]
2174         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2175         high and low parts then use ldbl_canonicalize_int if needed.
2177         [BZ #17899]
2178         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2179         New function.
2180         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2181         on high and low parts then use ldbl_canonicalize_int if needed.
2183 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2185         * configure: Regenerated.
2187         * po/libc.pot: Regenerated.
2189         * po/be.po: Updated translation.
2190         * po/bg.po: Likewise.
2191         * po/ca.po: Likewise.
2192         * po/cs.po: Likewise.
2193         * po/da.po: Likewise.
2194         * po/el.po: Likewise.
2195         * po/eo.po: Likewise.
2196         * po/es.po: Likewise.
2197         * po/fi.po: Likewise.
2198         * po/fr.po: Likewise.
2199         * po/gl.po: Likewise.
2200         * po/hr.po: Likewise.
2201         * po/hu.po: Likewise.
2202         * po/ia.po: Likewise.
2203         * po/id.po: Likewise.
2204         * po/it.po: Likewise.
2205         * po/ja.po: Likewise.
2206         * po/lt.po: Likewise.
2207         * po/nb.po: Likewise.
2208         * po/nl.po: Likewise.
2209         * po/pt_BR.po: Likewise.
2210         * po/rw.po: Likewise.
2211         * po/sk.po: Likewise.
2212         * po/sl.po: Likewise.
2213         * po/sv.po: Likewise.
2214         * po/tr.po: Likewise.
2215         * po/zh_CN.po: Likewise.
2216         * po/zh_TW.po: Likewise.
2218         * version.h (RELEAES): Set to "development".
2219         (VERSION): Set to 2.23.90.
2221         * version.h (RELEASE): Set to "stable".
2222         (VERSION): Set to 2.23.
2223         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2225         * NEWS: Updated fixed bugs.
2227 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2228             Wilco Dijkstra  <wdijkstr@arm.com>
2230         [BZ #19462]
2231         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2232         (_STRING_INLINE_unaligned): This.
2233         * include/string.h: Include <string_private.h>.
2234         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2235         _STRING_INLINE_unaligned.
2236         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2237         (_STRING_INLINE_unaligned): New.
2238         * sysdeps/aarch64/string_private.h: New file.
2239         * sysdeps/generic/string_private.h: Likewise.
2240         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2241         * sysdeps/s390/string_private.h: Likewise.
2242         * sysdeps/x86/string_private.h: Likewise.
2243         * sysdeps/m68k/m680x0/m68020/bits/string.h
2244         (_STRING_ARCH_unaligned): Renamed to ...
2245         (_STRING_INLINE_unaligned): This.
2246         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2247         to ...
2248         (_STRING_INLINE_unaligned): This.
2249         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2250         to ...
2251         (_STRING_INLINE_unaligned): This.
2252         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2253         to ...
2254         (_STRING_INLINE_unaligned): This.
2256 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2257             H.J. Lu  <hongjiu.lu@intel.com>
2259         [BZ #19590]
2260         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2261         relocation.
2263 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2265         [BZ #18665]
2266         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2267         *herrno_p.
2268         (gaih_getanswer): Document functional behviour. Return tryagain
2269         if any result is tryagain.
2270         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2271         when freed.
2272         * resolv/res_send.c: Add copyright text.
2273         (__libc_res_nsend): Document that MAXPACKET is expected.
2274         (send_vc): Document. Remove buffer reuse.
2275         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2276         size of the buffer. Add Dprint for truncated UDP buffer.
2278 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2280         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2281         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2282         * INSTALL: Regenerate.
2284 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2285             Jonathan Wakely  <jwakely@redhat.com>
2286             Carlos O'Donell  <carlos@redhat.com>
2288         [BZ 19439]
2289         * math/Makefile (tests): Add test-math-isinff.
2290         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2291         * math/bits/mathcalls.h [__USE_MISC]: Use
2292         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2293         functions not in C++11 and which don't conflict e.g. isinff,
2294         isinfl etc.
2295         * math/test-math-isinff.cc: New file.
2297 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2299         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2301 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2303         [BZ #19529]
2304         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2306 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2308         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2310 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2312         [BZ #19550]
2313         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2314         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2315         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2316         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2317         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2318         New syscall entry.
2319         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2320         New syscall entry.
2321         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2322         syscall entry.
2324 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
2326         [BZ #18240]
2327         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
2328         unsigned int wraparound.
2330 2016-01-27  Florian Weimer  <fweimer@redhat.com>
2332         [BZ #18240]
2333         * misc/bug18240.c: New test.
2334         * misc/Makefile (tests): Add it.
2336 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
2337             Joseph Myers  <joseph@codesourcery.com>
2339         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
2340         load in branch delay slot when less than a word of input left.
2342 2016-01-27  Andreas Schwab  <schwab@suse.de>
2344         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
2345         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
2346         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
2347         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
2349 2016-01-26  David S. Miller  <davem@davemloft.net>
2351         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
2353 2016-01-25  David S. Miller  <davem@davemloft.net>
2355         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
2356         __sqrtl_finite.
2357         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
2358         instead using versioned_symbol.
2359         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
2360         of entries.
2362         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
2363         __sqrtl_finite to GLIBC_2.23
2365 2016-01-25  Ricchard Henderson  <rth@redhat.com>
2367         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2369 2016-01-25  Andreas Schwab  <schwab@suse.de>
2371         [BZ #17514]
2372         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
2373         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
2374         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
2375         * nptl/tst-mutex-errorcheck.c: New file.
2377 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2379         [BZ #18560]
2380         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
2381         (IPCOP_semop): Likewise.
2382         (IPCOP_semget): Likewise.
2383         (IPCOP_semctl): Likewise.
2384         (IPCOP_msgsnd): Likewise.
2385         (IPCOP_msgrcv): Likewise.
2386         (IPCOP_msgget): Likewise.
2387         (IPCOP_msgctl): Likewise.
2388         (IPCOP_shmat): Likewise.
2389         (IPCOP_shmdt): Likewise.
2390         (IPCOP_shmget): Likewise.
2391         (IPCOP_shmctl): Likewise.
2393 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2395         * string/tst-endian.c: Include <libc-internal.h>.
2396         (do_test): Ignore tautological-compare warnings around
2397         "htobeXX (beXXtoh (i)) != i" and
2398         "htoleXX (leXXtoh (i)) != i" if-statements.
2400 2016-01-24  David S. Miller  <davem@davemloft.net>
2402         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2403         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
2404         alias.
2405         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
2406         __sqrtl_finite.
2408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2410 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
2412         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
2413         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
2414         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2416 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2418         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
2419         (thread_func): Use new function to simplify barrier check.
2420         (do_test): Use new function to simplify checking barrier exit
2421         code, and actually join the child thread.
2423 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2425         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
2426         semicolon.
2427         (__libc_tend): Likewise.
2428         (__libc_tabort): Likewise.
2430 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
2432         * sysdeps/nios2/libm-test-ulps: Update.
2433         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
2434         (__gtsf2): Likewise.
2435         (__unorddf2): Likewise.
2436         (__unordsf2): Likewise.
2437         (__ledf2): Likewise.
2439 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
2441         * nis/nis_table.c (__follow_path): Disable diagnostic for
2442         uninitialized variable that is a false positive for gcc 4.7.
2443         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
2445 2016-01-20  Roland McGrath  <roland@hack.frob.com>
2447         * sysdeps/nacl/lowlevellock-futex.h
2448         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
2449         Always evaluate PRIVATE argument.
2451 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
2453         [BZ #19490]
2454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
2455         (pthread_cond_broadcast): Use ENTRY/END
2456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
2457         (pthread_cond_signal): Likewise.
2458         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
2459         Likewise.
2460         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
2461         Likewise.
2462         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
2463         Likewise.
2465 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
2467         * sysdeps/ieee754/dbl-64/s_finite.c
2468         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
2469         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
2470         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
2471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
2472         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
2474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2475         (__gtsf2): Add as optional for libc.so.
2476         (__unordsf2): Likewise.
2477         (__signbit): Remove for libc.so.
2478         (__signbitl): Likewise.
2480 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2482         * iconvdata/bug-iconv11.c (test_ibm93x):
2483         Use %zu printf format specifier for size_t argument.
2485 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
2487         * math/gen-libm-test.pl (parse_ulps): Do not reduce
2488         already-recorded ulps.
2489         * sysdeps/arm/libm-test-ulps: Regenerated.
2490         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2491         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2492         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2494 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2495             Paul Pluzhnikov  <ppluzhnikov@google.com>
2497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
2498         assembler not supporting AVX-512.
2500 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2502         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2504 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
2506         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2509         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2511         * sysdeps/arm/libm-test-ulps: Regenerated.
2513 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2515         [BZ #19451]
2516         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
2518 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2520         [BZ #19486]
2521         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
2522         * sysdeps/generic/fix-fp-int-convert-overflow.h
2523         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
2524         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
2525         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
2526         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
2527         Likewise.
2528         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
2529         Avoid conversions to long int where inexact exceptions
2530         could be raised.
2531         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
2532         Likewise.
2533         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
2534         Avoid conversions to long long int where inexact exceptions
2535         could be raised.
2536         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
2537         Likewise.
2539 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
2541         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
2542         * configure: Regenerated.
2544 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
2548 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
2550         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
2551         outside of comment.
2553 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2555         * nptl/tst-barrier1.c: Add description on first line.
2556         * nptl/tst-barrier2.c: Likewise.
2557         * nptl/tst-barrier3.c: Likewise.
2558         * nptl/tst-barrier4.c: Likewise.
2559         * nptl/tst-barrier5.c: Likewise.
2561 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2563         [BZ #18868]
2564         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
2566 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
2568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
2569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2570         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
2571         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
2572         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
2573         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
2574         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2575         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2576         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2577         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2578         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2580 2016-01-15  Torvald Riegel  <triegel@redhat.com>
2582         [BZ #13065]
2583         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
2584         new implementation.
2585         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
2586         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
2587         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
2588         (BARRIER_IN_THRESHOLD): New macro.
2589         * nptl/pthread_barrierattr_setpshared.c
2590         (pthread_barrierattr_setpshared): Clean up.
2591         * nptl/tst-barrier4.c: Correct comment.
2592         * nptl/tst-barrier5.c: New file.
2593         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
2594         (gen-as-const-headers): Remove lowlevelbarrier.sym.
2595         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
2596         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
2597         * nptl/lowlevelbarrier.sym: Remove.
2598         * nptl/DESIGN-barrier.txt: Remove.
2599         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
2600         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
2601         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
2602         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
2603         error.
2604         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
2605         implementation.
2607 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2609         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
2610         (do_child): Mask SIGRTMIN while thr is running.
2612 2016-01-15  Martin Sebor  <msebor@redhat.com>
2614         [BZ #19432]
2615         * iconvdata/Makefile: Add bug-iconv11.
2616         * iconvdata/bug-iconv11.c: New test.
2617         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
2618         * iconvdata/ibm933.c: Same.
2619         * iconvdata/ibm935.c: Same.
2620         * iconvdata/ibm937.c: Same.
2621         * iconvdata/ibm939.c: Same.
2623 2016-01-15  Martin Sebor  <msebor@redhat.com>
2625         [BZ #19443]
2626         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
2627         [DEBUG] (_ufc_set_bits): Declare used.
2628         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
2629         [DEBUG] (print_all): Declare used.
2630         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
2631         operands of the ternary ?: expression to target type.
2632         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
2633         calling the undeclared abort.
2634         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
2636 2016-01-15  Martin Sebor  <msebor@redhat.com>
2638         [BZ #18755]
2639         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
2640         warnings.
2641         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
2642         (__gai_create_helper_thread): Same.
2643         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
2644         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
2645         to suppress -Wmaybe-uninitialized warnings.
2647 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2649         [BZ #19465]
2650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
2651         inside if.
2652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2653         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2654         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2656 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2658         [BZ #19466]
2659         * time/tst-mktime2.c (time_t_max): Removed.
2660         (time_t_min): Likewise.
2661         (TYPE_SIGNED): New.
2662         (TYPE_MINIMUM): Likewise.
2663         (TYPE_MAXIMUM): Likewise.
2664         (TIME_T_MIN): Likewise.
2665         (TIME_T_MAX): Likewise.
2666         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
2667         and TIME_T_MIN.
2668         (do_test): Likewise.
2670 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
2672         [BZ #19467]
2673         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2674         index_Fast_Unaligned_Load flag for Excavator family CPUs.
2676 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
2678         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
2680 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
2682         * benchtests/Makefile (PYTHON): Define.
2683         (bench-func): Use $(PYTHON) to run python scripts.
2684         ($(objpfx)bench-%.c): Likewise.
2686 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
2688         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
2689         leading slash when `file_name' is "/".
2691 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
2693         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
2694         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
2695         Likewise.
2696         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
2697         Likewise.
2698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
2699         Likewise.
2700         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
2701         enum constant and macro.
2702         (PTRACE_SETSIGMASK): Likewise.
2703         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2704         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2705         (PTRACE_GETSIGMASK): Likewise.
2706         (PTRACE_SETSIGMASK): Likewise.
2707         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2708         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
2709         Likewise.
2710         (PTRACE_SETSIGMASK): Likewise.
2711         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2713         (PTRACE_GETSIGMASK): Likewise.
2714         (PTRACE_SETSIGMASK): Likewise.
2715         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2716         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
2717         Likewise.
2718         (PTRACE_SETSIGMASK): Likewise.
2719         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2720         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
2721         Likewise.
2722         (PTRACE_SETSIGMASK): Likewise.
2723         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2724         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
2725         Likewise.
2726         (PTRACE_SETSIGMASK): Likewise.
2727         (PTRACE_SECCOMP_GET_FILTER): Likewise.
2729 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
2730             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2732         [BZ #19439]
2733         * math/bits/mathcalls.h
2734         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
2735         prototype.
2736         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
2738 2016-01-11  Andreas Schwab  <schwab@suse.de>
2740         [BZ #19253]
2741         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
2742         cache when TZDEFRULES was used.
2743         * time/tst-tzname.c: New file.
2744         * time/Makefile (test): Add tst-tzname.
2745         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
2746         * timezone/Makefile (test-zones): Add $(posixrules-file).
2747         ($(testdata)/$(posixrules-file)): New rule.
2749 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
2751         Fix doc quoting problems with Texinfo 5
2752         Without this change, in the info file output, Texinfo 5 quotes code
2753         in text with undirected single quotes 'like this' and generates
2754         code examples that with many PDF readers cannot be cut out of PDFs
2755         and pasted into code.
2756         * manual/libc.texinfo: Configure the libc manual like the GNU
2757         Emacs manual, by using @documentencoding and setting
2758         txicodequoteundirected and txicodequotebacktick.  This way,
2759         Texinfo 5 quotes code in text with directed single quotes ‘like
2760         this’ and produces examples that can be cut out of PDFs.  This
2761         change causes Texinfo 5 to generate info files that contain UTF-8
2762         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
2763         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
2765 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2767         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
2768         __libc_tabort, __libc_tend): New wrappers that enforce compiler
2769         barriers to their respective compiler built-ins.
2770         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
2771         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
2772         * sysdeps/powerpc/sysdep.h: Likewise.
2773         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
2774         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
2777 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
2779         * scripts/config.guess: Revert previous shebang change.
2780         * scripts/config.sub: Likewise.
2781         * scripts/mkinstalldirs: Likewise.
2783 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2785         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
2786         PPC_FEATURE2_HAS_IEEE128.
2787         * sysdeps/powerpc/dl-procinfo.c:
2788         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
2790 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
2792         [BZ #19415]
2793         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
2794         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
2795         (_dl_lookup_address): Rewrite using function resolver trampoline.
2796         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
2797         two bits in address.
2799 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2801         * longlong.h: Change !__SHMEDIA__ to
2802         (!defined (__SHMEDIA__) || !__SHMEDIA__).
2803         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
2805 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
2806             Joseph Myers  <joseph@codesourcery.com>
2807             Mark Shinwell  <shinwell@codesourcery.com>
2808             Andrew Stubbs  <ams@codesourcery.com>
2809             Rich Felker <dalias@libc.org>
2811         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
2813 2016-01-07  Richard Henderson  <rth@redhat.com>
2815         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
2817 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
2819         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
2820         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
2821         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2822         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2823         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
2825 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
2826             Joseph Myers  <joseph@codesourcery.com>
2828         * timezone/private.h: Update from tzcode 2015g.
2829         * timezone/tzfile.h: Likewise.
2830         * timezone/tzselect.ksh: Likewise.
2831         * timezone/zdump.c: Likewise.
2832         * timezone/zic.c: Likewise.
2833         * timezone/ialloc.c: Remove file.
2834         * timezone/scheck.c: Likewise.
2835         * timezone/Makefile (extra-objs): Remove variable.
2836         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
2837         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
2838         -Wno-maybe-uninitialized.
2839         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
2840         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
2841         (CFLAGS-ialloc.c): Remove variable.
2842         (CFLAGS-scheck.c): Likewise.
2843         * timezone/README: Update list of files from tzcode.
2845 2016-01-07  Khem Raj  <raj.khem@gmail.com>
2847         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
2848         instead of __fxprintf when _LIBC is undefined.
2850 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2852         * catgets/test-gencat.sh: Remove space after shebang.
2853         * conform/GlibcConform.pm: Likewise.
2854         * conform/check-header-lists.sh: Likewise.
2855         * conform/conformtest.pl: Likewise.
2856         * conform/linknamespace.pl: Likewise.
2857         * conform/list-header-symbols.pl: Likewise.
2858         * debug/catchsegv.sh: Likewise.
2859         * elf/genrtldtbl.awk: Likewise.
2860         * elf/tst-pathopt.sh: Likewise.
2861         * elf/tst-rtld-load-self.sh: Likewise.
2862         * grp/tst_fgetgrent.sh: Likewise.
2863         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2864         * iconvdata/gen-8bit-gap.sh: Likewise.
2865         * iconvdata/gen-8bit.sh: Likewise.
2866         * iconvdata/run-iconv-test.sh: Likewise.
2867         * intl/tst-gettext.sh: Likewise.
2868         * intl/tst-gettext2.sh: Likewise.
2869         * intl/tst-gettext4.sh: Likewise.
2870         * intl/tst-gettext6.sh: Likewise.
2871         * intl/tst-translit.sh: Likewise.
2872         * io/ftwtest-sh: Likewise.
2873         * libio/test-freopen.sh: Likewise.
2874         * locale/gen-translit.pl: Likewise.
2875         * malloc/tst-mtrace.sh: Likewise.
2876         * manual/check-safety.sh: Likewise.
2877         * manual/libc-texinfo.sh: Likewise.
2878         * manual/tsort.awk: Likewise.
2879         * manual/xtract-typefun.awk: Likewise.
2880         * nptl/tst-cancel-wrappers.sh: Likewise.
2881         * nptl/tst-tls6.sh: Likewise.
2882         * posix/globtest.sh: Likewise.
2883         * posix/tst-getconf.sh: Likewise.
2884         * posix/wordexp-tst.sh: Likewise.
2885         * scripts/check-c++-types.sh: Likewise.
2886         * scripts/check-local-headers.sh: Likewise.
2887         * scripts/config.guess: Likewise.
2888         * scripts/config.sub: Likewise.
2889         * scripts/cpp: Likewise.
2890         * scripts/cross-test-ssh.sh: Likewise.
2891         * scripts/documented.sh: Likewise.
2892         * scripts/evaluate-test.sh: Likewise.
2893         * scripts/gen-libc-abis: Likewise.
2894         * scripts/gen-sorted.awk: Likewise.
2895         * scripts/list-fixed-bugs.py: Likewise.
2896         * scripts/merge-test-results.sh: Likewise.
2897         * scripts/mkinstalldirs: Likewise.
2898         * scripts/rellns-sh: Likewise.
2899         * scripts/test-installation.pl: Likewise.
2900         * scripts/update-copyrights: Likewise.
2901         * stdio-common/tst-printf.sh: Likewise.
2902         * stdio-common/tst-unbputc.sh: Likewise.
2903         * stdlib/tst-fmtmsg.sh: Likewise.
2904         * stdlib/tst-setcontext3.sh: Likewise.
2905         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2906         * sysdeps/unix/make-syscalls.sh: Likewise.
2908 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2910         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2911         asm stw with atomic_exchange_rel.  Add explanatory comment.
2912         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2913         Likewise.
2915 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2917         [BZ #19122]
2918         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2919         * sysdeps/generic/dl-unistd.h: New file.
2920         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2922 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2924          [BZ #19122]
2925          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2926          * sysdeps/generic/dl-mman.h: New file.
2927          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2929 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2931         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2932         trailing whitespace removed.
2933         * scripts/config.guess: Update to version 2016-01-01.
2934         * scripts/config.sub: Update to version 2016-01-01.
2935         * scripts/move-if-change: Update from gnulib.
2937 2016-01-04  Anton Blanchard  <anton@samba.org>
2939         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2940         for array indices.
2941         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2943 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2945         * NEWS: Update copyright dates.
2946         * catgets/gencat.c (print_version): Likewise.
2947         * csu/version.c (banner): Likewise.
2948         * debug/catchsegv.sh: Likewise.
2949         * debug/pcprofiledump.c (print_version): Likewise.
2950         * debug/xtrace.sh (do_version): Likewise.
2951         * elf/ldconfig.c (print_version): Likewise.
2952         * elf/ldd.bash.in: Likewise.
2953         * elf/pldd.c (print_version): Likewise.
2954         * elf/sotruss.sh: Likewise.
2955         * elf/sprof.c (print_version): Likewise.
2956         * iconv/iconv_prog.c (print_version): Likewise.
2957         * iconv/iconvconfig.c (print_version): Likewise.
2958         * locale/programs/locale.c (print_version): Likewise.
2959         * locale/programs/localedef.c (print_version): Likewise.
2960         * login/programs/pt_chown.c (print_version): Likewise.
2961         * malloc/memusage.sh (do_version): Likewise.
2962         * malloc/memusagestat.c (print_version): Likewise.
2963         * malloc/mtrace.pl: Likewise.
2964         * manual/libc.texinfo: Likewise.
2965         * nptl/version.c (banner): Likewise.
2966         * nscd/nscd.c (print_version): Likewise.
2967         * nss/getent.c (print_version): Likewise.
2968         * nss/makedb.c (print_version): Likewise.
2969         * posix/getconf.c (main): Likewise.
2970         * scripts/test-installation.pl: Likewise.
2971         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2973         * All files with FSF copyright notices: Update copyright dates
2974         using scripts/update-copyrights.
2975         * intl/plural.c: Regenerated.
2976         * locale/programs/charmap-kw.h: Likewise.
2977         * locale/programs/locfile-kw.h: Likewise.
2979 2016-01-02  Helge Deller  <deller@gmx.de>
2981         [BZ #19285]
2982         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2983         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2984         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2985         (MADV_xxK_PAGES): Remove.
2987 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2989         [BZ #15421]
2990         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2991         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2992         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2993         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2995 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2997         [BZ #19408]
2998         * sysdeps/unix/sysv/linux/personality.c: New file.
2999         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3000         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3001         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3002         (sysdep_routines): Add personality.
3003         (tests): Add tst-personality.
3004         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3006         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3007         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3008         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3009         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3010         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3015         Likewise.
3016         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3017         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3018         Likewise.
3020 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3022         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3023         (PATH_ARM_SYSTYPE): Remove.
3024         (PATH_CPUINFO): Likewise.
3025         (IO_BASE_FOOTBRIDGE): Likewise.
3026         (IO_SHIFT_FOOTBRIDGE): Likewise.
3027         (struct platform): Likewise.
3028         (init_iosys): Remove compatibility code for 2.4 kernels.
3029         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3031 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3033         * malloc/tst-malloc-thread-fail.c: New file.
3034         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3035         (tst-malloc-thread-fail): Link against libpthread.
3037 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3039         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3040         (get_parser): New function.
3041         (main): New function.
3043 2015-12-29  Rob Wu  <rob@robwu.nl>
3045         [BZ #19369]
3046         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3048 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3050         [BZ #19270]
3051         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3053 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3055         [BZ #15421]
3056         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3058 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3060         [BZ #13690]
3061         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3062         after releasing it.
3063         (__lll_robust_unlock): Likewise.
3064         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3065         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3066         (lll_robust_unlock): Likewise.
3067         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3068         Prevent warnings in callers.
3070 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3072         * malloc/arena.c (list_lock): Update comment.
3074 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3076         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3077         __parse_hwcap_and_convert_at_platform to libc.a.
3079 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3081         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3082         platform and feature support for POWER9.
3083         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3084         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3085         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3086         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3087         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3088         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3089         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3090         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3092 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3094         Harmonize generic stdio-lock support with nptl
3096         This fixes build when _IO_funlockfile is a macro, fixes build where
3097         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3098         stack unwind.
3100         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3101         _IO_release_lock ): Use cleanup attribute on new
3102         _IO_acquire_lock_file variable instead of assuming that
3103         _IO_release_lock will be called.
3104         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3105         _IO_acquire_lock_needs_exceptions_enabled.
3106         (_IO_acquire_lock_clear_flags2): New macro.
3108 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3110         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3112 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3114         [BZ #19182]
3115         * malloc/arena.c (list_lock): Document lock ordering requirements.
3116         (free_list_lock): New lock.
3117         (ptmalloc_lock_all): Comment on free_list_lock.
3118         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3119         (detach_arena): Update comment.  free_list_lock is now needed.
3120         (_int_new_arena): Use free_list_lock around detach_arena call.
3121         Acquire arena lock after list_lock.  Add comment, including FIXME
3122         about incorrect synchronization.
3123         (get_free_list): Switch to free_list_lock.
3124         (reused_arena): Acquire free_list_lock around detach_arena call
3125         and attached threads counter update.  Add two FIXMEs about
3126         incorrect synchronization.
3127         (arena_thread_freeres): Switch to free_list_lock.
3128         * malloc/malloc.c (struct malloc_state): Update comments to
3129         mention free_list_lock.
3131 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3133         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3134         Remove functions.
3135         (sloww, sloww1): Accept argument to offset quadrant.
3136         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3137         quadrant.
3138         (__sin, __cos): Consolidate common code into new functions.
3139         (reduce_sincos_1, do_sincos_1): New functions.
3140         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3142         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3143         code to new functions.
3144         (reduce_sincos_2, do_sincos_2): New functions.
3145         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3147         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3148         common code for sincos.
3149         (__cos) [!IN_SINCOS]: Likewise.
3150         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3151         New function.
3152         (__sincos): Use it.
3154 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3156         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3157         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3158         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3160 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3162         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3165         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3166         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3167         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3168         index_Prefer_No_VZEROUPPER): New feature.
3169         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3170         Prefer_No_VZEROUPPER for Knights Landing.
3172 015-12-18  Torvald Riegel  <triegel@redhat.com>
3174         * math/atest-exp2.c (mp_exp_m1): Remove.
3176 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3178         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3179         syscalls.
3180         (__SYSCALL0): New macro.
3181         (__SYSCALL1): Likewise.
3182         (__SYSCALL2): Likewise.
3183         (__SYSCALL3): Likewise.
3184         (__SYSCALL4): Likewise.
3185         (__SYSCALL5): Likewise.
3186         (__SYSCALL6): Likewise.
3187         (__SYSCALL_CONCAT_X): Likewise.
3188         (__SYSCALL_CONCAT): Likewise.
3189         (__SYSCALL_DIST): Likewise.
3190         (__SYSCALL_CALL): Likewise.
3192 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3194         [BZ #19363]
3195         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3197 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3199         [BZ #19375]
3200         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3201         negative subnormals.
3203 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3206         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3207         (INTERNAL_SYSCALL_NCS): Use it.
3208         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3210 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3212         [BZ #19243]
3213         * malloc/arena.c (get_free_list): Remove assert and adjust
3214         reference count handling.  Add comment about reused_arena
3215         interaction.
3216         (reused_arena): Add comments abount get_free_list interaction.
3217         * malloc/tst-malloc-thread-exit.c: New file.
3218         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3219         (tst-malloc-thread-exit): Link against libpthread.
3221 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3223         [BZ #19367]
3224         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3225         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3226         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3227         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3228         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3230 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3232         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3233         Silvermont optimizations for Knights Landing.
3235 2015-12-15  Andreas Schwab  <schwab@suse.de>
3237         [BZ #17197]
3238         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3239         immediately after emitting SI.
3240         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3241         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3242         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3243         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3244         * iconvdata/bug-iconv10.c: New file.
3245         * iconvdata/Makefile (tests): Add bug-iconv10.
3246         ($(objpfx)bug-iconv10.out): New rule.
3248 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3250         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3251         aliasing violation.
3253 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3255         [BZ #18472]
3256         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3257         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3258         conditionals for them.
3259         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3260         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3262         sys/kdaemon.h.
3263         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3264         compat-only syscall, obsoleted in glibc 2.23.
3265         (create_module): Likewise.
3266         (get_kernel_syms): Likewise.
3267         (query_module): Likewise.
3268         (uselib): Likewise.
3269         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3271 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3273         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3274         <linux/version.h>.
3275         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3276         conditional code.
3277         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3278         and ioshift_name initialization.
3280 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3282         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3283         Fix indentation.
3285 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3289 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3291         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3293 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3294             Jakub Wilk  <jwilk@debian.org>
3296         [BZ #19347]
3297         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3298         to change the group of the device to the tty group.
3300 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3302         Split large string section; add truncation advice
3303         * manual/examples/strncat.c: Remove.
3304         This example was misleading, as the code would have undefined
3305         behavior if "hello" was longer than SIZE.  Anyway, the manual
3306         shouldn't encourage strncpy+strncat for this sort of thing.
3307         * manual/string.texi (Copying Strings and Arrays): Split into
3308         three sections Copying Strings and Arrays, Concatenating Strings,
3309         and Truncating Strings, as this section was way too long.  All
3310         cross-referenced changed.  Add advice about string-truncation
3311         functions.  Remove misleading strncat example.
3313 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3315         * manual/nss.texi (NSS Modules Interface): Document
3316         NSS_STATUS_NOTFOUND and SUCCESS.
3318 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3320         [BZ 18568]
3321         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3322         201505L, for Unicode 8.
3324 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
3326         * locale/C-translit.h: Regenerate.
3328 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3330         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
3331         and U+0153.
3333 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
3335         [BZ #19351]
3336         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
3337         expanding log(1+z), compare z rather than its square with epsilon
3338         to determine when to avoid evaluating the expansion.
3340         [BZ #19350]
3341         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3342         Increase overflow threshold.
3344         [BZ #19349]
3345         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
3346         when small.
3348         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3350         New macro.
3351         [__LINUX_KERNEL_VERSION >= 0x040300]
3352         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3354         Likewise.
3355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3356         Likewise.
3357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3358         Likewise.
3359         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3360         Likewise.
3361         [__LINUX_KERNEL_VERSION >= 0x040300]
3362         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3363         [__LINUX_KERNEL_VERSION >= 0x040300]
3364         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3365         [__LINUX_KERNEL_VERSION >= 0x040300]
3366         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3367         [__LINUX_KERNEL_VERSION >= 0x040300]
3368         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3369         [__LINUX_KERNEL_VERSION >= 0x040300]
3370         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3371         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3372         Likewise.
3373         [__LINUX_KERNEL_VERSION >= 0x040300]
3374         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3376         Likewise.
3377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3378         Likewise.
3379         [__LINUX_KERNEL_VERSION >= 0x040300]
3380         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3381         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3382         Likewise.
3383         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3384         Likewise.
3385         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
3387         Likewise.
3388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
3389         Likewise.
3390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
3391         Likewise.
3392         [__LINUX_KERNEL_VERSION >= 0x040300]
3393         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
3395         Likewise.
3396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
3397         Likewise.
3398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
3399         Likewise.
3400         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
3401         Likewise.
3402         [__LINUX_KERNEL_VERSION >= 0x040300]
3403         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
3404         [__LINUX_KERNEL_VERSION >= 0x040300]
3405         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3406         [__LINUX_KERNEL_VERSION >= 0x040300]
3407         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3408         [__LINUX_KERNEL_VERSION >= 0x040300]
3409         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3410         [__LINUX_KERNEL_VERSION >= 0x040300]
3411         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3412         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
3413         Likewise.
3414         [__LINUX_KERNEL_VERSION >= 0x040300]
3415         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
3416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3417         Likewise.
3418         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
3419         Likewise.
3420         [__LINUX_KERNEL_VERSION >= 0x040300]
3421         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
3422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3423         Likewise.
3424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
3425         Likewise.
3426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3427         (__ASSUME_SOCKET_SYSCALL): Likewise.
3428         (__ASSUME_BIND_SYSCALL): Likewise.
3429         (__ASSUME_CONNECT_SYSCALL): Likewise.
3430         (__ASSUME_LISTEN_SYSCALL): Likewise.
3431         (__ASSUME_ACCEPT_SYSCALL): Likewise.
3432         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3433         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3434         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3435         (__ASSUME_SEND_SYSCALL): Likewise.
3436         (__ASSUME_SENDTO_SYSCALL): Likewise.
3437         (__ASSUME_RECV_SYSCALL): Likewise.
3438         (__ASSUME_RECVFROM_SYSCALL): Likewise.
3439         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
3440         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3441         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3442         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3443         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3444         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3445         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
3446         Likewise.
3447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
3448         Likewise.
3449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
3450         Likewise.
3451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
3452         Likewise.
3453         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
3454         Likewise.
3455         [__LINUX_KERNEL_VERSION >= 0x020625]
3456         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
3457         [__LINUX_KERNEL_VERSION >= 0x020625]
3458         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
3459         [__LINUX_KERNEL_VERSION >= 0x020625]
3460         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
3461         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
3462         Likewise.
3463         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
3464         Likewise.
3465         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
3466         Likewise.
3467         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
3468         Likewise.
3469         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
3470         Likewise.
3471         [__LINUX_KERNEL_VERSION >= 0x020625]
3472         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
3473         [__LINUX_KERNEL_VERSION >= 0x020625]
3474         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3475         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
3476         Likewise.
3477         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
3478         Likewise.
3480 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3482         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
3483         record the current if the current ABI and CPU support the FP64
3484         extension.
3485         (has-modd-spreg): Define to record the current if the current ABI and
3486         CPU support 32-bit floating point values in odd FPU registers.
3487         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3488         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
3489         $(has-modd-spreg) equals yes.
3490         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
3491         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
3492         $(has-modd-spreg) equal yes.
3494 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
3496         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
3497         basename.
3499 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
3501         * benchtests/Makefile (bench-math): Move ffs and ffsll...
3502         (bench-string): ... here.
3503         (bench): Add bench-string.
3504         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
3505         to *-benchset to reflect what they are.
3506         (benchset): Adjust.
3508         * benchtests/sincos-inputs: Add inputs from sin-inputs and
3509         cos-inputs.
3511 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
3513         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
3514         __attribute__ ((__simd__)) for vector math function declarations.
3516 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3518         Fix typo in strncat, wcsncat manual entries
3519         * manual/string.texi (Copying and Concatenation): Fix typos in
3520         sample implementations of strncat and wcsncat, by having them use
3521         the old value of the destination length, not the new one.
3523 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
3525         [BZ #16961]
3526         [BZ #16962]
3527         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
3528         string on the stack for strtod.
3529         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
3530         a string on the stack for strtof.
3531         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
3532         constructing a string on the stack for strtold.
3533         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
3534         __strtold_nan to GLIBC_PRIVATE.
3535         * math/test-nan-overflow.c: New file.
3536         * math/test-nan-payload.c: Likewise.
3537         * math/Makefile (tests): Add test-nan-overflow and
3538         test-nan-payload.
3540 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3542         Consistency about byte vs character in string.texi
3543         * manual/string.texi (String and Array Utilities):
3544         Distinguish more carefully among bytes, multibyte characters,
3545         and wide characters.  Use "byte" when talking about C 'char',
3546         to distinguish it more clearly from multibyte characters.
3547         Say "wide character" or "multibyte character" instead of
3548         "character", when a wide or multibyte character is intended.
3549         Similarly for "multibyte string" versus "string".
3550         Define these terms more carefully.
3552 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
3554         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
3555         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
3556         Likewise.
3557         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3558         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
3559         * sysdeps/sh/math_private.h: New file.
3560         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
3561         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
3562         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
3563         long double function name.
3564         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3565         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
3570         Remove __finitel, __isinfl, and __isnanl.
3571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3572         Likewise.
3573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3575         Remove __finitel.
3576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3577         Likewise.
3578         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3580 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
3582         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
3583         installed libmvec_nonshared.a.
3585 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3587         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
3588         (sysdep_routines): Likewise.
3589         (sysdep-rtld-routines): Likewise.
3590         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
3591         [$(subdir) = nptl](tests-static): test-get_hwcap-static
3592         * sysdeps/powerpc/Versions: Added new
3593         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
3594         * sysdeps/powerpc/hwcapinfo.c: New file.
3595         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
3596         and parse hwcap, hwcap2 and platform number information.
3597         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
3598         to store HWCAP+HWCAP2 and platform number.
3599         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
3600         for HWCAP+HWCAP2 and platform number in the TCB.
3601         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
3602         the HWCAP, HWCAP2 and platform number in the TCB.
3603         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
3604         (TLS_INIT_TP): Included calls to add the hwcap and
3605         at_platform values in the TCB in TP initialization.
3606         (TLS_DEFINE_INIT_TP): Likewise.
3607         (THREAD_GET_HWCAP): New macro.
3608         (THREAD_SET_HWCAP): Likewise.
3609         (THREAD_GET_AT_PLATFORM): Likewise.
3610         (THREAD_SET_AT_PLATFORM): Likewise.
3611         * sysdeps/powerpc/powerpc32/dl-machine.h:
3612         (dl_platform_init): New function that calls
3613         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
3614         powerpc32.
3615         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
3616         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
3617         this functionality, static linking case.
3618         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
3619         linking case.
3620         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
3621         __parse_hwcap_and_convert_at_platform for the static linking case.
3622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
3623         Included the new __parse_hwcap_and_convert_at_platform symbol in the
3624         ABI list for GLIBC 2.23.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
3626         Likewise.
3627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
3628         Likewise.
3630 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
3632         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
3633         * configure: Regenerate.
3634         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
3635         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
3637 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
3639         * iconvdata/ibm930.c: Add comment explaining encoding uses.
3640         * iconvdata/ibm933.c: Likewise.
3641         * iconvdata/ibm935.c: Likewise.
3642         * iconvdata/ibm937.c: Likewise.
3643         * iconvdata/ibm939.c: Likewise.
3645 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3647         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
3648         pthread_join.
3649         * nptl/tst-cancel21.c (tf): Likewise.
3651 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
3653         [BZ #19313]
3654         * bits/typesizes.h (__CPU_MASK_TYPE): New.
3655         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3656         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
3657         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
3660         Likewise.
3661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
3662         Likewise.
3663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
3664         Likewise.
3665         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
3666         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
3667         unsigned long int with __CPU_MASK_TYPE.
3669 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3671         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3673 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
3675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
3676         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
3677         t512.x.
3678         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
3680 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
3682         [BZ #19214]
3683         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
3684         argument to return extended model.  Update family and model
3685         with extended family and model when family == 0x0f.
3686         (init_cpu_features): Updated.
3688 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3690         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
3691         signed off_t, so 32bit bigger than 2GiB values are fine actually.
3693         * sysdeps/mach/hurd/mmap64.c: New file.
3695 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
3697         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
3698         rights for its main user thread in NEWTASK.
3700 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
3702         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
3703         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
3705 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
3707         [BZ #14259]
3708         * Makeconfig: Rename localedir to complocaledir.
3709         Rename inst_localedir to inst_complocaledir.
3710         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
3711         * config.make.in: Use complocaledir and libc_cv_complocaledir.
3712         * configure.ac: Use libc_cv_complocaledir.
3713         * configure: Regenerate.
3714         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
3715         -DCOMPLOCALEDIR.
3716         * locale/findlocale.c: Use COMPLOCALEDIR.
3717         * locale/loadarchive.c: Likewise.
3718         * locale/programs/locale.c: Likewise.
3719         * locale/programs/localedef.c: Likewise.
3720         * locale/programs/locarchive.c: Likewise.
3721         * localedata/Makefile: Use inst_complocaledir.
3722         * sysdeps/gnu/configure: Regenerate.
3723         * sysdeps/hppa/configure: Regenerate.
3724         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
3725         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3727         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
3728         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
3729         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
3730         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
3732 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
3734         [BZ #19058]
3735         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
3736         AS_NEEDED.
3737         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
3738         workaround.
3739         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
3740         libmvec-static-only-routines): Added new file.
3741         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
3743 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3745         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
3746         of interrupted RPC instead of restoring it.
3748         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
3749         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
3750         libc_hidden_def.
3751         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
3752         into initialized data instead of common. Define rtld_hidden_data_def.
3753         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
3754         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
3755         libc_hidden_def.
3756         (if_freenameindex): Add libc_hidden_weak.
3757         (if_nameindex): Add libc_hidden_weak.
3758         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
3759         __open64.
3760         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
3761         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
3762         * sysdeps/mach/nanosleep.c: Include <time.h>
3763         (__nanosleep): Rename to __libc_nanosleep.
3764         (__nanosleep): Add weak_alias.
3765         (nanosleep): Update alias.
3767 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
3769         * stdlib/strtod_nan.c: New file.
3770         * stdlib/strtod_nan_double.h: Likewise.
3771         * stdlib/strtod_nan_float.h: Likewise.
3772         * stdlib/strtod_nan_main.c: Likewise.
3773         * stdlib/strtod_nan_narrow.h: Likewise.
3774         * stdlib/strtod_nan_wide.h: Likewise.
3775         * stdlib/strtof_nan.c: Likewise.
3776         * stdlib/strtold_nan.c: Likewise.
3777         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
3778         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
3779         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
3780         * wcsmbs/wcstod_nan.c: Likewise.
3781         * wcsmbs/wcstof_nan.c: Likewise.
3782         * wcsmbs/wcstold_nan.c: Likewise.
3783         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
3784         strtold_nan.
3785         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
3786         wcstof_nan.
3787         * include/stdlib.h (__strtof_nan): Declare and use
3788         libc_hidden_proto.
3789         (__strtod_nan): Likewise.
3790         (__strtold_nan): Likewise.
3791         (__wcstof_nan): Likewise.
3792         (__wcstod_nan): Likewise.
3793         (__wcstold_nan): Likewise.
3794         * include/wchar.h (____wcstoull_l_internal): Declare.
3795         * stdlib/strtod_l.c: Do not include <ieee754.h>.
3796         (____strtoull_l_internal): Remove declaration.
3797         (STRTOF_NAN): Define macro.
3798         (SET_MANTISSA): Remove macro.
3799         (STRTOULL): Likewise.
3800         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
3801         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
3802         (STRTOF_NAN): Define macro.
3803         (SET_MANTISSA): Remove macro.
3804         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
3805         (SET_MANTISSA): Remove macro.
3806         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
3807         macro.
3808         (SET_MANTISSA): Remove macro.
3809         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
3810         macro.
3811         (SET_MANTISSA): Remove macro.
3812         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
3813         (SET_MANTISSA): Remove macro.
3814         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
3815         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
3816         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
3818         [BZ #19266]
3819         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
3820         upper case and lower case letters inside NAN(), not using TOLOWER.
3821         * stdlib/tst-strtod-nan-locale-main.c: New file.
3822         * stdlib/tst-strtod-nan-locale.c: Likewise.
3823         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
3824         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
3825         Depend on $(gen-locales).
3826         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
3827         * wcsmbs/tst-wcstod-nan-locale.c: New file.
3828         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
3829         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
3830         Depend on $(gen-locales).
3831         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
3833 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
3835         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
3837         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
3839         __finitel, __isinfl, and __isnanl.
3840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3841         Likewise.
3842         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
3844         __finitel.
3845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3846         Likewise.
3847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3849 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3851         * malloc/memusage.c (me): Remove redundant getenv call.
3853 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3855         [BZ #19143]
3856         [BZ #19164]
3857         * nptl/check-cpuset.h: Remove.
3858         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3859         Remove CPU set size check.
3860         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3861         Likewise.
3862         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3863         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3864         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3865         (__pthread_setaffinity_new): Remove CPU set size check.
3866         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3867         (__kernel_cpumask_size): Remove.
3868         (__sched_setaffinity_new): Remove CPU set size check.
3869         * manual/threads.texi (Default Thread Attributes): Remove stale
3870         reference to check_cpuset_attr, determine_cpumask_size in comment.
3871         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3872         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3873         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3874         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3875         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3876         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3877         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3878         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3879         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3880         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3881         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3882         skeleton test file.
3883         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3884         tst-affinity-pid.
3886 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3888         * scripts/update-abilist.sh: New file.
3889         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3890         * Makerules (update-all-abi-%, update-all-abi)
3891         (subdir_update-all-abi): New targets.
3892         * elf/Makefile (update-all-abi): New target.
3894 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3896         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3897         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3898         (__libc_lock_define_initialized): Use it.
3899         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3900         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3901         * malloc/malloc.c (main_arena): Likewise.
3902         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3903         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3905 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3907         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3908         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3909         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3910         (PTRACE_O_MASK): Update value.
3911         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3912         New value in enum __ptrace_setoptions.
3913         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3914         (PTRACE_O_MASK): Update value.
3915         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3916         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3917         (PTRACE_O_MASK): Update value.
3918         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3919         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3920         (PTRACE_O_MASK): Update value.
3921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3922         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3923         (PTRACE_O_MASK): Update value.
3924         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3925         New value in enum __ptrace_setoptions.
3926         (PTRACE_O_MASK): Update value.
3927         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3928         New value in enum __ptrace_setoptions.
3929         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3930         (PTRACE_O_MASK): Update value.
3932         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3933         New macro.
3934         (PACKET_AUXDATA): Likewise.
3935         (PACKET_ORIGDEV): Likewise.
3936         (PACKET_VERSION): Likewise.
3937         (PACKET_HDRLEN): Likewise.
3938         (PACKET_RESERVE): Likewise.
3939         (PACKET_TX_RING): Likewise.
3940         (PACKET_LOSS): Likewise.
3941         (PACKET_VNET_HDR): Likewise.
3942         (PACKET_TX_TIMESTAMP): Likewise.
3943         (PACKET_TIMESTAMP): Likewise.
3944         (PACKET_FANOUT): Likewise.
3945         (PACKET_TX_HAS_OFF): Likewise.
3946         (PACKET_QDISC_BYPASS): Likewise.
3947         (PACKET_ROLLOVER_STATS): Likewise.
3948         (PACKET_FANOUT_DATA): Likewise.
3949         (PACKET_MR_UNICAST): Likewise.
3951         [BZ #19242]
3952         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3953         (TOUPPER): Likewise.
3954         * stdlib/tst-strtol-locale-main.c: New file.
3955         * stdlib/tst-strtol-locale.c: Likewise.
3956         * stdlib/Makefile (tests): Add tst-strtol-locale.
3957         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3958         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3959         Depend on $(gen-locales).
3960         * wcsmbs/tst-wcstol-locale.c: New file.
3961         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3962         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3963         tr_TR.ISO-8859-9.
3964         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3965         Depend on $(gen-locales).
3967 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3969         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3970         __glibc_likely instead of __builtin_expect.  After falling back to
3971         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3972         system interface to register the code pages as occupied.
3974 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3976         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3977         [!ARM_MATH_PRIVATE_H].
3978         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3979         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3980         [!HPPA_MATH_PRIVATE_H].
3981         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3982         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3983         to [!I386_MATH_PRIVATE_H].
3984         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3985         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3986         Change guard to [!M68K_MATH_PRIVATE_H].
3987         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3988         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3989         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3990         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3991         macro.
3992         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3993         [!MIPS_MATH_PRIVATE_H].
3994         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3995         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3996         [!NIO2_MATH_PRIVATE_H].
3997         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3998         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3999         [!TILE_MATH_PRIVATE_H].
4000         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4002         [BZ #15421]
4003         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4004         initialize with 0 and define as weak alias of __signgam.
4005         * include/math.h [!_ISOMAC] (__signgam): Declare.
4006         * math/Makefile (libm-calls): Add w_lgamma_compat.
4007         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4008         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4009         test-signgam-ullong-init.
4010         (tests-static): Add test-signgam-uchar-static,
4011         test-signgam-uchar-init-static, test-signgam-uint-static,
4012         test-signgam-uint-init-static, test-signgam-ullong-static and
4013         test-signgam-ullong-init-static.
4014         (CFLAGS-test-signgam-uchar.c): New variable.
4015         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4016         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4017         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4018         (CFLAGS-test-signgam-uint.c): Likewise.
4019         (CFLAGS-test-signgam-uint-init.c): Likewise.
4020         (CFLAGS-test-signgam-uint-static.c): Likewise.
4021         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4022         (CFLAGS-test-signgam-ullong.c): Likewise.
4023         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4024         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4025         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4026         * math/Versions (libm): Add GLIBC_2.23.
4027         * math/lgamma-compat.h: New file.
4028         * math/test-signgam-main.c: Likewise.
4029         * math/test-signgam-uchar-init-static.c: Likewise.
4030         * math/test-signgam-uchar-init.c: Likewise.
4031         * math/test-signgam-uchar-static.c: Likewise.
4032         * math/test-signgam-uchar.c: Likewise.
4033         * math/test-signgam-uint-init-static.c: Likewise.
4034         * math/test-signgam-uint-init.c: Likewise.
4035         * math/test-signgam-uint-static.c: Likewise.
4036         * math/test-signgam-uint.c: Likewise.
4037         * math/test-signgam-ullong-init-static.c: Likewise.
4038         * math/test-signgam-ullong-init.c: Likewise.
4039         * math/test-signgam-ullong-static.c: Likewise.
4040         * math/test-signgam-ullong.c: Likewise.
4041         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4042         wrapper of w_lgamma_main.c.
4043         * math/w_lgamma_compat.c: New file.
4044         * math/w_lgamma_compatf.c: Likewise.
4045         * math/w_lgamma_compatl.c: Likewise.
4046         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4047         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4048         defining compatibility symbols.
4049         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4050         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4051         wrapper of w_lgammaf_main.c.
4052         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4053         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4054         defining compatibility symbols.
4055         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4056         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4057         wrapper of w_lgammal_main.c.
4058         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4059         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4060         defining compatibility symbols.
4061         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4062         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4063         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4064         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4065         <lgamma-compat.h>.
4066         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4067         (__ieee754_gamma): Define as alias.
4068         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4069         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4070         <lgamma-compat.h>.
4071         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4072         (__ieee754_gammaf): Define as alias.
4073         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4074         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4075         <lgamma-compat.h>.
4076         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4077         (__ieee754_gammal): Define as alias.
4078         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4079         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4080         <math/w_lgamma_compat.c>.
4081         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4082         Define as alias of __lgamma_compat and use in defining lgammal.
4083         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4084         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4085         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4086         (USE_AS_COMPAT): New macro.
4087         (LGAMMA_OLD_VER): Undefine and redefine.
4088         (lgammal): Do not define here.
4089         (gammal): Only define here if [GAMMA_ALIAS].
4090         * conform/linknamespace.pl (@whitelist): Remove signgam.
4091         * sysdeps/nacl/libm.abilist: Update.
4092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4105         Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4107         Likewise.
4108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4109         Likewise.
4110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4111         Likewise.
4112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4120         Likewise.
4121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4125 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4127         [BZ #16364]
4128         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4129         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4131 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4133         * sysdeps/s390/fpu/bits/mathinline.h:
4134         Use __asm__ [__volatile__] instead of asm [volatile].
4135         * sysdeps/s390/abort-instr.h: Likewise.
4136         * sysdeps/s390/atomic-machine.h: Likewise.
4137         * sysdeps/s390/bits/string.h: Likewise.
4138         * sysdeps/s390/dl-tls.h: Likewise.
4139         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4140         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4141         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4142         * sysdeps/s390/fpu/fesetround.c: Likewise.
4143         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4144         * sysdeps/s390/fpu/s_fma.c: Likewise.
4145         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4146         * sysdeps/s390/memusage.h: Likewise.
4147         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4148         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4149         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4150         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4151         * sysdeps/s390/nptl/tls.h: Likewise.
4152         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4153         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4154         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4155         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4156         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4157         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4158         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4159         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4160         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4161         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4162         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4163         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4164         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4165         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4166         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4167         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4169         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4170         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4172         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4174         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4176 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4177             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4179         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4180         Add lwarx hint, and use macro for acquire instruction.
4181         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4182         Likewise.
4183         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4184         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4185         update to use new atomic macros.
4187 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4189         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4190         (__lll_trylock_elision): Fix setting of adapt_count.
4191         * sysdeps/unix/sysv/linux/powerpc/htm.h
4192         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4193         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4194         (_ABORT_SYSCALL): Renumber, and clarify definition.
4195         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4197 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4199         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4200         after system headers to prevent MIN/MAX redefinition.  Define
4201         HAVE_ALLOCA to preserve builtin alloca usage.
4203 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4206         static and don't set or restore rounding.
4207         (__cos)[IN_SINCOS]: Likewise.
4208         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4209         (__sincos): Set and restore rounding mode.  Remove check for infinite
4210         or NaN input.
4212         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4214         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4215         as used.
4217 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4219         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4221 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4223         * config.make.in (have-glob-dat-reloc): New.
4224         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4225         target supports GLOB_DAT relocaton. AC_SUBST.
4226         * configure: Regenerated.
4227         * elf/Makefile (tests): Add tst-prelink.
4228         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4229         (tst-prelink-ENV): New.
4230         ($(objpfx)tst-prelink-conflict.out): Likewise.
4231         ($(objpfx)tst-prelink-cmp.out): Likewise.
4232         * sysdeps/x86/tst-prelink.c: Moved to ...
4233         * elf/tst-prelink.c: Here.
4234         * sysdeps/x86/tst-prelink.exp: Moved to ...
4235         * elf/tst-prelink.exp: Here.
4236         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4237         (tst-prelink-ENV): Removed.
4238         ($(objpfx)tst-prelink-conflict.out): Likewise.
4239         ($(objpfx)tst-prelink-cmp.out): Likewise.
4240         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4242 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4244         [BZ #14551]
4245         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4246         (__mpn_construct_long_double): If high part overflows to infinity,
4247         set errno and recompute overflowed result of the correct sign.
4248         * sysdeps/ieee754/ldbl-128ibm/Makefile
4249         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4250         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4251         $(libm).
4252         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4254 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4256         [BZ #15479]
4257         [BZ #19238]
4258         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4259         floating-point state after first operation on input.  Restore full
4260         state rather than just rounding mode.
4261         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4262         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4263         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4265         [BZ #19235]
4266         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4267         add 0.5 to integer arguments.
4268         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4269         Likewise.
4270         (.LC2): New object.
4272 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4274         * scripts/pylintrc (reports): Set to no.
4276 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4278         * elf/dl-load.c (open_verify): Take new argument FD.
4279         Skip __open call if passed FD is not -1.
4280         (_dl_map_object, open_path): Update callers.
4281         * elf/dl-sysdep-open.h: New file.
4282         * elf/dl-load.c: Include it.
4283         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4284         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4285         * sysdeps/nacl/dl-sysdep-open.h: New file.
4286         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4287         from libc to rtld.
4289 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4291         [BZ #19228]
4292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4293         and restore full floating-point state.
4294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4295         Likewise.
4296         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4297         Likewise.
4298         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4299         Likewise.
4300         * math/test-nearbyint-except-2.c: New file.
4301         * math/Makefile (tests): Add test-nearbyint-except-2.
4303 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4305         [BZ #19178]
4306         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4307         (tst-prelink-ENV): New.
4308         ($(objpfx)tst-prelink-conflict.out): Likewise.
4309         ($(objpfx)tst-prelink-cmp.out): Likewise.
4310         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4311         * sysdeps/x86/tst-prelink.c: New file.
4312         * sysdeps/x86/tst-prelink.exp: Likewise.
4314 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4316         * math/auto-libm-test-in: Add another test of pow.
4317         * math/auto-libm-test-out: Regenerated.
4318         * math/libm-test.inc (pow_test_data): Add another test.
4320 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4322         [BZ #19219]
4323         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4324         weak_alias to nearbyintl.
4326 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4328         * sysdeps/aarch64/bits/string.h: New file.
4329         (_STRING_ARCH_unaligned): Define.
4331 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
4333         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
4334         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4335         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4336         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
4337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
4339 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
4341         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
4342         for original name of the DSO.  Add it to the name list of the DSO
4343         if it is actually given.
4344         (_dl_map_object): Keep track of whether an audit module rewrote
4345         the file name.  If yes, pass the original name to
4346         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
4347         debugging is enabled, log the change of the file name.
4348         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
4349         _dl_map_object_from_fd.
4350         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
4351         * elf/tst-audit11.c: New file
4352         * elf/tst-auditmod11.c: New file.
4353         * elf/tst-audit11mod1.c: New file.
4354         * elf/tst-audit11mod2.c: New file.
4355         * elf/tst-audit11mod2.map: New file.
4356         * elf/tst-audit12.c: New file
4357         * elf/tst-auditmod12.c: New file.
4358         * elf/tst-audit12mod1.c: New file.
4359         * elf/tst-audit12mod2.c: New file.
4360         * elf/tst-audit12mod2.map: New file.
4361         * elf/tst-audit12mod3.c: New file.
4363 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4365         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
4366         Don't create weak aliases,
4367         because versioned symbols are created later.
4368         * sysdeps/s390/s390-32/setjmp.S
4369         (setjmp, _setjmp): Remove weak and rename to an unique name
4370         in SHARED case due to existing versioned symbols.
4371         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
4373         (getcontext): Create weak alias only in non SHARED case.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4376 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4378         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
4379         (__ASSUME_*_SYSCALL) Define new macros.
4380         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
4381         Remove socketcall syscalls.
4382         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
4383         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
4384         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
4385         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
4386         * sysdeps/unix/sysv/linux/send.c (__libc_send):
4387         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
4389 2015-11-09  Florian Weimer  <fweimer@redhat.com>
4391         [BZ #12926]
4392         Terminate process on invalid netlink response.
4393         * sysdeps/unix/sysv/linux/netlinkaccess.h
4394         (__netlink_assert_response): Declare.
4395         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
4396         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
4397         (sysdep_routines): Add netlink_assert_response.
4398         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
4399         __netlink_assert_response.
4400         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4401         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4402         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
4403         __netlink_assert_response.
4405 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
4407         [BZ #19178]
4408         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
4409         (RTYPE_CLASS_PLT): Likewise.
4410         (RTYPE_CLASS_COPY): Likewise.
4411         (RTYPE_CLASS_TLS): Likewise.
4412         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
4413         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
4414         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
4415         DL_DEBUG_PRELINK.
4417 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
4419         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
4420         calls with argument -0.5.
4421         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
4423         * configure.ac (libc_cv_z_nodelete): Remove configure test.
4424         (libc_cv_z_nodlopen): Likewise.
4425         (libc_cv_z_initfirst): Likewise.
4426         * configure: Regenerated.
4428 2015-11-06  Florian Weimer  <fweimer@redhat.com>
4430         Simplify abilist format to be line-based.
4431         * scripts/abilist.awk: Collect descriptors in the descs variable.
4432         (emit): Write descs variable and sort it
4433         externally, with sort.
4434         * sysdeps/**/*.abilist: Convert to new format.
4436 2015-11-06  Mark Wielaard  <mjw@redhat.com>
4438         [BZ #11460]
4439         * io/Makefile (routines): Add fts64.
4440         (tests): Add tst-fts and tst-fts-lfs.
4441         (CFLAGS-fts64.c): New.
4442         * io/Versions (GLIBC_2.23): New.
4443         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
4444         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
4445         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
4446         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
4447         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
4448         (FTSENT64): Likewise.
4449         (fts64_children): Likewise.
4450         (fts64_close): Likewise.
4451         (fts64_open): Likewise.
4452         (fts64_read): Likewise.
4453         (fts64_set): Likewise.
4454         * io/fts64.c: New file.
4455         * io/tst-fts.c: New test.
4456         * io/tst-fts-lfs.c: Likewise.
4457         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
4458         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
4459         fts64_set.
4460         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4463         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4464         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4465         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4466         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4467         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4468         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4469         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4470         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4474         Likewise.
4475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4476         Likewise.
4477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4483         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4488         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4489         * sysdeps/wordsize-64/fts.c: New file.
4490         * sysdeps/wordsize-64/fts64.c: Likewise.
4491         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
4492         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
4493         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
4494         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
4496 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4498         * math/libm-test.inc (NON_FINITE): New macro.
4499         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
4500         * math/gen-libm-test.pl (show_exceptions): Add argument
4501         $non_finite.
4502         (parse_args): Update call to show_exceptions.
4503         * math/test-math-finite.h: New file.
4504         * math/test-math-no-finite.h: Likewise.
4505         * math/test-double-finite.c: Likewise.
4506         * math/test-float-finite.c: Likewise.
4507         * math/test-ldouble-finite.c: Likewise.
4508         * math/test-double.c: Include "test-math-no-finite.h".
4509         * math/test-float.c: Include "test-math-no-finite.h".
4510         * math/test-ldouble.c: Include "test-math-no-finite.h".
4511         * math/test-math-inline.h (TEST_FINITE): New macro.
4512         * math/test-math-vector.h (TEST_FINITE): Likewise.
4513         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
4514         (libm-tests): Add test-float-finite and test-double-finite.
4515         ($(objpfx)test-float-finite.o): New dependency on
4516         $(objpfx)libm-test.stmp.
4517         ($(objpfx)test-double-finite.o): Likewise.
4518         ($(objpfx)test-ldouble-finite.o): Likewise.
4519         (libm-test-no-inline-cflags): New variable.
4520         (libm-test-finite-cflags): Likewise.
4521         (CFLAGS-test-float-finite.c): Likewise.
4522         (CFLAGS-test-double-finite.c): Likewise.
4523         (CFLAGS-test-ldouble-finite.c): Likewise.
4524         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
4525         (CFLAGS-test-double.c): Likewise.
4526         (CFLAGS-test-ldouble.c): Likewise.
4528 2015-11-05  Roland McGrath  <roland@hack.frob.com>
4530         * io/fcntl.c (__fcntl): Add ... to prototype.
4531         * misc/ioctl.c (__ioctl): Likewise.
4532         * misc/syscall.c (syscall): Likewise.
4534 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
4536         * scripts/list-fixed-bugs.py: New file.
4538         [BZ #19213]
4539         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
4540         returned for argument 1.
4541         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
4542         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
4543         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
4544         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
4545         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
4546         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
4548         [BZ #19211]
4549         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
4550         __USE_XOPEN], not if [!__USE_ISOC99].
4551         (lgammaf): Likewise.
4552         (lgammal): Likewise.
4553         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
4554         (gammaf): Likewise.
4555         (gammal): Likewise.
4556         * math/test-signgam-finite-c11.c: New file.
4557         * math/test-signgam-finite-c99.c: Likewise.
4558         * math/test-signgam-finite.c: Likewise.
4559         * math/Makefile (tests): Add test-signgam-finite,
4560         test-signgam-finite-c99 and test-signgam-finite-c11.
4561         (CFLAGS-test-signgam-finite.c): New variable.
4562         (CFLAGS-test-signgam-finite-c99.c): Likewise.
4563         (CFLAGS-test-signgam-finite-c11.c): Likewise.
4565         [BZ #19212]
4566         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
4567         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
4568         500].
4569         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
4570         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
4571         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
4572         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
4573         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
4574         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
4575         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
4576         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
4577         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
4578         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
4580         [BZ #19209]
4581         * math/bits/math-finite.h (ldexp): Remove declaration.
4582         (ldexpf): Likewise.
4583         (ldexpl): Likewise.
4585         [BZ #19205]
4586         * math/bits/math-finite.h (acosf): Condition declaration on
4587         [__USE_ISOC99].
4588         (acosl): Likewise.
4589         (acoshf): Likewise.
4590         (acoshl): Likewise.
4591         (asinf): Likewise.
4592         (asinl): Likewise.
4593         (atan2f): Likewise.
4594         (atan2l): Likewise.
4595         (atanhf): Likewise.
4596         (atanhl): Likewise.
4597         (coshf): Likewise.
4598         (coshl): Likewise.
4599         (expf): Likewise.
4600         (expl): Likewise.
4601         (fmodf): Likewise.
4602         (fmodl): Likewise.
4603         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
4604         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
4605         (j0l): Likewise.
4606         (y0f): Likewise.
4607         (y0l): Likewise.
4608         (j1f): Likewise.
4609         (j1l): Likewise.
4610         (y1f): Likewise.
4611         (y1l): Likewise.
4612         (jnf): Likewise.
4613         (jnl): Likewise.
4614         (ynf): Likewise.
4615         (ynl): Likewise.
4616         (lgammaf_r): Condition declaration on [__USE_ISOC99].
4617         (lgammal_r): Likewise.
4618         (__lgamma_r_finite): New declaration.
4619         (__lgammaf_r_finite): Likewise.
4620         (__lgammal_r_finite): Likewise.
4621         (lgamma): Use __lgamma_r_finite.
4622         (lgammaf): Condition definition on [__USE_ISOC99].  Use
4623         __lgammaf_r_finite.
4624         (lgammal): Condition definition on [__USE_ISOC99].  Use
4625         __lgammal_r_finite.
4626         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
4627         __lgamma_r_finite.
4628         (gammaf): Condition definition on [__USE_ISOC99].  Use
4629         __lgammaf_r_finite.
4630         (gammal): Condition definition on [__USE_ISOC99].  Use
4631         __lgammal_r_finite.
4632         (logf): Condition declaration on [__USE_ISOC99].
4633         (logl): Likewise.
4634         (log10f): Likewise.
4635         (log10l): Likewise.
4636         (ldexpf): Likewise.
4637         (ldexpl): Likewise.
4638         (powf): Likewise.
4639         (powl): Likewise.
4640         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
4641         __USE_ISOC99].
4642         (remainderf): Condition declaration on [__USE_ISOC99].
4643         (remainderl): Likewise.
4644         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
4645         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
4646         (scalbl): Likewise.
4647         (sinhf): Condition declaration on [__USE_ISOC99].
4648         (sinhl): Likewise.
4649         (sqrtf): Likewise.
4650         (sqrtl): Likewise.
4652 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4654         * sysdeps/arm/atomic-machine.h
4655         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4656         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4657         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
4658         Remove conditional code.
4659         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
4660         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
4661         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
4662         Change conditional to [__ASSEMBLER__].
4663         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4664         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
4665         [!__ASSEMBLER__].
4666         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
4667         code.
4668         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
4669         conditional macro definitions.
4670         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
4671         (__arch_compare_and_exchange_val_16_acq): Likewise.
4672         (__arch_compare_and_exchange_val_32_acq): Likewise.
4673         (atomic_exchange_and_add): Likewise.
4674         (atomic_add): Likewise.
4675         (atomic_add_negative): Likewise.
4676         (atomic_add_zero): Likewise.
4677         (atomic_bit_set): Likewise.
4678         (atomic_bit_test_set): Likewise.
4679         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
4680         code unconditional.
4681         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4683         * math/test-math-errno.h: New file.
4684         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
4685         empty.
4686         (TEST_ERRNO): New macro.
4687         (TEST_EXCEPTIONS): Likewise.
4688         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
4689         (TEST_EXCEPTIONS): Likewise.
4690         * math/test-math-vector.h (TEST_ERRNO): Likewise.
4691         * math/test-double.c: Include "test-math-errno.h".
4692         * math/test-float.c: Likewise.
4693         * math/test-ldouble.c: Likewise.
4694         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
4695         code unconditional.
4696         (test_exceptions): Only run code if TEST_EXCEPTIONS.
4697         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
4698         unconditional.
4699         (test_errno): Only run code if TEST_ERRNO.
4700         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
4702 2015-11-04  Florian Weimer  <fweimer@redhat.com>
4704         * nptl/tst-once5.cc: Remove attribution.
4706 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
4708         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
4709         sqrt, tan, tanh, y0, y1 and yn.
4710         * math/auto-libm-test-out: Regenerated.
4711         * math/libm-test.inc (scalb_test_data): Add more tests.
4712         (scalbn_test_data): Likewise.
4713         (scalbln_test_data): Likewise.
4714         (signbit_test_data): Likewise.
4715         (sin_test_data): Likewise.
4716         (sincos_test_data): Likewise.
4717         (sinh_test_data): Likewise.
4718         (sqrt_test_data): Likewise.
4719         (tan_test_data): Likewise.
4720         (tanh_test_data): Likewise.
4721         (tgamma_test_data): Likewise.
4722         (y0_test_data): Likewise.
4723         (y1_test_data): Likewise.
4724         (yn_test_data): Likewise.
4725         (significand_test_data): Likewise.
4726         * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 2015-11-03  David Kastrup  <dak@gnu.org>
4730         [BZ #18604]
4731         * assert/assert.h (assert): Don't macro-expand failed assertion
4732         expression in error message.
4733         * malloc/malloc.c (assert): Likewise.
4735 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
4737         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
4738         test.
4739         * configure: Regenerated.
4741 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
4743         * math/libm-test.inc (modf_test_data): Add more tests.
4744         (nearbyint_test_data): Likewise.
4745         (nextafter_test_data): Likewise.
4746         (nexttoward_test_data): Likewise.
4747         (pow_test_data): Likewise.
4748         (remainder_test_data): Likewise.
4749         (remquo_test_data): Likewise.
4750         (rint_test_data): Likewise.
4752         [BZ #19201]
4753         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4754         Check for zero remainder in case of large exponents and ensure
4755         correct sign of result in that case.
4756         * math/libm-test.inc (remainder_test_data): Add more tests.
4758         [BZ #6799]
4759         * math/s_nextafter.c: Include <errno.h>.
4760         (__nextafter): Set errno on overflow and underflow.
4761         * math/s_nexttowardf.c: Include <errno.h>.
4762         (__nexttowardf): Set errno on overflow and underflow.
4763         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
4764         (__nextafterl): Set errno on overflow and underflow.
4765         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
4766         (__nexttoward): Set errno on overflow and underflow.
4767         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
4768         (__nexttowardf): Set errno on overflow and underflow.
4769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
4770         (__nextafterf): Set errno on overflow and underflow.
4771         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
4772         (__nextafterl): Set errno on overflow and underflow.
4773         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
4774         (__nexttoward): Set errno on overflow and underflow.
4775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
4776         (__nexttowardf): Set errno on overflow and underflow.
4777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
4778         (__nextafterl): Set errno on overflow and underflow.
4779         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
4780         (__nexttoward): Set errno on overflow and underflow.
4781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
4782         (__nexttowardf): Set errno on overflow and underflow.
4783         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
4784         (__nexttoward): Set errno on overflow and underflow.
4785         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
4786         (__nexttowardf): Set errno on overflow and underflow.
4787         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
4788         (__nldbl_nexttowardf): Set errno on overflow and underflow.
4789         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
4790         (__nextafterl): Set errno on overflow and underflow.
4791         * math/libm-test.inc (nextafter_test_data): Do not allow errno
4792         setting to be missing on overflow.  Add more tests.
4793         (nexttoward_test_data): Likewise.
4795         * configure.ac (libc_cv_initfini_array): Remove configure test.
4796         * configure: Regenerated.
4798 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
4800         [BZ #19189]
4801         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
4802         non-finite argument handle arguments with negative sign.
4804         * math/libm-test.inc (j0_test_data): Do not test sign of zero
4805         result from infinite argument.
4806         (j1_test_data): Likewise.
4807         (jn_test_data): Likewise.
4808         (y0_test_data): Likewise.
4809         (y1_test_data): Likewise.
4810         (yn_test_data): Likewise.
4812         [BZ #16171]
4813         * math/w_remainder.c (drem): Define as weak alias of __remainder.
4814         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
4815         * math/w_remainderf.c (dremf): Define as weak alias of
4816         __remainderf.
4817         * math/w_remainderl.c (dreml): Define as weak alias of
4818         __remainderl.
4819         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
4820         __remainder.
4821         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
4822         __remainderf.
4823         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
4824         __remainderl.
4825         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
4826         weak alias of remainderl.
4827         * sysdeps/ieee754/ldbl-opt/w_remainder.c
4828         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
4829         alias of __remainder.
4830         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
4831         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
4832         strong alias of __remainderl.
4833         (dreml): Use long_double_symbol.
4834         * math/Makefile (libm-calls): Remove w_drem.
4835         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
4836         (CFLAGS-nldbl-drem.c): Remove variable.
4837         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
4838         * math/w_drem.c: Remove file.
4839         * math/w_dremf.c: Likewise.
4840         * math/w_dreml.c: Likewise.
4841         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
4842         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
4843         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
4845         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
4846         * sysdeps/i386/configure: Regenerated.
4847         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
4848         * sysdeps/x86_64/configure: Regenerated.
4850         * configure.ac (libc_cv_asm_protected_directive): Remove configure
4851         test.
4852         (libc_cv_visibility_attribute): Likewise.
4853         (libc_cv_protected_data): Test unconditionally.
4854         (libc_cv_broken_visibility_attribute): Remove configure test.
4855         (libc_cv_have_sdata_section): Test unconditionally.
4856         * configure: Regenerated.
4858         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4859         * include/scratch_buffer.h: Include <stddef.h> instead of
4860         <libc-internal.h>.
4861         (struct scratch_buffer): Use max_align_t instead of
4862         libc_max_align_t.
4864 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4866         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4867         instead of extend_alloca.  Change control flow to avoid a goto.
4868         Remove assert which is trivially always true.
4870 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4872         [BZ #16068]
4873         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4874         (FE_ALL_EXCEPT_X86): New macro.
4875         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4876         FE_ALL_EXCEPT.  Ensure precision control is included in
4877         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4878         handle "denormal operand exception" and clear FZ and DAZ bits.
4879         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4880         (FE_ALL_EXCEPT_X86): New macro.
4881         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4882         FE_ALL_EXCEPT.  Ensure precision control is included in
4883         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4884         handle "denormal operand exception" and clear FZ and DAZ bits.
4885         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4886         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4887         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4888         test-fenv-x87 and test-fenv-sse-2.
4889         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4891         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4892         * math/test-double.h (BUILD_COMPLEX): New macro.
4893         * math/test-float.h (BUILD_COMPLEX): Likewise.
4894         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4896         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4897         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4898         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4900         instead of DBL_DENORM_MIN in comment.
4901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4902         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4904         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4905         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4906         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4908 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4910         [BZ# 19048]
4911         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4912         attached_threads member.
4913         (main_arena): Initialize attached_threads.
4914         * malloc/arena.c (list_lock): Update comment.
4915         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4916         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4917         (deattach_arena): New function.
4918         (_int_new_arena): Initialize arena reference count and deattach
4919         replaced arena.
4920         (get_free_list, reused_arena): Update reference count and deattach
4921         replaced arena.
4922         (arena_thread_freeres): Update arena reference count and only put
4923         unreferenced arenas on the free list.
4925 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4927         [BZ #19181]
4928         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4929         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4930         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4931         * math/test-fenv-clear-main.c: New file.
4932         * math/test-fenv-clear.c: Likewise.
4933         * math/Makefile (tests): Add test-fenv-clear.
4934         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4935         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4936         test-fenv-clear-sse.
4937         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4939         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4940         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4941         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4943 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4945         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4946         static libc.
4948 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4950         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4951         test.
4952         * sysdeps/i386/configure: Regenerated.
4953         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4954         test.
4955         * sysdeps/x86_64/configure: Regenerated.
4956         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4958         memset-avx2 unconditionally instead of conditionally on
4959         [$(config-cflags-avx2) = yes].
4960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4961         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4962         unconditional.
4963         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4964         * sysdeps/x86_64/multiarch/memset_chk.S
4965         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4966         to [IS_IN (libc) && SHARED].
4968 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4970         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4971         configure test.
4972         * sysdeps/arm/configure: Regenerated.
4973         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4974         Define variable if not already defined.
4976         [BZ #17404]
4977         * sysdeps/mips/atomic-machine.h
4978         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4979         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4980         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4982         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4983         unconditional.
4984         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4985         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4986         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4987         unconditional.
4988         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4989         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4990         unconditional.
4991         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4992         * stdlib/setenv.c
4993         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4994         code unconditional.
4995         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4996         Remove conditional code.
4997         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4998         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4999         unconditional.
5000         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5001         code.
5002         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5003         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5004         unconditional.
5005         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5006         code.
5007         * sysdeps/ieee754/ldbl-128/k_tanl.c
5008         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5009         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5011         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5012         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5013         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5014         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5015         unconditional.
5016         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5017         code.
5018         * sysdeps/ieee754/ldbl-96/k_tanl.c
5019         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5020         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5022         * nptl/tst-initializers1-c11.c: New file.
5023         * nptl/tst-initializers1-gnu11.c: Likewise.
5024         * nptl/Makefile (tests): Add these new tests.
5025         (CFLAGS-tst-initializers1-c11.c): New variable.
5026         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5028         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5029         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5030         instead of -std=gnu99.
5031         * configure.ac (systemtap): Test with -std=gnu11 instead of
5032         -std=gnu99.
5033         * configure: Regenerated.
5034         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5035         in compilation command in comment.
5037         * sysdeps/nptl/configure.ac: Remove file.
5038         * sysdeps/nptl/configure: Remove generated file.
5039         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5040         * configure: Regenerated.
5041         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5042         * config.make.in (have-forced-unwind): Remove variable.
5043         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5044         unconditional.
5045         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5046         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5047         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5048         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5049         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5050         unconditional.
5052 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5054         [BZ #19174]
5055         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5056         .skip_lock_out_of_tbegin_retries.
5057         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5058         (__lll_lock_elision): Likewise, and respect a value of
5059         try_tbegin <= 0.
5061 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5063         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5064         statement.
5066 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5068         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5069         variable.
5070         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5071         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5073         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5074         of -std=c1x -D_ISOC11_SOURCE.
5076         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5077         * configure: Regenerated.
5078         * manual/install.texi (Tools for Compilation): Document
5079         requirement for GCC 4.7 or later.
5080         * INSTALL: Regenerated.
5082 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5084         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5085         on CNT to a conditional jump to 'puntdata'.
5087 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5089         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5090         (libc_cv_gcc_tls_model_attr): Likewise.
5091         * configure: Regenerated.
5093         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5094         * configure: Regenerated.
5095         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5097 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5099         * configure.ac (old_glibc_headers): Remove configure test.
5100         * configure: Regenerated.
5101         * config.make.in (old-glibc-headers): Remove variable.
5102         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5103         (install): Remove dependency on remove-old-headers.
5104         (headers2_0): Remove variable.
5105         (remove-old-headers): Remove rule.
5107         * configure.ac (libc_cv_dot_text): Remove configure test.
5108         (libc_cv_asm_set_directive): Use .text instead of
5109         ${libc_cv_dot_text} in configure test.
5110         * configure: Regenerated.
5112 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5114         [BZ #19168]
5115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5117 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5119         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5120         not support static linking.
5121         * configure: Regenerate.
5123 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5125         * math/libm-test.inc (check_float_internal): Do not special-case
5126         errors up to 0.5 ulp.
5128         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5129         log2.
5130         * math/auto-libm-test-out: Regenerated.
5131         * math/libm-test.inc (MAX_EXP): New macro.
5132         (ilogb_test_data): Add more tests.
5133         (isfinite_test_data): Likewise.
5134         (isgreater_test_data): Likewise.
5135         (isgreaterequal_test_data): Likewise.
5136         (isinf_test_data): Likewise.
5137         (isless_test_data): Likewise.
5138         (islessequal_test_data): Likewise.
5139         (islessgreater_test_data): Likewise.
5140         (isnan_test_data): Likewise.
5141         (isnormal_test_data): Likewise.
5142         (issignaling_test_data): Likewise.
5143         (isunordered_test_data): Likewise.
5144         (j0_test_data): Likewise.
5145         (j1_test_data): Likewise.
5146         (jn_test_data): Likewise.
5147         (lgamma_test_data): Likewise.
5148         (log_test_data): Likewise.
5149         (log10_test_data): Likewise.
5150         (log1p_test_data): Likewise.
5151         (log2_test_data): Likewise.
5152         (logb_test_data): Likewise.
5153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5155         [BZ #18611]
5156         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5157         avoid excess range and precision on underflow.
5158         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5159         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5161         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5162         underflow.
5163         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5164         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5165         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5166         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5167         * math/auto-libm-test-in: Do not allow missing errno setting for
5168         tests of j1 and jn.
5169         * math/auto-libm-test-out: Regenerated.
5171 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5173         [BZ #15491]
5174         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5175         floating-point environment instead of clearing all exceptions.
5176         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5177         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5178         merging in "invalid" exceptions from frndint.
5179         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5180         * math/test-nearbyint-except.c: New file.
5181         * math/Makefile (tests): Add test-nearbyint-except.
5183 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5185         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5187         * sysdeps/tile/libm-test-ulps: Regenerated.
5189 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5192         (__NR_sync_file_range2): Assume it is always defined.
5193         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5194         (__NR_sync_file_range): Assume it is always defined.
5196 2015-10-22  Andreas Schwab  <schwab@suse.de>
5198         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5199         INTERNAL_SYSCALL_ERRNO.
5200         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5201         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5202         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5203         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5204         Likewise.
5205         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5207 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5209         * io/tst-fcntl.c (fd): New static variable.
5210         (do_prepare): Open temporary file here....
5211         (do_test): ...not here.
5213         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5215 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5217         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5218         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5219         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5220         Moved before "#ifdef __ASSEMBLER__".
5222 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #19156]
5225         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5226         arguments very close to 0.
5228 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5230         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5231         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5233 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5235         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5236         New.  Defined for GCC 5 and above when not compiling for
5237         profiling.
5238         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5240         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5241         Renamed to ...
5242         (CFLAGS-epoll_pwait.o): This.
5243         (CFLAGS-mmap.c): Renamed to ...
5244         (CFLAGS-mmap.o): This.
5245         (CFLAGS-mmap64.c): Renamed to ...
5246         (CFLAGS-mmap64.o): This.
5247         (CFLAGS-epoll_pwait.os): New.
5248         (CFLAGS-mmap.os): Likewise.
5249         (CFLAGS-mmap64.os): Likewise.
5250         (CFLAGS-semtimedop.os): Likewise.
5251         (CFLAGS-semtimedop.c): Renamed to ...
5252         (CFLAGS-semtimedop.o): This.
5254 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5256         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5257         warning message.
5259 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5261         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5262         * Makefile ($(objpfx)c++-types-check.out): Filter out
5263         $(+gccwarn-c) instead of -Wstrict-prototypes.
5265         * io/fts.c (fts_open): Convert to prototype-style function
5266         definition.
5267         * malloc/mcheck.c (mcheck): Likewise.
5268         (mcheck_pedantic): Likewise.
5269         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5270         internal_function.
5271         (re_search_internal): Likewise.
5272         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5273         prototype-style function definition.
5274         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5275         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5276         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5277         (xdr_utmpptr): Likewise.
5278         (xdr_utmparr): Likewise.
5279         (xdr_utmpidle): Likewise.
5280         (xdr_utmpidleptr): Likewise.
5281         (xdr_utmpidlearr): Likewise.
5283         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5284         log, log10 and log2.
5285         * math/auto-libm-test-out: Regenerated.
5286         * math/libm-test.inc (fmod_test_data): Add more tests.
5287         (fpclassify_test_data): Likewise.
5288         (frexp_test_data): Likewise.
5289         (hypot_test_data): Likewise.
5290         (ilogb_test_data): Likewise.
5292 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5294         * debug/fortify_fail.c (__fortify_fail): Convert to
5295         prototype-style function definition.  Use internal_function.
5296         * libio/genops.c (save_for_backup): Convert to prototype-style
5297         function definition.
5298         * libio/wgenops.c (save_for_wbackup): Likewise.
5299         * login/grantpt.c (grantpt): Likewise.
5300         * login/ptsname.c (ptsname): Likewise.
5301         (__ptsname_r): Likewise.
5302         * login/unlockpt.c (unlockpt): Likewise.
5303         * mach/msgserver.c (__mach_msg_server): Likewise.
5304         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5305         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5306         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5307         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5308         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5309         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5310         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5311         Likewise.
5312         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5313         internal_function.
5314         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5315         prototype-style function definition.
5316         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5317         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5318         (__pthread_create_2_0): Likewise.
5319         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5320         * nptl/register-atfork.c (__register_atfork): Likewise.
5321         * posix/glob.c (glob): Likewise.
5322         * posix/regcomp.c (re_comp): Likewise.
5323         * posix/regexec.c (re_exec): Likewise.
5324         * stdlib/add_n.c [__STDC__]: Make code unconditional.
5325         [!__STDC__]: Remove conditional code.
5326         * stdlib/cmp.c [__STDC__]: Make code unconditional.
5327         [!__STDC__]: Remove conditional code.
5328         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
5329         [!__STDC__]: Remove conditional code.
5330         * stdlib/divrem.c [__STDC__]: Make code unconditional.
5331         [!__STDC__]: Remove conditional code.
5332         * stdlib/lshift.c [__STDC__]: Make code unconditional.
5333         [!__STDC__]: Remove conditional code.
5334         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
5335         [!__STDC__]: Remove conditional code.
5336         * stdlib/mul.c [__STDC__]: Make code unconditional.
5337         [!__STDC__]: Remove conditional code.
5338         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
5339         [!__STDC__]: Remove conditional code.
5340         * stdlib/rshift.c [__STDC__]: Make code unconditional.
5341         [!__STDC__]: Remove conditional code.
5342         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
5343         function definition.
5344         (STRTOF): Likewise.
5345         * stdlib/strtod_l.c (__STRTOF): Likewise.
5346         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
5347         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
5348         (__strtol_l): Likewise.
5349         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
5350         [!__STDC__]: Remove conditional code.
5351         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
5352         definition.
5353         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5354         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5355         type.
5356         (__strcasecmp): Convert to prototype-style function definition.
5357         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
5358         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5359         type.
5360         (__strncasecmp): Convert to prototype-style function definition.
5361         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
5362         * sunrpc/xdr.c (xdr_union): Likewise.
5363         * sunrpc/xdr_array.c (xdr_array): Likewise.
5364         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
5365         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
5366         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
5367         Likewise.
5368         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
5369         Likewise.
5370         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
5371         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5372         Likewise.
5373         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
5374         (LOCALE_PARAM_PROTO): Likewise.
5375         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
5376         argument type.
5377         (ut_argument_spec): Remove macro.
5378         (ut_argument_spec_iso): Rename to ut_argument_spec.
5379         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
5380         prototype-style function definition.
5381         (memcpy_uppcase): Likewise.
5382         (__strftime_internal): Likewise.
5383         (my_strftime): Likewise.
5384         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
5385         (LOCALE_PARAM_DECL): Likewise.
5386         [_LIBC] (LOCALE_PARAM): Include argument type.
5387         (__strptime_internal): Convert to prototype-style function
5388         definition.
5389         (strptime): Likewise.
5390         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
5391         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5392         type.
5393         (__wcscasecmp): Convert to prototype-style function definition.
5394         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
5395         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
5396         type.
5397         (__wcsncasecmp): Convert to prototype-style function definition.
5399         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
5400         function definition.
5401         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5402         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5403         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
5404         * elf/dl-minimal.c (_itoa): Likewise.
5405         * hurd/hurdmalloc.c (malloc): Likewise.
5406         (free): Likewise.
5407         (realloc): Likewise.
5408         * inet/inet6_option.c (inet6_option_space): Likewise.
5409         (inet6_option_init): Likewise.
5410         (inet6_option_append): Likewise.
5411         (inet6_option_alloc): Likewise.
5412         (inet6_option_next): Likewise.
5413         (inet6_option_find): Likewise.
5414         * io/ftw.c (FTW_NAME): Likewise.
5415         (NFTW_NAME): Likewise.
5416         (NFTW_NEW_NAME): Likewise.
5417         (NFTW_OLD_NAME): Likewise.
5418         * libio/iofwide.c (_IO_fwide): Likewise.
5419         * libio/strops.c (_IO_str_init_static_internal): Likewise.
5420         (_IO_str_init_static): Likewise.
5421         (_IO_str_init_readonly): Likewise.
5422         (_IO_str_overflow): Likewise.
5423         (_IO_str_underflow): Likewise.
5424         (_IO_str_count): Likewise.
5425         (_IO_str_seekoff): Likewise.
5426         (_IO_str_pbackfail): Likewise.
5427         (_IO_str_finish): Likewise.
5428         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
5429         (_IO_wstr_overflow): Likewise.
5430         (_IO_wstr_underflow): Likewise.
5431         (_IO_wstr_count): Likewise.
5432         (_IO_wstr_seekoff): Likewise.
5433         (_IO_wstr_pbackfail): Likewise.
5434         (_IO_wstr_finish): Likewise.
5435         * locale/programs/localedef.c (normalize_codeset): Likewise.
5436         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5437         (add_locales_to_archive): Likewise.
5438         (delete_locales_from_archive): Likewise.
5439         * malloc/malloc.c (__libc_mallinfo): Likewise.
5440         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
5441         * misc/tsearch.c (__tfind): Likewise.
5442         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
5443         * nptl/pthread_attr_getdetachstate.c
5444         (__pthread_attr_getdetachstate): Likewise.
5445         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
5446         Likewise.
5447         * nptl/pthread_attr_getinheritsched.c
5448         (__pthread_attr_getinheritsched): Likewise.
5449         * nptl/pthread_attr_getschedparam.c
5450         (__pthread_attr_getschedparam): Likewise.
5451         * nptl/pthread_attr_getschedpolicy.c
5452         (__pthread_attr_getschedpolicy): Likewise.
5453         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
5454         Likewise.
5455         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
5456         Likewise.
5457         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
5458         Likewise.
5459         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
5460         Likewise.
5461         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
5462         (__pthread_attr_init_2_0): Likewise.
5463         * nptl/pthread_attr_setdetachstate.c
5464         (__pthread_attr_setdetachstate): Likewise.
5465         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
5466         Likewise.
5467         * nptl/pthread_attr_setinheritsched.c
5468         (__pthread_attr_setinheritsched): Likewise.
5469         * nptl/pthread_attr_setschedparam.c
5470         (__pthread_attr_setschedparam): Likewise.
5471         * nptl/pthread_attr_setschedpolicy.c
5472         (__pthread_attr_setschedpolicy): Likewise.
5473         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
5474         Likewise.
5475         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
5476         Likewise.
5477         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
5478         Likewise.
5479         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
5480         Likewise.
5481         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
5482         Likewise.
5483         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
5484         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
5485         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
5486         use internal_function.
5487         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
5488         prototype-style function definition.
5489         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
5490         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
5491         internal_function.
5492         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
5493         Convert to prototype-style function definition.
5494         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5495         Likewise.
5496         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5497         Likewise.
5498         (__pthread_mutex_unlock): Likewise.
5499         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
5500         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
5501         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
5502         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
5503         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
5504         * nss/makedb.c (process_input): Likewise.
5505         * posix/fnmatch.c (__strchrnul): Likewise.
5506         (__wcschrnul): Likewise.
5507         (fnmatch): Likewise.
5508         * posix/fnmatch_loop.c (FCT): Likewise.
5509         * posix/glob.c (globfree): Likewise.
5510         (__glob_pattern_type): Likewise.
5511         (__glob_pattern_p): Likewise.
5512         * posix/regcomp.c (re_compile_pattern): Likewise.
5513         (re_set_syntax): Likewise.
5514         (re_compile_fastmap): Likewise.
5515         (regcomp): Likewise.
5516         (regerror): Likewise.
5517         (regfree): Likewise.
5518         * posix/regexec.c (regexec): Likewise.
5519         (re_match): Likewise.
5520         (re_search): Likewise.
5521         (re_match_2): Likewise.
5522         (re_search_2): Likewise.
5523         (re_search_stub): Likewise.  Use internal_function
5524         (re_copy_regs): Likewise.
5525         (re_set_registers): Convert to prototype-style function
5526         definition.
5527         (prune_impossible_nodes): Likewise.  Use internal_function.
5528         * resolv/inet_net_pton.c (inet_net_pton): Convert to
5529         prototype-style function definition.
5530         (inet_net_pton_ipv4): Likewise.
5531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5532         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
5533         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
5534         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
5535         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5536         Make variadic.
5537         * time/strptime_l.c (localtime_r): Convert to prototype-style
5538         function definition.
5539         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5540         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5541         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5542         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5544         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
5545         definition.
5546         (_ufc_doit_r): Likewise.
5547         * crypt/crypt_util.c (_ufc_copymem): Likewise.
5548         (_ufc_output_conversion_r): Likewise.
5549         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
5550         * inet/rcmd.c (rcmd_af): Likewise.
5551         (rcmd): Likewise.
5552         (ruserok_af): Likewise.
5553         (ruserok): Likewise.
5554         (ruserok2_sa): Likewise.
5555         (ruserok_sa): Likewise.
5556         (iruserok_af): Likewise.
5557         (iruserok): Likewise.
5558         (__ivaliduser): Likewise.
5559         (__validuser2_sa): Likewise.
5560         * inet/rexec.c (rexec_af): Likewise.
5561         (rexec): Likewise.
5562         * inet/ruserpass.c (ruserpass): Likewise.
5563         * locale/programs/xmalloc.c (xcalloc): Likewise.
5564         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
5565         * math/w_drem.c (__drem): Likewise.
5566         * math/w_dremf.c (__dremf): Likewise.
5567         * math/w_dreml.c (__dreml): Likewise.
5568         * misc/daemon.c (daemon): Likewise.
5569         * resolv/res_debug.c (p_fqnname): Likewise.
5570         * stdlib/div.c (div): Likewise.
5571         * string/memcmp.c (memcmp_bytes): Likewise.
5572         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
5573         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
5575         * crypt/cert.c (main): Convert to prototype-style function
5576         definition.
5577         * io/pipe.c (__pipe): Likewise.
5578         * io/pipe2.c (__pipe2): Likewise.
5579         * misc/futimesat.c (futimesat): Likewise.
5580         * misc/utimes.c (__utimes): Likewise.
5581         * posix/execve.c (__execve): Likewise.
5582         * posix/execvp.c (execvp): Likewise.
5583         * posix/execvpe.c (__execvpe): Likewise.
5584         * posix/fexecve.c (fexecve): Likewise.
5585         * socket/socketpair.c (socketpair): Likewise.
5586         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5587         * stdlib/erand48.c (erand48): Likewise.
5588         * stdlib/erand48_r.c (__erand48_r): Likewise.
5589         * stdlib/jrand48.c (jrand48): Likewise.
5590         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
5591         * stdlib/lcong48.c (lcong48): Likewise.
5592         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
5593         * stdlib/nrand48.c (nrand48): Likewise.
5594         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
5595         * stdlib/seed48.c (seed48): Likewise.
5596         * stdlib/seed48_r.c (__seed48_r): Likewise.
5597         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
5598         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
5599         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
5601 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5603         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
5604         * configure: Regenerated.
5605         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
5606         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
5607         unconditional.
5608         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5609         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5610         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5611         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
5612         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
5613         unconditional.
5614         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
5616         * posix/Makefile (CFLAGS-regex.c): Remove variable.
5617         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
5619         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
5620         function definition.
5621         * crypt/crypt_util.c (__encrypt_r): Likewise.
5622         * libio/genops.c (_IO_no_init): Likewise.
5623         * libio/iofopncook.c (_IO_fopencookie): Likewise.
5624         (_IO_old_fopencookie): Likewise.
5625         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5626         * libio/iogetline.c (_IO_getline): Likewise.
5627         (_IO_getline_info): Likewise.
5628         * libio/iogetwline.c (_IO_getwline): Likewise.
5629         (_IO_getwline_info): Likewise.
5630         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
5631         * libio/vswprintf.c (_IO_vswprintf): Likewise.
5632         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
5633         (find_entry): Likewise.
5634         (iterate_table): Likewise.
5635         (lookup): Likewise.
5636         * login/forkpty.c (forkpty): Likewise.
5637         * misc/hsearch_r.c (__hsearch_r): Likewise.
5638         * misc/select.c (__select): Likewise.
5639         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
5640         Likewise.
5641         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
5642         Likewise.
5643         * nptl/old_pthread_cond_timedwait.c
5644         (__pthread_cond_timedwait_2_0): Likewise.
5645         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
5646         * nptl/pthread_barrierattr_getpshared.c
5647         (pthread_barrierattr_getpshared): Likewise.
5648         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
5649         Likewise.
5650         * nptl/pthread_mutex_setprioceiling.c
5651         (pthread_mutex_setprioceiling): Likewise.
5652         * nptl/pthread_mutexattr_getprioceiling.c
5653         (pthread_mutexattr_getprioceiling): Likewise.
5654         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
5655         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5656         Likewise.
5657         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5658         Likewise.
5659         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
5660         Likewise.
5661         * socket/recvfrom.c (__recvfrom): Likewise.
5662         * socket/sendto.c (__sendto): Likewise.
5663         * socket/setsockopt.c (__setsockopt): Likewise.
5664         * stdio-common/_itoa.c (_itoa): Likewise.
5665         * stdio-common/_itowa.c (_itowa): Likewise.
5666         * stdio-common/reg-printf.c (__register_printf_specifier):
5667         Likewise.
5668         (__register_printf_function): Likewise.
5669         * stdio-common/tempname.c (__path_search): Likewise.
5670         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
5671         * stdlib/mul_1.c (mpn_mul_1): Likewise.
5672         * stdlib/random_r.c (__initstate_r): Likewise.
5673         * stdlib/setenv.c (__add_to_environ): Likewise.
5674         * stdlib/submul_1.c (mpn_submul_1): Likewise.
5675         * streams/getpmsg.c (getpmsg): Likewise.
5676         * streams/putmsg.c (putmsg): Likewise.
5677         * streams/putpmsg.c (putpmsg): Likewise.
5678         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
5679         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
5680         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
5681         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
5682         * sunrpc/pm_getport.c (pmap_getport): Likewise.
5683         * sunrpc/svc_udp.c (cache_get): Likewise.
5684         * sunrpc/xdr_array.c (xdr_vector): Likewise.
5685         * sysdeps/mach/hurd/getcwd.c
5686         (__canonicalize_directory_name_internal): Likewise.
5687         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
5688         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
5689         * sysdeps/mach/hurd/select.c (__select): Likewise.
5690         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
5691         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
5692         * sysdeps/sparc/nptl/pthread_barrier_init.c
5693         (__pthread_barrier_init): Likewise.
5694         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
5695         (__pthread_cond_timedwait): Likewise.
5696         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
5697         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
5698         Likewise.
5699         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
5700         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
5701         Likewise.
5702         * sysvipc/semtimedop.c (semtimedop): Likewise.
5703         * time/setitimer.c (__setitimer): Likewise.
5704         * time/strftime_l.c (emacs_strftime): Likewise.
5706 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5708         * config.make.in (have-ssp): Delete.
5709         (stack-protector): New variable.
5710         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
5711         cache test for -fstack-protector-strong.  Export stack_protector to
5712         the best ssp flag.
5713         * configure: Regenerated.
5714         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
5715         * nscd/Makefile (CFLAGS-nscd): Likewise.
5716         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5718 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
5720         [BZ #19122]
5721         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
5722         attribute_hidden.
5724 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5726         [BZ #18743]
5727         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
5728         code to...
5729         (ELIDE_LOCK): ...here.
5730         (__get_new_count): New function with part of the code from
5731         __elide_lock that updates the value of adapt_count after a
5732         transaction abort.
5733         (__elided_trylock): Moved this code to...
5734         (ELIDE_TRYLOCK): ...here.
5736 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
5738         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
5739         * configure: Regenerate.
5740         * INSTALL: Regenerate.
5741         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
5742         and tweak grammar.
5744 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
5746         * login/programs/pt_chown.c: Include signal.h
5747         (main): Clear any signal mask from the parent process.
5749 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
5751         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
5752         * configure: Regenerated.
5753         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
5754         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
5755         $(gnu89-inline-CFLAGS).
5757         * configure.ac (libc_cv_asm_weak_directive): Remove configure
5758         test.
5759         (libc_cv_asm_weakext_directive): Likewise.
5760         * configure: Regenerated.
5761         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
5762         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
5763         * include/libc-symbols.h
5764         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
5765         #error.
5766         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
5767         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
5769         * sysdeps/arm/backtrace.c (__backtrace): Convert to
5770         prototype-style function definition.
5771         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5772         * sysdeps/i386/ffs.c (__ffs): Likewise.
5773         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5774         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
5775         Likewise.
5776         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5777         Likewise.
5778         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5780         Likewise.
5781         * sysdeps/m68k/ffs.c (__ffs): Likewise.
5782         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
5783         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
5784         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
5785         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
5786         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
5787         * sysdeps/mach/hurd/access.c (__access): Likewise.
5788         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
5789         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
5790         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
5791         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
5792         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
5793         (cthread_getspecific): Likewise.
5794         (cthread_setspecific): Likewise.
5795         (__libc_getspecific): Likewise.
5796         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
5797         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
5798         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
5799         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
5800         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
5801         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
5802         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
5803         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
5804         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
5805         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
5806         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
5807         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5808         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
5809         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
5810         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
5811         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
5812         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
5813         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
5814         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
5815         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
5816         * sysdeps/mach/hurd/link.c (__link): Likewise.
5817         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
5818         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
5819         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
5820         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
5821         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5822         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
5823         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
5824         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
5825         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
5826         * sysdeps/mach/hurd/rename.c (rename): Likewise.
5827         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
5828         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
5829         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
5830         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
5831         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
5832         * sysdeps/mach/hurd/send.c (__send): Likewise.
5833         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
5834         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
5835         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
5836         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
5837         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
5838         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
5839         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
5840         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
5841         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
5842         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
5843         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
5844         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
5845         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
5846         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
5847         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5848         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5849         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
5850         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
5851         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5852         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5853         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5854         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5855         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5856         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5857         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5858         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5859         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5860         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5861         * sysdeps/posix/alarm.c (alarm): Likewise.
5862         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5863         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5864         * sysdeps/posix/dup.c (__dup): Likewise.
5865         * sysdeps/posix/dup2.c (__dup2): Likewise.
5866         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5867         (main): Likewise.
5868         * sysdeps/posix/flock.c (__flock): Likewise.
5869         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5870         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5871         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5872         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5873         * sysdeps/posix/isatty.c (__isatty): Likewise.
5874         * sysdeps/posix/killpg.c (killpg): Likewise.
5875         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5876         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5877         * sysdeps/posix/raise.c (raise): Likewise.
5878         * sysdeps/posix/remove.c (remove): Likewise.
5879         * sysdeps/posix/rename.c (rename): Likewise.
5880         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5881         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5882         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5883         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5884         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5885         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5886         * sysdeps/posix/sigset.c (sigset): Likewise.
5887         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5888         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5889         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5890         * sysdeps/posix/time.c (time): Likewise.
5891         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5892         (ttyname): Likewise.
5893         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5894         * sysdeps/posix/utime.c (utime): Likewise.
5895         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5896         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5897         Likewise.
5898         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5899         (pthread_spin_trylock): Likewise.
5900         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5901         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5902         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5903         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5904         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5905         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5906         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5907         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5908         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5909         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5910         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5911         * sysdeps/s390/ffs.c (__ffs): Likewise.
5912         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5913         Likewise.
5914         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5915         Likewise.
5916         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5917         Likewise.
5918         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5919         (pthread_barrier_destroy): Likewise.
5920         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5921         (__pthread_barrier_wait): Likewise.
5922         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5923         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5924         (__pthread_barrier_wait): Likewise.
5925         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5926         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5927         (memcmp_not_common_alignment): Likewise.
5928         (MEMCMP): Likewise.
5929         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5930         (_wordcopy_fwd_dest_aligned): Likewise.
5931         (_wordcopy_bwd_aligned): Likewise.
5932         (_wordcopy_bwd_dest_aligned): Likewise.
5933         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5934         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5935         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5936         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5937         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5938         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5939         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5940         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5941         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5942         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5943         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5944         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5945         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5946         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5947         * sysdeps/unix/stime.c (stime): Likewise.
5948         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5949         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5950         Likewise.  Use internal_function.
5951         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5952         Convert to prototype-style function definition.
5953         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5954         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5956         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5957         Likewise.  Use internal_function.
5958         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5959         prototype-style function definition
5960         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5961         Likewise.
5962         (__getlogin_r): Likewise.
5963         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5964         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5965         (__pthread_cond_broadcast): Likewise.
5966         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5967         (__pthread_cond_destroy): Likewise.
5968         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5969         (__pthread_cond_init): Likewise.
5970         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5971         (__pthread_cond_signal): Likewise.
5972         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5973         (__pthread_cond_wait): Likewise.
5974         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5975         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5976         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5979         Likewise.
5980         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5986         (__ftruncate64): Likewise.
5987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5988         (truncate64): Likewise.
5989         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5990         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5991         (pthread_getcpuclockid): Likewise.
5992         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5993         Likewise.
5994         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5995         Likewise.
5996         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5997         Likewise.
5998         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5999         Likewise.
6000         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6001         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6002         (__libc_sigaction): Likewise.
6003         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6004         Likewise.
6005         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6006         (__sigprocmask): Likewise.
6007         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6008         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6009         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6010         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6011         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6012         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6013         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6014         Likewise.
6015         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6016         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6017         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6018         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6019         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6020         Likewise.
6021         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6022         (__sigprocmask): Likewise.
6023         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6024         (cfgetispeed): Likewise.
6025         (cfsetospeed): Likewise.
6026         (cfsetispeed): Likewise.
6027         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6028         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6029         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6030         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6031         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6032         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6033         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6034         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6041         Likewise.
6042         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6044 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6046         sunrpc: Rewrite with explicit TLS access using __thread.
6047         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6048         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6049         directly.
6050         (__rpc_thread_variables): Access thread_rpc_vars directly.
6051         Eliminate redundant assignment of the tvp variable.
6053 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6055         malloc: Rewrite with explicit TLS access using __thread.
6056         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6057         (tsd_setspecific, tsd_getspecific): Remove.
6058         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6059         (tsd_setspecific, tsd_getspecific): Likewise.
6060         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6061         (tsd_setspecific, tsd_getspecific): Likewise.
6062         * malloc/arena.c (thread_arena): New TLS variable.
6063         (arena_key): Remove variable.
6064         (arena_get): Use thread_arena.
6065         (arena_lookup): Remove macro.
6066         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6067         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6068         (_int_new_arena, get_free_list, reused_arena)
6069         (arena_thread_freeres): Use thread_arena.
6070         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6071         tsd_getspecific, tsd_setspecific from safety annotations.
6072         (Allocating Cleared Space): Remove arena_lookup from safety
6073         annotations.
6075 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6077         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6078         struct scratch_buffer instead of extend_alloca.
6080 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6082         * sysdeps/unix/sysv/linux/kernel-features.h
6083         (__ASSUME_SOCK_CLOEXEC): Remove.
6084         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6085         (__have_paccept): Remove unused macro.
6086         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6087         * misc/syslog.c (openlog_internal): Remove fallback code for
6088         !__ASSUME_SOCK_CLOEXEC.
6089         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6090         missing SOCK_CLOEXEC.
6091         * nscd/connections.c (have_sock_cloexec): Remove definition.
6092         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6093         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6094         !__ASSUME_SOCK_CLOEXEC.
6095         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6096         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6097         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6098         definition.
6099         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6100         code for !__ASSUME_SOCK_CLOEXEC.
6102 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6104         [BZ #18982]
6105         * manual/stdio.texi (Variable Arguments Output): Add portability
6106         note, explaining that vfprintf clobbers the va_list pointer.
6108 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6110         * math/libm-test.inc (fabs_test_data): Add more tests.
6111         (fdim_test_data): Likewise.
6112         (fma_test_data): Likewise.
6113         (fmax_test_data): Likewise.
6114         (fmin_test_data): Likewise.
6115         (fmod_test_data): Likewise.
6117 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6119         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6120         data.
6122 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6124         * math/libm-test.inc (ceil_test_data): Add more tests and more
6125         expectations for "inexact".
6126         (floor_test_data): Add more tests.
6127         (round_test_data): Likewise.
6128         (trunc_test_data): Likewise.
6130         * crypt/cert.c (good_bye): Convert to prototype-style function
6131         definition.
6132         (get8): Likewise.
6133         (put8): Likewise.
6134         * crypt/crypt-entry.c (crypt): Likewise.
6135         (__fcrypt): Likewise.
6136         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6137         (_ufc_set_bits): Likewise.
6138         (_ufc_clearmem): Likewise.
6139         (__init_des_r): Likewise.
6140         (shuffle_sb): Likewise.
6141         (shuffle_sb): Likewise.
6142         (_ufc_setup_salt_r): Likewise.
6143         (_ufc_mk_keytab_r): Likewise.
6144         (_ufc_dofinalperm_r): Likewise.
6145         (encrypt): Likewise.
6146         (__setkey_r): Likewise.
6147         (setkey): Likewise.
6148         * crypt/md5.c (md5_init_ctx): Likewise.
6149         (md5_read_ctx): Likewise.
6150         (md5_finish_ctx): Likewise.
6151         (md5_stream): Likewise.
6152         (md5_buffer): Likewise.
6153         (md5_process_bytes): Likewise.
6154         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6155         (__sha256_finish_ctx): Likewise.
6156         (__sha256_process_bytes): Likewise.
6157         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6158         (__sha512_finish_ctx): Likewise.
6159         (__sha512_process_bytes): Likewise.
6160         * ctype/isctype.c (__isctype): Likewise.
6161         * debug/backtrace.c (__backtrace): Likewise.
6162         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6163         * debug/fgets_chk.c (__fgets_chk): Likewise.
6164         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6165         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6166         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6167         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6168         * debug/memset_chk.c (__memset_chk): Likewise.
6169         * debug/strcat_chk.c (__strcat_chk): Likewise.
6170         * debug/strncat_chk.c (__strncat_chk): Likewise.
6171         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6172         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6173         * dirent/dirfd.c (dirfd): Likewise.
6174         * dirent/getdents.c (__getdirentries): Likewise.
6175         * dirent/getdents64.c (getdirentries64): Likewise.
6176         * dirent/rewinddir.c (__rewinddir): Likewise.
6177         * dirent/seekdir.c (seekdir): Likewise.
6178         * dirent/telldir.c (telldir): Likewise.
6179         * elf/sln.c (makesymlinks): Likewise.
6180         (makesymlink): Likewise.
6181         * gmon/gmon.c (__moncontrol): Likewise.
6182         (__monstartup): Likewise.
6183         (write_hist): Likewise.
6184         (write_call_graph): Likewise.
6185         (write_bb_counts): Likewise.
6186         * grp/setgroups.c (setgroups): Likewise.
6187         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6188         * inet/inet_net.c (inet_network): Likewise.
6189         * inet/inet_netof.c (inet_netof): Likewise.
6190         * inet/rcmd.c (rresvport_af): Likewise.
6191         (rresvport): Likewise.
6192         * io/access.c (__access): Likewise.
6193         * io/chdir.c (__chdir): Likewise.
6194         * io/chmod.c (__chmod): Likewise.
6195         * io/chown.c (__chown): Likewise.
6196         * io/close.c (__close): Likewise.
6197         * io/creat.c (creat): Likewise.
6198         * io/creat64.c (creat64): Likewise.
6199         * io/dup.c (__dup): Likewise.
6200         * io/dup2.c (__dup2): Likewise.
6201         * io/dup3.c (__dup3): Likewise.
6202         * io/euidaccess.c (__euidaccess): Likewise.
6203         * io/faccessat.c (faccessat): Likewise.
6204         * io/fchmod.c (__fchmod): Likewise.
6205         * io/fchmodat.c (fchmodat): Likewise.
6206         * io/fchown.c (__fchown): Likewise.
6207         * io/fchownat.c (fchownat): Likewise.
6208         * io/fcntl.c (__fcntl): Likewise.
6209         * io/flock.c (__flock): Likewise.
6210         * io/fts.c (fts_load): Likewise.
6211         (fts_close): Likewise.
6212         (fts_read): Likewise.
6213         (fts_set): Likewise.
6214         (fts_children): Likewise.
6215         (fts_build): Likewise.
6216         (fts_stat): Likewise.
6217         (fts_sort): Likewise.
6218         (fts_alloc): Likewise.
6219         (fts_lfree): Likewise.
6220         (fts_palloc): Likewise.
6221         (fts_padjust): Likewise.
6222         (fts_maxarglen): Likewise.
6223         (fts_safe_changedir): Likewise.
6224         * io/getwd.c (getwd): Likewise.
6225         * io/isatty.c (__isatty): Likewise.
6226         * io/lchown.c (__lchown): Likewise.
6227         * io/link.c (__link): Likewise.
6228         * io/linkat.c (linkat): Likewise.
6229         * io/lseek.c (__libc_lseek): Likewise.
6230         * io/mkdir.c (__mkdir): Likewise.
6231         * io/mkdirat.c (mkdirat): Likewise.
6232         * io/mkfifo.c (mkfifo): Likewise.
6233         * io/mkfifoat.c (mkfifoat): Likewise.
6234         * io/open.c (__libc_open): Likewise.
6235         * io/open64.c (__libc_open64): Likewise.
6236         * io/readlink.c (__readlink): Likewise.
6237         * io/readlinkat.c (readlinkat): Likewise.
6238         * io/rmdir.c (__rmdir): Likewise.
6239         * io/symlink.c (__symlink): Likewise.
6240         * io/symlinkat.c (symlinkat): Likewise.
6241         * io/ttyname.c (ttyname): Likewise.
6242         * io/ttyname_r.c (__ttyname_r): Likewise.
6243         * io/umask.c (__umask): Likewise.
6244         * io/unlink.c (__unlink): Likewise.
6245         * io/unlinkat.c (unlinkat): Likewise.
6246         * io/utime.c (utime): Likewise.
6247         * libio/clearerr.c (clearerr): Likewise.
6248         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6249         * libio/feof.c (_IO_feof): Likewise.
6250         * libio/feof_u.c (feof_unlocked): Likewise.
6251         * libio/ferror.c (_IO_ferror): Likewise.
6252         * libio/ferror_u.c (ferror_unlocked): Likewise.
6253         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6254         * libio/fileno.c (__fileno): Likewise.
6255         * libio/fputc.c (fputc): Likewise.
6256         * libio/fputc_u.c (fputc_unlocked): Likewise.
6257         * libio/fputwc.c (fputwc): Likewise.
6258         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6259         * libio/freopen.c (freopen): Likewise.
6260         * libio/freopen64.c (freopen64): Likewise.
6261         * libio/fseek.c (fseek): Likewise.
6262         * libio/fseeko.c (fseeko): Likewise.
6263         * libio/fseeko64.c (fseeko64): Likewise.
6264         * libio/ftello.c (__ftello): Likewise.
6265         * libio/ftello64.c (ftello64): Likewise.
6266         * libio/fwide.c (fwide): Likewise.
6267         * libio/genops.c (_IO_un_link): Likewise.
6268         (_IO_link_in): Likewise.
6269         (_IO_least_marker): Likewise.
6270         (_IO_switch_to_main_get_area): Likewise.
6271         (_IO_switch_to_backup_area): Likewise.
6272         (_IO_switch_to_get_mode): Likewise.
6273         (_IO_free_backup_area): Likewise.
6274         (_IO_switch_to_put_mode): Likewise.
6275         (__overflow): Likewise.
6276         (__underflow): Likewise.
6277         (__uflow): Likewise.
6278         (_IO_setb): Likewise.
6279         (_IO_doallocbuf): Likewise.
6280         (_IO_default_underflow): Likewise.
6281         (_IO_default_uflow): Likewise.
6282         (_IO_default_xsputn): Likewise.
6283         (_IO_sgetn): Likewise.
6284         (_IO_default_xsgetn): Likewise.
6285         (_IO_sync): Likewise.
6286         (_IO_default_setbuf): Likewise.
6287         (_IO_default_seekpos): Likewise.
6288         (_IO_default_doallocate): Likewise.
6289         (_IO_init): Likewise.
6290         (_IO_old_init): Likewise.
6291         (_IO_default_sync): Likewise.
6292         (_IO_default_finish): Likewise.
6293         (_IO_default_seekoff): Likewise.
6294         (_IO_sputbackc): Likewise.
6295         (_IO_sungetc): Likewise.
6296         (_IO_set_column): Likewise.
6297         (_IO_set_column): Likewise.
6298         (_IO_adjust_column): Likewise.
6299         (_IO_get_column): Likewise.
6300         (_IO_init_marker): Likewise.
6301         (_IO_remove_marker): Likewise.
6302         (_IO_marker_difference): Likewise.
6303         (_IO_marker_delta): Likewise.
6304         (_IO_seekmark): Likewise.
6305         (_IO_unsave_markers): Likewise.
6306         (_IO_nobackup_pbackfail): Likewise.
6307         (_IO_default_pbackfail): Likewise.
6308         (_IO_default_seek): Likewise.
6309         (_IO_default_stat): Likewise.
6310         (_IO_default_read): Likewise.
6311         (_IO_default_write): Likewise.
6312         (_IO_default_showmanyc): Likewise.
6313         (_IO_default_imbue): Likewise.
6314         (_IO_iter_next): Likewise.
6315         (_IO_iter_file): Likewise.
6316         * libio/getc.c (_IO_getc): Likewise.
6317         * libio/getwc.c (_IO_getwc): Likewise.
6318         * libio/iofclose.c (_IO_new_fclose): Likewise.
6319         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6320         * libio/iofflush.c (_IO_fflush): Likewise.
6321         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6322         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6323         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6324         * libio/iofgets.c (_IO_fgets): Likewise.
6325         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
6326         * libio/iofgetws.c (fgetws): Likewise.
6327         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6328         * libio/iofopen64.c (_IO_fopen64): Likewise.
6329         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6330         (_IO_cookie_write): Likewise.
6331         (_IO_cookie_seek): Likewise.
6332         (_IO_cookie_close): Likewise.
6333         (_IO_cookie_seekoff): Likewise.
6334         (_IO_old_cookie_seek): Likewise.
6335         * libio/iofputs.c (_IO_fputs): Likewise.
6336         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
6337         * libio/iofputws.c (fputws): Likewise.
6338         * libio/iofputws_u.c (fputws_unlocked): Likewise.
6339         * libio/iofread.c (_IO_fread): Likewise.
6340         * libio/iofread_u.c (__fread_unlocked): Likewise.
6341         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
6342         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
6343         * libio/ioftell.c (_IO_ftell): Likewise.
6344         * libio/iofwrite.c (_IO_fwrite): Likewise.
6345         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6346         * libio/iogets.c (_IO_gets): Likewise.
6347         * libio/iopadn.c (_IO_padn): Likewise.
6348         * libio/iopopen.c (_IO_new_proc_open): Likewise.
6349         (_IO_new_popen): Likewise.
6350         (_IO_new_proc_close): Likewise.
6351         * libio/ioputs.c (_IO_puts): Likewise.
6352         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
6353         (_IO_seekoff): Likewise.
6354         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
6355         (_IO_seekpos): Likewise.
6356         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
6357         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
6358         * libio/ioungetc.c (_IO_ungetc): Likewise.
6359         * libio/ioungetwc.c (ungetwc): Likewise.
6360         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6361         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
6362         * libio/iowpadn.c (_IO_wpadn): Likewise.
6363         * libio/libc_fatal.c (__libc_fatal): Likewise.
6364         * libio/memstream.c (__open_memstream): Likewise.
6365         (_IO_mem_sync): Likewise.
6366         (_IO_mem_finish): Likewise.
6367         * libio/oldfileops.c (_IO_old_file_init): Likewise.
6368         (_IO_old_file_close_it): Likewise.
6369         (_IO_old_file_finish): Likewise.
6370         (_IO_old_file_fopen): Likewise.
6371         (_IO_old_file_attach): Likewise.
6372         (_IO_old_file_setbuf): Likewise.
6373         (_IO_old_do_write): Likewise.
6374         (old_do_write): Likewise.
6375         (_IO_old_file_underflow): Likewise.
6376         (_IO_old_file_overflow): Likewise.
6377         (_IO_old_file_sync): Likewise.
6378         (_IO_old_file_seekoff): Likewise.
6379         (_IO_old_file_write): Likewise.
6380         (_IO_old_file_xsputn): Likewise.
6381         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6382         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6383         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
6384         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
6385         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6386         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
6387         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
6388         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
6389         (_IO_old_popen): Likewise.
6390         (_IO_old_proc_close): Likewise.
6391         * libio/oldpclose.c (__old_pclose): Likewise.
6392         * libio/pclose.c (__new_pclose): Likewise.
6393         * libio/peekc.c (_IO_peekc_locked): Likewise.
6394         * libio/putc.c (_IO_putc): Likewise.
6395         * libio/putc_u.c (putc_unlocked): Likewise.
6396         * libio/putchar.c (putchar): Likewise.
6397         * libio/putchar_u.c (putchar_unlocked): Likewise.
6398         * libio/putwc.c (putwc): Likewise.
6399         * libio/putwc_u.c (putwc_unlocked): Likewise.
6400         * libio/putwchar.c (putwchar): Likewise.
6401         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6402         * libio/rewind.c (rewind): Likewise.
6403         * libio/setbuf.c (setbuf): Likewise.
6404         * libio/setlinebuf.c (setlinebuf): Likewise.
6405         * libio/vasprintf.c (_IO_vasprintf): Likewise.
6406         * libio/vscanf.c (_IO_vscanf): Likewise.
6407         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
6408         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
6409         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6410         * libio/wgenops.c (_IO_least_wmarker): Likewise.
6411         (_IO_switch_to_main_wget_area): Likewise.
6412         (_IO_switch_to_wbackup_area): Likewise.
6413         (_IO_wsetb): Likewise.
6414         (_IO_wdefault_pbackfail): Likewise.
6415         (_IO_wdefault_finish): Likewise.
6416         (_IO_wdefault_uflow): Likewise.
6417         (__woverflow): Likewise.
6418         (__wuflow): Likewise.
6419         (__wunderflow): Likewise.
6420         (_IO_wdefault_xsputn): Likewise.
6421         (_IO_wdefault_xsgetn): Likewise.
6422         (_IO_wdoallocbuf): Likewise.
6423         (_IO_wdefault_doallocate): Likewise.
6424         (_IO_switch_to_wget_mode): Likewise.
6425         (_IO_free_wbackup_area): Likewise.
6426         (_IO_switch_to_wput_mode): Likewise.
6427         (_IO_sputbackwc): Likewise.
6428         (_IO_sungetwc): Likewise.
6429         (_IO_adjust_wcolumn): Likewise.
6430         (_IO_init_wmarker): Likewise.
6431         (_IO_wmarker_delta): Likewise.
6432         (_IO_seekwmark): Likewise.
6433         (_IO_unsave_wmarkers): Likewise.
6434         * libio/wmemstream.c (open_wmemstream): Likewise.
6435         (_IO_wmem_sync): Likewise.
6436         (_IO_wmem_finish): Likewise.
6437         * locale/nl_langinfo.c (nl_langinfo): Likewise.
6438         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
6439         * locale/programs/simple-hash.c (init_hash): Likewise.
6440         (delete_hash): Likewise.
6441         (insert_entry): Likewise.
6442         (set_entry): Likewise.
6443         (next_prime): Likewise.
6444         (is_prime): Likewise.
6445         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
6446         (xmalloc): Likewise.
6447         (xrealloc): Likewise.
6448         * locale/programs/xstrdup.c (xstrdup): Likewise.
6449         * localedata/collate-test.c (xstrcoll): Likewise.
6450         * localedata/xfrm-test.c (xstrcmp): Likewise.
6451         * login/getlogin_r.c (__getlogin_r): Likewise.
6452         * login/getpt.c (__posix_openpt): Likewise.
6453         * login/login_tty.c (login_tty): Likewise.
6454         * login/setlogin.c (setlogin): Likewise.
6455         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
6456         (mach_msg_destroy_port): Likewise.
6457         (mach_msg_destroy_memory): Likewise.
6458         * malloc/mcheck.c (flood): Likewise.
6459         * misc/acct.c (acct): Likewise.
6460         * misc/brk.c (__brk): Likewise.
6461         * misc/chflags.c (chflags): Likewise.
6462         * misc/chroot.c (chroot): Likewise.
6463         * misc/fchflags.c (fchflags): Likewise.
6464         * misc/fstab.c (getfsspec): Likewise.
6465         (getfsfile): Likewise.
6466         * misc/fsync.c (fsync): Likewise.
6467         * misc/ftruncate.c (__ftruncate): Likewise.
6468         * misc/ftruncate64.c (__ftruncate64): Likewise.
6469         * misc/getdomain.c (getdomainname): Likewise.
6470         (getdomainname): Likewise.
6471         * misc/gethostname.c (__gethostname): Likewise.
6472         * misc/getpass.c (getpass): Likewise.
6473         * misc/getttyent.c (skip): Likewise.
6474         (value): Likewise.
6475         * misc/gtty.c (gtty): Likewise.
6476         * misc/hsearch.c (hsearch): Likewise.
6477         (hcreate): Likewise.
6478         * misc/hsearch_r.c (__hcreate_r): Likewise.
6479         (__hdestroy_r): Likewise.
6480         * misc/ioctl.c (__ioctl): Likewise.
6481         * misc/mkdtemp.c (mkdtemp): Likewise.
6482         * misc/mkostemp.c (mkostemp): Likewise.
6483         * misc/mkostemp64.c (mkostemp64): Likewise.
6484         * misc/mkostemps.c (mkostemps): Likewise.
6485         * misc/mkostemps64.c (mkostemps64): Likewise.
6486         * misc/mkstemp.c (mkstemp): Likewise.
6487         * misc/mkstemp64.c (mkstemp64): Likewise.
6488         * misc/mkstemps.c (mkstemps): Likewise.
6489         * misc/mkstemps64.c (mkstemps64): Likewise.
6490         * misc/mktemp.c (__mktemp): Likewise.
6491         * misc/preadv.c (preadv): Likewise.
6492         * misc/preadv64.c (preadv64): Likewise.
6493         * misc/pwritev.c (pwritev): Likewise.
6494         * misc/pwritev64.c (pwritev64): Likewise.
6495         * misc/readv.c (__readv): Likewise.
6496         * misc/revoke.c (revoke): Likewise.
6497         * misc/setdomain.c (setdomainname): Likewise.
6498         * misc/setegid.c (setegid): Likewise.
6499         * misc/seteuid.c (seteuid): Likewise.
6500         * misc/sethostid.c (sethostid): Likewise.
6501         * misc/sethostname.c (sethostname): Likewise.
6502         * misc/setregid.c (__setregid): Likewise.
6503         * misc/setreuid.c (__setreuid): Likewise.
6504         * misc/sstk.c (sstk): Likewise.
6505         * misc/stty.c (stty): Likewise.
6506         * misc/syscall.c (syscall): Likewise.
6507         * misc/syslog.c (setlogmask): Likewise.
6508         * misc/truncate.c (__truncate): Likewise.
6509         * misc/truncate64.c (truncate64): Likewise.
6510         * misc/ualarm.c (ualarm): Likewise.
6511         * misc/usleep.c (usleep): Likewise.
6512         * misc/ustat.c (ustat): Likewise.
6513         * misc/writev.c (__writev): Likewise.
6514         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
6515         * nptl/old_pthread_cond_broadcast.c
6516         (__pthread_cond_broadcast_2_0): Likewise.
6517         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
6518         Likewise.
6519         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
6520         Likewise.
6521         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
6522         Likewise.
6523         * nptl/pt-raise.c (raise): Likewise.
6524         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
6525         Likewise.
6526         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
6527         * nptl/pthread_barrierattr_destroy.c
6528         (pthread_barrierattr_destroy): Likewise.
6529         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6530         Likewise.
6531         * nptl/pthread_barrierattr_setpshared.c
6532         (pthread_barrierattr_setpshared): Likewise.
6533         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6534         Likewise.
6535         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6536         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6537         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6538         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
6539         Likewise.
6540         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
6541         Likewise.
6542         * nptl/pthread_condattr_getpshared.c
6543         (pthread_condattr_getpshared): Likewise.
6544         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
6545         Likewise.
6546         * nptl/pthread_condattr_setpshared.c
6547         (pthread_condattr_setpshared): Likewise.
6548         * nptl/pthread_detach.c (pthread_detach): Likewise.
6549         * nptl/pthread_equal.c (__pthread_equal): Likewise.
6550         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
6551         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
6552         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
6553         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
6554         Likewise.
6555         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
6556         Likewise.
6557         * nptl/pthread_mutex_getprioceiling.c
6558         (pthread_mutex_getprioceiling): Likewise.
6559         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
6560         Likewise.
6561         * nptl/pthread_mutexattr_getprotocol.c
6562         (pthread_mutexattr_getprotocol): Likewise.
6563         * nptl/pthread_mutexattr_getpshared.c
6564         (pthread_mutexattr_getpshared): Likewise.
6565         * nptl/pthread_mutexattr_getrobust.c
6566         (pthread_mutexattr_getrobust): Likewise.
6567         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6568         Likewise.
6569         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
6570         Likewise.
6571         * nptl/pthread_mutexattr_setprioceiling.c
6572         (pthread_mutexattr_setprioceiling): Likewise.
6573         * nptl/pthread_mutexattr_setprotocol.c
6574         (pthread_mutexattr_setprotocol): Likewise.
6575         * nptl/pthread_mutexattr_setpshared.c
6576         (pthread_mutexattr_setpshared): Likewise.
6577         * nptl/pthread_mutexattr_setrobust.c
6578         (pthread_mutexattr_setrobust): Likewise.
6579         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
6580         Likewise.
6581         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
6582         Likewise.
6583         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
6584         Likewise.
6585         * nptl/pthread_rwlockattr_getkind_np.c
6586         (pthread_rwlockattr_getkind_np): Likewise.
6587         * nptl/pthread_rwlockattr_getpshared.c
6588         (pthread_rwlockattr_getpshared): Likewise.
6589         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
6590         Likewise.
6591         * nptl/pthread_rwlockattr_setkind_np.c
6592         (pthread_rwlockattr_setkind_np): Likewise.
6593         * nptl/pthread_rwlockattr_setpshared.c
6594         (pthread_rwlockattr_setpshared): Likewise.
6595         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
6596         Likewise.
6597         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
6598         Likewise.
6599         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
6600         Likewise.
6601         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6602         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
6603         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
6604         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
6605         * nptl/sem_close.c (sem_close): Likewise.
6606         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
6607         * nptl/sem_init.c (__old_sem_init): Likewise.
6608         * nptl/sigaction.c (__sigaction): Likewise.
6609         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
6610         * posix/_exit.c (_exit): Likewise.
6611         * posix/alarm.c (alarm): Likewise.
6612         * posix/confstr.c (confstr): Likewise.
6613         * posix/fpathconf.c (__fpathconf): Likewise.
6614         * posix/getgroups.c (__getgroups): Likewise.
6615         * posix/getpgid.c (__getpgid): Likewise.
6616         * posix/group_member.c (__group_member): Likewise.
6617         * posix/pathconf.c (__pathconf): Likewise.
6618         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
6619         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
6620         * posix/setgid.c (__setgid): Likewise.
6621         * posix/setpgid.c (__setpgid): Likewise.
6622         * posix/setuid.c (__setuid): Likewise.
6623         * posix/sleep.c (__sleep): Likewise.
6624         * posix/sysconf.c (__sysconf): Likewise.
6625         * posix/times.c (__times): Likewise.
6626         * posix/uname.c (__uname): Likewise.
6627         * posix/waitid.c (__waitid): Likewise.
6628         * pwd/getpw.c (__getpw): Likewise.
6629         * resolv/base64.c (b64_pton): Likewise.
6630         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
6631         * resolv/gethnamaddr.c (Dprintf): Likewise.
6632         (gethostbyname): Likewise.
6633         (gethostbyname2): Likewise.
6634         (gethostbyaddr): Likewise.
6635         (_sethtent): Likewise.
6636         (_gethtbyname): Likewise.
6637         (_gethtbyname2): Likewise.
6638         (_gethtbyaddr): Likewise.
6639         (map_v4v6_address): Likewise.
6640         (map_v4v6_hostent): Likewise.
6641         (addrsort): Likewise.
6642         (ht_sethostent): Likewise.
6643         (ht_gethostbyname): Likewise.
6644         (ht_gethostbyaddr): Likewise.
6645         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
6646         (inet_net_ntop_ipv4): Likewise.
6647         * resolv/inet_neta.c (inet_neta): Likewise.
6648         * resolv/inet_ntop.c (inet_ntop): Likewise.
6649         (inet_ntop4): Likewise.
6650         (inet_ntop6): Likewise.
6651         * resolv/inet_pton.c (__inet_pton): Likewise.
6652         (inet_pton4): Likewise.
6653         (inet_pton6): Likewise.
6654         * resolv/res_debug.c (loc_aton): Likewise.
6655         (loc_ntoa): Likewise.
6656         * resource/getpriority.c (__getpriority): Likewise.
6657         * resource/getrusage.c (__getrusage): Likewise.
6658         * resource/nice.c (nice): Likewise.
6659         * resource/setpriority.c (__setpriority): Likewise.
6660         * resource/setrlimit64.c (setrlimit64): Likewise.
6661         * resource/vlimit.c (vlimit): Likewise.
6662         * resource/vtimes.c (vtimes): Likewise.
6663         * rt/aio_error.c (aio_error): Likewise.
6664         * rt/aio_return.c (aio_return): Likewise.
6665         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
6666         * signal/kill.c (__kill): Likewise.
6667         * signal/killpg.c (killpg): Likewise.
6668         * signal/raise.c (raise): Likewise.
6669         * signal/sigaction.c (__sigaction): Likewise.
6670         * signal/sigaddset.c (sigaddset): Likewise.
6671         * signal/sigaltstack.c (sigaltstack): Likewise.
6672         * signal/sigandset.c (sigandset): Likewise.
6673         * signal/sigblock.c (__sigblock): Likewise.
6674         * signal/sigdelset.c (sigdelset): Likewise.
6675         * signal/sigempty.c (sigemptyset): Likewise.
6676         * signal/sigfillset.c (sigfillset): Likewise.
6677         * signal/sighold.c (sighold): Likewise.
6678         * signal/sigignore.c (sigignore): Likewise.
6679         * signal/sigintr.c (siginterrupt): Likewise.
6680         * signal/sigisempty.c (sigisemptyset): Likewise.
6681         * signal/sigismem.c (sigismember): Likewise.
6682         * signal/signal.c (signal): Likewise.
6683         * signal/sigorset.c (sigorset): Likewise.
6684         * signal/sigpause.c (__sigpause): Likewise.
6685         * signal/sigpending.c (sigpending): Likewise.
6686         * signal/sigprocmask.c (__sigprocmask): Likewise.
6687         * signal/sigrelse.c (sigrelse): Likewise.
6688         * signal/sigreturn.c (__sigreturn): Likewise.
6689         * signal/sigset.c (sigset): Likewise.
6690         * signal/sigsetmask.c (__sigsetmask): Likewise.
6691         * signal/sigstack.c (sigstack): Likewise.
6692         * signal/sigsuspend.c (__sigsuspend): Likewise.
6693         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
6694         * signal/sysv_signal.c (__sysv_signal): Likewise.
6695         * socket/accept.c (accept): Likewise.
6696         * socket/accept4.c (__libc_accept4): Likewise.
6697         * socket/bind.c (__bind): Likewise.
6698         * socket/connect.c (__connect): Likewise.
6699         * socket/getpeername.c (getpeername): Likewise.
6700         * socket/getsockname.c (__getsockname): Likewise.
6701         * socket/getsockopt.c (getsockopt): Likewise.
6702         * socket/listen.c (__listen): Likewise.
6703         * socket/recv.c (__recv): Likewise.
6704         * socket/recvmsg.c (__recvmsg): Likewise.
6705         * socket/send.c (__send): Likewise.
6706         * socket/sendmsg.c (__sendmsg): Likewise.
6707         * socket/shutdown.c (shutdown): Likewise.
6708         * socket/sockatmark.c (sockatmark): Likewise.
6709         * socket/socket.c (__socket): Likewise.
6710         * stdio-common/ctermid.c (ctermid): Likewise.
6711         * stdio-common/cuserid.c (cuserid): Likewise.
6712         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
6713         * stdio-common/remove.c (remove): Likewise.
6714         * stdio-common/rename.c (rename): Likewise.
6715         * stdio-common/renameat.c (renameat): Likewise.
6716         * stdio-common/tempname.c (__gen_tempname): Likewise.
6717         * stdio-common/xbug.c (InitBuffer): Likewise.
6718         (AppendToBuffer): Likewise.
6719         (ReadFile): Likewise.
6720         * stdlib/a64l.c (a64l): Likewise.
6721         * stdlib/drand48_r.c (drand48_r): Likewise.
6722         * stdlib/getcontext.c (getcontext): Likewise.
6723         * stdlib/getenv.c (getenv): Likewise.
6724         * stdlib/l64a.c (l64a): Likewise.
6725         * stdlib/llabs.c (llabs): Likewise.
6726         * stdlib/lldiv.c (lldiv): Likewise.
6727         * stdlib/lrand48_r.c (lrand48_r): Likewise.
6728         * stdlib/mrand48_r.c (mrand48_r): Likewise.
6729         * stdlib/putenv.c (putenv): Likewise.
6730         * stdlib/random.c (__srandom): Likewise.
6731         (__initstate): Likewise.
6732         (__setstate): Likewise.
6733         * stdlib/random_r.c (__srandom_r): Likewise.
6734         (__setstate_r): Likewise.
6735         (__random_r): Likewise.
6736         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
6737         * stdlib/setcontext.c (setcontext): Likewise.
6738         * stdlib/setenv.c (setenv): Likewise.
6739         (unsetenv): Likewise.
6740         * stdlib/srand48.c (srand48): Likewise.
6741         * stdlib/srand48_r.c (__srand48_r): Likewise.
6742         * stdlib/swapcontext.c (swapcontext): Likewise.
6743         * stdlib/system.c (__libc_system): Likewise.
6744         * stdlib/tst-strtod.c (expand): Likewise.
6745         * stdlib/tst-strtol.c (expand): Likewise.
6746         * stdlib/tst-strtoll.c (expand): Likewise.
6747         * streams/fattach.c (fattach): Likewise.
6748         * streams/fdetach.c (fdetach): Likewise.
6749         * streams/getmsg.c (getmsg): Likewise.
6750         * streams/isastream.c (isastream): Likewise.
6751         * string/ffs.c (__ffs): Likewise.
6752         * string/ffsll.c (ffsll): Likewise.
6753         * string/memcmp.c (memcmp_common_alignment): Likewise.
6754         (memcmp_not_common_alignment): Likewise.
6755         (MEMCMP): Likewise.
6756         * string/memcpy.c (memcpy): Likewise.
6757         * string/memmove.c (MEMMOVE): Likewise.
6758         * string/memset.c (memset): Likewise.
6759         * string/rawmemchr.c (RAWMEMCHR): Likewise.
6760         * string/strchrnul.c (STRCHRNUL): Likewise.
6761         * string/strerror.c (strerror): Likewise.
6762         * string/strndup.c (__strndup): Likewise.
6763         * string/strverscmp.c (__strverscmp): Likewise.
6764         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
6765         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
6766         (clnttcp_freeres): Likewise.
6767         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
6768         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
6769         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
6770         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
6771         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
6772         (xdr_callhdr): Likewise.
6773         * sunrpc/rpcinfo.c (udpping): Likewise.
6774         (tcpping): Likewise.
6775         (pstatus): Likewise.
6776         (pmapdump): Likewise.
6777         (brdcst): Likewise.
6778         (deletereg): Likewise.
6779         (getprognum): Likewise.
6780         (getvers): Likewise.
6781         (get_inet_address): Likewise.
6782         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
6783         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6784         (svcudp_stat): Likewise.
6785         (svcudp_recv): Likewise.
6786         (svcudp_reply): Likewise.
6787         (svcudp_getargs): Likewise.
6788         (svcudp_freeargs): Likewise.
6789         (svcudp_destroy): Likewise.
6790         * sunrpc/xdr.c (xdr_bytes): Likewise.
6791         (xdr_netobj): Likewise.
6792         (xdr_string): Likewise.
6793         (xdr_wrapstring): Likewise.
6794         * sunrpc/xdr_float.c (xdr_float): Likewise.
6795         (xdr_double): Likewise.
6796         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
6797         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
6798         * sysvipc/ftok.c (ftok): Likewise.
6799         * sysvipc/msgctl.c (msgctl): Likewise.
6800         * sysvipc/msgget.c (msgget): Likewise.
6801         * sysvipc/msgrcv.c (msgrcv): Likewise.
6802         * sysvipc/msgsnd.c (msgsnd): Likewise.
6803         * sysvipc/semget.c (semget): Likewise.
6804         * sysvipc/semop.c (semop): Likewise.
6805         * sysvipc/shmat.c (shmat): Likewise.
6806         * sysvipc/shmctl.c (shmctl): Likewise.
6807         * sysvipc/shmdt.c (shmdt): Likewise.
6808         * sysvipc/shmget.c (shmget): Likewise.
6809         * termios/cfmakeraw.c (cfmakeraw): Likewise.
6810         * termios/speed.c (cfgetospeed): Likewise.
6811         (cfgetispeed): Likewise.
6812         (cfsetospeed): Likewise.
6813         (cfsetispeed): Likewise.
6814         * termios/tcflow.c (tcflow): Likewise.
6815         * termios/tcflush.c (tcflush): Likewise.
6816         * termios/tcgetattr.c (__tcgetattr): Likewise.
6817         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
6818         * termios/tcgetsid.c (tcgetsid): Likewise.
6819         * termios/tcsendbrk.c (tcsendbreak): Likewise.
6820         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
6821         * time/adjtime.c (__adjtime): Likewise.
6822         * time/dysize.c (dysize): Likewise.
6823         * time/ftime.c (ftime): Likewise.
6824         * time/getitimer.c (__getitimer): Likewise.
6825         * time/gettimeofday.c (__gettimeofday): Likewise.
6826         * time/gmtime.c (__gmtime_r): Likewise.
6827         (gmtime): Likewise.
6828         * time/localtime.c (__localtime_r): Likewise.
6829         (localtime): Likewise.
6830         * time/offtime.c (__offtime): Likewise.
6831         * time/settimeofday.c (__settimeofday): Likewise.
6832         * time/stime.c (stime): Likewise.
6833         * time/strftime_l.c (tm_diff): Likewise.
6834         (iso_week_days): Likewise.
6835         * time/strptime.c (strptime): Likewise.
6836         * time/time.c (time): Likewise.
6837         * time/timespec_get.c (timespec_get): Likewise.
6838         * time/tzset.c (tzset_internal): Likewise.
6839         (compute_change): Likewise.
6840         (__tz_compute): Likewise.
6841         * wcsmbs/btowc.c (__btowc): Likewise.
6842         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
6843         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
6844         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
6845         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
6846         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
6847         * wcsmbs/wcscat.c (__wcscat): Likewise.
6848         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6849         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
6850         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
6851         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6852         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6853         * wcsmbs/wcslen.c (__wcslen): Likewise.
6854         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6855         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6856         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6857         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6858         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6859         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6860         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6861         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6862         * wcsmbs/wcstok.c (wcstok): Likewise.
6863         * wcsmbs/wctob.c (wctob): Likewise.
6864         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6865         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6866         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6867         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6868         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6869         * wcsmbs/wmemset.c (__wmemset): Likewise.
6870         * wctype/wcfuncs.c (__towlower): Likewise.
6871         (__towupper): Likewise.
6873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6874         (lll_unlock_elision): Add adapt_count parameter.
6876 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6878         * sysdeps/nptl/configure.ac: Do not give errors based on the
6879         results of top-level configure tests.
6880         * sysdeps/nptl/configure: Regenerated.
6882         * configure.ac (libc_cv_Bgroup): Remove configure test.
6883         * configure: Regenerated.
6884         * config.make.in (have-Bgroup): Remove variable.
6886         * configure.ac (sizeof_long_double): Remove configure test.
6887         * configure: Regenerated.
6888         * config.make.in (sizeof-long-double): Remove variable.
6890         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6891         * configure: Regenerated.
6892         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6893         variable.
6894         (exceptions): Likewise.
6895         * sysdeps/arm/configure: Regenerated.
6896         * config.make.in (exceptions): Remove variable.
6897         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6898         $(exceptions).
6899         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6900         (CFLAGS-vdprintf_chk.c): Likewise.
6901         (CFLAGS-printf_chk.c): Likewise.
6902         (CFLAGS-fprintf_chk.c): Likewise.
6903         (CFLAGS-vprintf_chk.c): Likewise.
6904         (CFLAGS-vfprintf_chk.c): Likewise.
6905         (CFLAGS-gets_chk.c): Likewise.
6906         (CFLAGS-fgets_chk.c): Likewise.
6907         (CFLAGS-fgets_u_chk.c): Likewise.
6908         (CFLAGS-fread_chk.c): Likewise.
6909         (CFLAGS-fread_u_chk.c): Likewise.
6910         (CFLAGS-wprintf_chk.c): Likewise.
6911         (CFLAGS-fwprintf_chk.c): Likewise.
6912         (CFLAGS-vwprintf_chk.c): Likewise.
6913         (CFLAGS-vfwprintf_chk.c): Likewise.
6914         (CFLAGS-fgetws_chk.c): Likewise.
6915         (CFLAGS-fgetws_u_chk.c): Likewise.
6916         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6917         (CFLAGS-fputc.c): Likewise.
6918         (CFLAGS-fputwc.c): Likewise.
6919         (CFLAGS-freopen64.c): Likewise.
6920         (CFLAGS-freopen.c): Likewise.
6921         (CFLAGS-fseek.c): Likewise.
6922         (CFLAGS-fseeko64.c): Likewise.
6923         (CFLAGS-fseeko.c): Likewise.
6924         (CFLAGS-ftello64.c): Likewise.
6925         (CFLAGS-ftello.c): Likewise.
6926         (CFLAGS-fwide.c): Likewise.
6927         (CFLAGS-genops.c): Likewise.
6928         (CFLAGS-getc.c): Likewise.
6929         (CFLAGS-getchar.c): Likewise.
6930         (CFLAGS-getwc.c): Likewise.
6931         (CFLAGS-getwchar.c): Likewise.
6932         (CFLAGS-iofclose.c): Likewise.
6933         (CFLAGS-iofflush.c): Likewise.
6934         (CFLAGS-iofgetpos64.c): Likewise.
6935         (CFLAGS-iofgetpos.c): Likewise.
6936         (CFLAGS-iofgets.c): Likewise.
6937         (CFLAGS-iofgetws.c): Likewise.
6938         (CFLAGS-iofputs.c): Likewise.
6939         (CFLAGS-iofputws.c): Likewise.
6940         (CFLAGS-iofread.c): Likewise.
6941         (CFLAGS-iofsetpos64.c): Likewise.
6942         (CFLAGS-iofsetpos.c): Likewise.
6943         (CFLAGS-ioftell.c): Likewise.
6944         (CFLAGS-iofwrite.c): Likewise.
6945         (CFLAGS-iogetdelim.c): Likewise.
6946         (CFLAGS-iogetline.c): Likewise.
6947         (CFLAGS-iogets.c): Likewise.
6948         (CFLAGS-iogetwline.c): Likewise.
6949         (CFLAGS-ioputs.c): Likewise.
6950         (CFLAGS-ioseekoff.c): Likewise.
6951         (CFLAGS-ioseekpos.c): Likewise.
6952         (CFLAGS-iosetbuffer.c): Likewise.
6953         (CFLAGS-iosetvbuf.c): Likewise.
6954         (CFLAGS-ioungetc.c): Likewise.
6955         (CFLAGS-ioungetwc.c): Likewise.
6956         (CFLAGS-oldfileops.c): Likewise.
6957         (CFLAGS-oldiofclose.c): Likewise.
6958         (CFLAGS-oldiofgetpos64.c): Likewise.
6959         (CFLAGS-oldiofgetpos.c): Likewise.
6960         (CFLAGS-oldiofsetpos64.c): Likewise.
6961         (CFLAGS-oldiofsetpos.c): Likewise.
6962         (CFLAGS-peekc.c): Likewise.
6963         (CFLAGS-putc.c): Likewise.
6964         (CFLAGS-putchar.c): Likewise.
6965         (CFLAGS-putwc.c): Likewise.
6966         (CFLAGS-putwchar.c): Likewise.
6967         (CFLAGS-rewind.c): Likewise.
6968         (CFLAGS-wfileops.c): Likewise.
6969         (CFLAGS-wgenops.c): Likewise.
6970         (CFLAGS-oldiofopen.c): Likewise.
6971         (CFLAGS-iofopen.c): Likewise.
6972         (CFLAGS-iofopen64.c): Likewise.
6973         (CFLAGS-oldtmpfile.c): Likewise.
6974         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6975         (CFLAGS-fprintf.c): Likewise.
6976         (CFLAGS-printf.c): Likewise.
6977         (CFLAGS-vfwprintf.c): Likewise.
6978         (CFLAGS-vfscanf.c): Likewise.
6979         (CFLAGS-vfwscanf.c): Likewise.
6980         (CFLAGS-fscanf.c): Likewise.
6981         (CFLAGS-scanf.c): Likewise.
6982         (CFLAGS-isoc99_vfscanf.c): Likewise.
6983         (CFLAGS-isoc99_vscanf.c): Likewise.
6984         (CFLAGS-isoc99_fscanf.c): Likewise.
6985         (CFLAGS-isoc99_scanf.c): Likewise.
6986         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6987         (CFLAGS-isoc99_fwscanf.c): Likewise.
6988         (CFLAGS-isoc99_vwscanf.c): Likewise.
6989         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6991         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6992         after mkstemp64.
6993         * login/tst-utmp.c (do_prepare): Likewise.
6994         * rt/tst-aio.c (do_prepare): Likewise.
6995         * rt/tst-aio64.c (do_prepare): Likewise.
6997 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6999         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7000         (__lll_lock_elision): Remove adapt_count decrement...
7001         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7002         (__lll_trylock_elision): Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7004         (__lll_unlock_elision): ... to here. And utilize
7005         new adapt_count parameter.
7006         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7007         (__lll_unlock_elision): Update to include adapt_count
7008         parameter.
7009         (lll_unlock_elision): Pass pointer to adapt_count
7010         variable.
7012 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7014         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7015         Add elision adapt_count parameter to list of arguments.
7016         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7017         (lll_unlock_elision): Update with new parameter list
7018         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7019         (lll_unlock_elision): Likewise.
7020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7021         (lll_unlock_elision): Likewise.
7023 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7025         [BZ #19122]
7026         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7027         attribute_hidden.
7029         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7030         attribute_hidden.
7031         [IS_IN (rtld)] (__strdup): Likewise.
7032         [IS_IN (rtld)] (__strerror_r): Likewise.
7033         [IS_IN (rtld)] (__strsep_g): Likewise.
7034         [IS_IN (rtld)] (memchr): Likewise.
7035         [IS_IN (rtld)] (memcmp): Likewise.
7036         [IS_IN (rtld)] (memcpy): Likewise.
7037         [IS_IN (rtld)] (memmove): Likewise.
7038         [IS_IN (rtld)] (memset): Likewise.
7039         [IS_IN (rtld)] (rawmemchr): Likewise.
7040         [IS_IN (rtld)] (stpcpy): Likewise.
7041         [IS_IN (rtld)] (strchr): Likewise.
7042         [IS_IN (rtld)] (strcmp): Likewise.
7043         [IS_IN (rtld)] (strlen): Likewise.
7044         [IS_IN (rtld)] (strnlen): Likewise.
7045         [IS_IN (rtld)] (strsep): Likewise.
7047         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7048         attribute_hidden.
7049         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7051         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7052         attribute_hidden.
7053         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7055         * include/setjmp.h (__longjmp): Add attribute_hidden.
7056         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7058         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7059         Add attribute_hidden.
7061         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7062         [IS_IN (rtld)] (__open): Likewise.
7063         [IS_IN (rtld)] (__fcntl): Likewise.
7065         * include/dirent.h (__opendirat): Add attribute_hidden.
7066         (__getdents): Likewise.
7067         (__getdents64): Likewise.
7068         (__alloc_dir): Likewise.
7069         [IS_IN (rtld)] (__closedir): Likewise.
7070         [IS_IN (rtld)] (__fdopendir): Likewise.
7071         [IS_IN (rtld)] (__readdir): Likewise.
7072         [IS_IN (rtld)] (__readdir64): Likewise.
7073         [IS_IN (rtld)] (__rewinddir): Likewise.
7075         * include/dlfcn.h (_dl_catch_error): Moved to ...
7076         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7077         attribute_hidden.
7079         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7080         (_itoa_word): Likewise.
7082         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7083         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7084         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7085         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7086         (_dl_higher_prime_number): Likewise.
7087         (_dl_debug_printf_c): Likewise.
7088         (_dl_signal_cerror): Likewise.
7089         (_dl_receive_error): Likewise.
7090         (_dl_reloc_bad_type): Likewise.
7091         (_dl_resolve_conflicts): Likewise.
7092         (_dl_check_all_versions): Likewise.
7093         (_dl_check_map_versions): Likewise.
7094         (_dl_sort_fini): Likewise.
7095         (_dl_debug_initialize): Likewise.
7096         (_dl_init_paths): Likewise.
7097         (_dl_show_auxv): Likewise.
7098         (_dl_next_ld_env_entry): Likewise.
7099         (_dl_important_hwcaps): Likewise.
7100         (_dl_load_cache_lookup): Likewise.
7101         (_dl_update_slotinfo): Likewise.
7102         (_dl_show_scope): Likewise.
7104         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7105         attribute_hidden.
7106         (_wordcopy_fwd_dest_aligned): Likewise.
7107         (_wordcopy_bwd_aligned): Likewise.
7108         (_wordcopy_bwd_dest_aligned): Likewise.
7110         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7111         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7112         Likewise.
7113         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7114         Likewise.
7115         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7117 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7119         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7120         GCC 5 requirement.
7122 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7124         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7125         test.
7126         * sysdeps/i386/configure: Regenerated.
7127         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7128         code unconditional.
7130         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7131         test.
7132         (libc_cv_asm_popsection_directive): Likewise.
7133         * configure: Regenerated.
7134         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7135         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7136         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7137         (__make_section_unallocated): Make definition unconditional.
7138         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7139         Remove conditional definition.
7140         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7141         (__make_section_unallocated): Likewise.
7143         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7144         * configure: Regenerated.
7145         * config.make.in (static-libgcc): Remove variable.
7146         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7147         $(static-libgcc).
7148         (build-module-helper): Likewise.
7150         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7151         * configure: Regenerated.
7153 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7155         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7156         (struct char_buffer): New type.
7157         (char_buffer_start, char_buffer_size, char_buffer_error)
7158         (char_buffer_rewind, char_buffer_add): New functions.
7159         (ADDW): Remove macro, replaced by the char_buffer_add function.
7160         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7161         of extend_alloca.  Make control flow more explicit.
7163 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7165         [BZ #19137]
7166         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7167         Add -fomit-frame-pointer.
7168         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7170 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7172         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7173         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7174         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7175         only if !__GNUC_PREREQ (5,0).
7176         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7177         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7178         (INTERNAL_SYSCALL_NCS): Likewise.
7179         (LOADREGS_0): New macro for GCC 5.
7180         (ASMARGS_0): Likewise.
7181         (LOADREGS_1): Likewise.
7182         (ASMARGS_1): Likewise.
7183         (LOADREGS_2): Likewise.
7184         (ASMARGS_2): Likewise.
7185         (LOADREGS_3): Likewise.
7186         (ASMARGS_3): Likewise.
7187         (LOADREGS_4): Likewise.
7188         (ASMARGS_4): Likewise.
7189         (LOADREGS_5): Likewise.
7190         (ASMARGS_5): Likewise.
7191         (LOADREGS_6): Likewise.
7192         (ASMARGS_6): Likewise.
7194 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7196         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7197         -fomit-frame-pointer.
7198         (CFLAGS-mmap64.c): Likewise.
7199         (CFLAGS-semtimedop.c): Likewise.
7200         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7201         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7202         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7203         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7205 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7207         [BZ #18928]
7208         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7209         _dl_pointer_guard member.
7210         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7211         initializer.
7212         (security_init): Always set up pointer guard.
7213         (process_envvars): Do not process LD_POINTER_GUARD.
7215 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7217         [BZ #19134]
7218         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7219         (.LC2): Likewise.
7220         (.LC3): Likewise.
7221         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7223 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7225         [BZ #19129]
7226         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7227         r0 and r1.
7229 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7231         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7233 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7235         * include/stap-probe.h: Fix macro definition formatting.
7237 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7239         [BZ #19074]
7240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7241         load and store num_ifs.
7243 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7245         [BZ #18822]
7246         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7247         (__sched_getaffinity_new): Add libc_hidden_proto and
7248         libc_hidden_def.
7250 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7252         [BZ #19007]
7253         * scripts/localplt.awk: Also allow GOT references.
7254         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7255         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7256         with "+ REL R_386_GLOB_DAT".
7257         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7258         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7260 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7262         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7263         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7264         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7265         Likewise.
7266         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7267         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7268         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7269         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7270         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7271         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7272         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7273         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7277 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #19125]
7280         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7281         <math_private.h> and <stdint.h>.
7282         (__llround): Avoid conversions to and from long long int, and
7283         subtractions, where those might raise spurious exceptions.
7284         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7285         <math_private.h> and <stdint.h>.
7286         (__llroundf): Avoid conversions to and from long long int, and
7287         subtractions, where those might raise spurious exceptions.
7289 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7291         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7292         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7293         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7294         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7295         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7296         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7297         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7298         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7299         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7300         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7301         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7302         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7303         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7304         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7305         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7307         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7308         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7309         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7310         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7312         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7313         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7314         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7315         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7316         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7317         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7318         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7319         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7320         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7321         (__xstat64_conv): Likewise.
7322         (__xstat32_conv): Likewise.
7324 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7326         * sysdeps/unix/sysv/linux/sysdep.h: New file.
7327         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
7328         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
7329         <sysdeps/unix/sysv/linux/sysdep.h>.
7330         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7331         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
7332         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
7333         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7334         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7335         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
7336         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
7337         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7338         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7343         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7344         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7345         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7346         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
7347         (sysdep-dl-routines): Add sysdep.
7348         [$(subdir) == nptl] (libpthread-routines): Likewise.
7349         [$(subdir) == rt] (librt-routines): Likewise.
7350         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
7351         PIC when branching to SYSCALL_ERROR_LABEL.
7352         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
7353         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
7354         <sysdeps/unix/sysv/linux/sysdep.h>.
7355         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
7356         (SYSCALL_ERROR_ERRNO): Removed.
7357         (SYSCALL_ERROR_HANDLER): Changed to empty.
7358         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
7359         (__syscall_error): New prototype.
7360         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
7361         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
7363 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #19124]
7366         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
7367         (_dl_runtime_resolve_avx512): Make it a hidden alias of
7368         _dl_runtime_resolve_avx.
7369         (_dl_runtime_profile_avx512): Make it a hidden alias of
7370         _dl_runtime_profile_avx.
7372 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7374         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
7375         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
7376         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
7377         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
7379         [BZ #16422]
7380         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
7381         New configure test.
7382         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
7383         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
7384         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
7385         <math_private.h> and <stdint.h>.
7386         (__llrint): Avoid conversions to long long int where those might
7387         raise spurious exceptions.
7388         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
7389         <math_private.h> and <stdint.h>.
7390         (__llrintf): Avoid conversions to long long int where those might
7391         raise spurious exceptions.
7393 2015-10-12  Andreas Schwab  <schwab@suse.de>
7395         [BZ #18969]
7396         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
7397         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
7398         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
7399         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
7400         $(gen-locales).
7401         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
7402         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
7403         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
7404         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
7405         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
7406         $(gen-locales).
7407         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
7408         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
7409         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
7410         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
7411         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
7412         ($(objpfx)tst-ftell-active-handler.out)
7413         ($(objpfx)tst-ftell-append.out)
7414         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
7415         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
7416         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
7417         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
7418         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
7419         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
7420         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
7421         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
7422         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
7423         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
7424         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
7425         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
7426         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
7427         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
7428         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
7429         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
7430         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
7431         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
7432         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
7433         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
7434         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
7435         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
7436         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
7437         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
7438         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
7439         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
7440         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
7441         $(gen-locales).
7442         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
7443         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
7444         $(gen-locales).
7445         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
7446         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
7447         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
7448         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
7449         $(gen-locales).
7450         * libio/tst_wprintf2.c (main): Use explicit locale.
7451         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
7453 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7455         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
7456         __msg_sig_post.
7457         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
7459 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7461         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7462         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7464         * sysdeps/arm/libm-test-ulps: Regenerated.
7466         [BZ #15470]
7467         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
7469         [BZ #16399]
7470         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
7471         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
7472         and <fix-fp-int-convert-overflow.h>.
7473         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7475         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
7476         and <fix-fp-int-convert-overflow.h>.
7477         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
7478         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7479         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
7480         <fix-fp-int-convert-overflow.h>.
7481         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
7482         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7483         * sysdeps/ieee754/dbl-64/s_lround.c: Include
7484         <fix-fp-int-convert-overflow.h>.
7485         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
7486         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7487         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
7488         and <fix-fp-int-convert-overflow.h>.
7489         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7490         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7491         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
7492         <limits.h> and <fix-fp-int-convert-overflow.h>.
7493         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7494         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7495         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
7496         and <fix-fp-int-convert-overflow.h>.
7497         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
7498         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7499         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
7500         and <fix-fp-int-convert-overflow.h>.
7501         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
7502         FIX_DBL_LLONG_CONVERT_OVERFLOW.
7503         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
7505 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
7507         [BZ #18589]
7508         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
7509         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
7510         $(gen-locales).
7512 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7513             Phil Blundell <pb@pbcl.net>
7515         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
7516         * nptl/tst-cancel26.c: New file.
7517         * nptl/tst-cancel27.c: Likewise.
7519 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
7521         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
7522         __ILP32__ isn't defined.
7523         (lrint): Likewise.
7524         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
7525         (lrintf): Likewise.
7526         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
7527         (lrintl): Likewise.
7528         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
7529         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
7530         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
7532 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7534         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7535         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7537         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
7538         file.
7539         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
7540         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7542 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
7544         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
7545         configure test.
7546         * sysdeps/i386/configure: Regenerated.
7547         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
7548         configure test.
7549         * sysdeps/x86_64/configure: Regenerated.
7550         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
7551         Make code unconditional.
7553         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
7554         test.
7555         * sysdeps/i386/configure: Regenerated.
7556         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
7557         test.
7558         * sysdeps/x86_64/configure: Regenerated.
7559         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
7560         Make code unconditional.
7561         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7562         Likewise.
7563         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
7564         Likewise.
7565         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7566         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
7567         code unconditional.
7568         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7569         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
7570         code unconditional.
7571         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7572         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
7573         code unconditional.
7574         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
7575         code unconditional.
7576         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7577         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
7578         code unconditional.
7579         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7580         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
7581         code unconditional.
7582         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7583         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
7584         code unconditional.
7585         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7586         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
7587         code unconditional.
7588         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
7589         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
7591         [BZ #19095]
7592         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
7593         mantissa to long int before shifting left.
7595 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7597         [BZ #19094]
7598         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
7599         <limits.h>.
7600         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7601         when result overflows but exception would not result from cast.
7602         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
7603         <limits.h>.
7604         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7605         when result overflows but exception would not result from cast.
7606         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
7607         <limits.h>.
7608         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7609         when result overflows but exception would not result from cast.
7610         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
7611         <limits.h>.
7612         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7613         when result overflows but exception would not result from cast.
7614         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
7615         <limits.h>.
7616         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
7617         when result overflows but exception would not result from cast.
7618         * math/libm-test.inc (lrint_test_data): Add more tests.
7619         (llrint_test_data): Likewise.
7621 2015-10-08  Roland McGrath  <roland@hack.frob.com>
7623         [BZ #18872]
7624         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
7625         Move out from under [$(run-built-tests) = yes] conditional.
7626         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
7627         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
7629 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
7631         [BZ #18589]
7632         * string/Makefile (tests): Add bug-strcoll2.
7633         (LOCALES): Add cs_CZ.UTF-8.
7634         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
7636         [BZ #18589]
7637         * string/bug-strcoll2.c: New file.
7638         * locale/categories.def: Revert commit
7639         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
7640         * locale/langinfo.h: Likewise.
7641         * locale/localeinfo.h: Likewise.
7642         * locale/C-collate.c: Likewise.
7643         * locale/programs/ld-collate.c (collate_output): Likewise.
7644         * string/strcoll_l.c (STRDIFF): Likewise.
7645         (STRCOLL): Likewise.
7646         * wcsmbs/wcscoll_l.c: Likewise.
7648 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
7650         * math/libm-test.inc (lround_test_data): Do not expect the absence
7651         of "inexact" for some tests with non-integer arguments.
7652         (llround_test_data): Likewise.
7654         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
7655         test.
7656         (libc_cv_cc_sse2avx): Likewise.
7657         * sysdeps/i386/configure: Regenerated.
7658         * sysdeps/i386/i686/multiarch/Makefile
7659         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
7660         [$(subdir) = math].
7661         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
7662         code unconditional.
7663         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7664         Likewise.
7665         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
7666         Likewise.
7667         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7668         Likewise.
7669         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
7670         test.
7671         (libc_cv_cc_sse2avx): Likewise.
7672         * sysdeps/x86_64/configure: Regenerated.
7673         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
7674         unconditional.
7675         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
7676         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
7677         unconditional.
7678         (_dl_runtime_profile)
7679         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
7680         conditional code.
7681         * sysdeps/x86_64/fpu/multiarch/Makefile
7682         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
7683         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7684         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7685         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7686         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7687         * sysdeps/x86_64/fpu/multiarch/e_log.c
7688         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7689         * sysdeps/x86_64/fpu/multiarch/s_atan.c
7690         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7691         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
7692         Likewise.
7693         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
7694         Likewise.
7695         * sysdeps/x86_64/fpu/multiarch/s_sin.c
7696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7697         * sysdeps/x86_64/fpu/multiarch/s_tan.c
7698         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7699         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
7700         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
7701         (HAVE_SSE2AVX_SUPPORT): Likewise.
7703 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
7705         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
7706         instead of #pragma optimize.
7708 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7710         [BZ #17195]
7711         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
7712         as is similarly done in systrim and _int_free already.
7714 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7716         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
7718 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7720         [BZ #19088]
7721         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
7722         <limits.h>.
7723         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7724         overflows but exception would not result from cast.
7725         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
7726         and <limits.h>.
7727         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
7728         overflows but exception would not result from cast.
7729         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
7730         <limits.h>.
7731         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7732         overflows but exception would not result from cast.
7733         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
7734         <limits.h>.
7735         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7736         overflows but exception would not result from cast.
7737         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
7738         <limits.h>.
7739         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
7740         overflows but exception would not result from cast.
7741         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
7742         <limits.h>.
7743         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
7744         overflows but exception would not result from cast.
7745         * math/libm-test.inc (lround_test_data): Add more tests.
7746         (llround_test_data): Likewise.
7748 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
7750         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
7751         (CFLAGS-ialloc.c): Ditto.
7752         (CFLAGS-scheck.c): Ditto.
7754 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
7756         [BZ #19086]
7757         * manual/filesys.texi (Storage Allocation): Fix argument order for
7758         posix_fallocate64.
7760 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7762         [BZ #19085]
7763         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
7764         exponent below 48 inside case for non-overflowing exponent.
7765         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
7767 2015-10-07  Florian Weimer  <fweimer@redhat.com>
7769         * iconvdata/cp737.h (from_idx): Add const.
7770         * iconvdata/cp775.h (from_idx): Likewise.
7772 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
7774         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
7775         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
7776         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
7778         [BZ #19079]
7779         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
7780         file, conditioned on [!_LP64].
7781         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
7782         [!_LP64] (__lround): Do not define as function or alias.
7783         [!_LP64] (lround): Likewise.
7784         [!_LP64] (__lroundl): Likewise.
7785         [!_LP64] (lroundl): Likewise.
7786         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
7787         macro.
7788         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7789         Likewise.
7791 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7793         * math/libm-test.inc (lrint_test_data): Add more tests.
7794         (llrint_test_data): Likewise.
7795         (lround_test_data): Likewise.
7796         (llround_test_data): Likewise.
7798         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
7799         (llrint_test_data): Add tests used for lrint.
7801         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
7802         test.
7803         * sysdeps/i386/configure: Regenerated.
7804         * sysdeps/i386/i686/multiarch/Makefile
7805         [$(config-cflags-sse4) = yes]: Make code unconditional.
7806         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7807         Likewise.
7808         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
7809         Likewise.
7810         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
7811         test.
7812         * sysdeps/x86_64/configure: Regenerated.
7813         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
7814         Make code unconditional.
7815         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
7816         Likewise.
7817         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
7818         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
7820         * scripts/rpm2dynsym.sh: Remove file.
7822 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7824         * configure.ac (libc_cv_cxx_thread_local): Define.
7825         * configure: Regenerate.
7826         * config.make.in (have-cxx-thread_local): Define.
7827         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
7828         (LDLIBS-tst-thread_local1): Define.
7829         (tests): Add tst-thread_local1.
7830         [have-cxx-thread_local != yes] (tests-unsupported): Add
7831         tst-thread_local1.
7832         * nptl/tst-thread_local1.cc: New file.
7834 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
7836         [BZ #19078]
7837         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
7838         (u_thres): Likewise.
7839         (__expl): Determine whether to call __kernel_standard_l based on
7840         value of result, not argument.
7842         * math/libm-test.inc (scalb_test_data): Add more expectations for
7843         the "inexact" exception.
7845         [BZ #19077]
7846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
7847         0.0L for argument 1.0L.
7849         [BZ #19076]
7850         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
7851         constant 0.0L when computing infinite result.
7853 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7855         [BZ #10432]
7856         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7857         malloc_usable_size.
7859 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7861         [BZ #19018]
7862         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7863         Mangle function pointer before storing it.
7864         (__call_tls_dtors): Demangle function pointer before calling it.
7866 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7868         [BZ #19012]
7869         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7870         Clean up on failure.
7872 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7874         [BZ #19071]
7875         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7876         long int variable to store possibly incremented high part of
7877         mantissa.
7878         * math/libm-test.inc (lround_test_data): Add tests used for
7879         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7880         for tests requiring 64-bit long.  Do not condition tests on
7881         [TEST_FLOAT] unnecessarily.
7882         (llround_test_data): Add tests used for lround.  Add another
7883         expectation for the "inexact" exception.  Do not condition tests
7884         on [TEST_FLOAT] unnecessarily.
7886         [BZ #887]
7887         [BZ #19049]
7888         [BZ #19050]
7889         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7890         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7891         <fix-int-fp-convert-zero.h>.
7892         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7893         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7894         <fix-int-fp-convert-zero.h>.
7895         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7896         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7897         <fix-int-fp-convert-zero.h>.
7898         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7899         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7900         <fix-int-fp-convert-zero.h>.
7901         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7902         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7903         <fix-int-fp-convert-zero.h>.
7904         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7905         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7906         <fix-int-fp-convert-zero.h>.
7907         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7908         * sysdeps/ieee754/flt-32/s_erff.c: Include
7909         <fix-int-fp-convert-zero.h>.
7910         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7911         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7912         <fix-int-fp-convert-zero.h>.
7913         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7914         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7915         <fix-int-fp-convert-zero.h>.
7916         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7918         <fix-int-fp-convert-zero.h>.
7919         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7920         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7921         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7922         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7923         file.
7924         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7926 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7930 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7932         [BZ #19059]
7933         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7934         overflowing computation.
7935         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7936         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7937         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7938         Likewise.
7939         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7940         Likewise.
7941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7942         Likewise.
7943         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7944         Likewise.
7945         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7946         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7947         Likewise.
7948         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7949         Likewise.
7950         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7952         * nss/rewrite_field.c (__nss_rewrite_field): Use
7953         internal_function.
7954         * nss/valid_field.c (__nss_valid_field): Likewise.
7955         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7957 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7959         [BZ #18724]
7960         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7961         (__nss_invalid_field_characters, __nss_valid_field)
7962         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7963         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7964         tst-field.c: New file.
7965         * nss/Makefile (routines): Add valid_field, rewrite_field.
7966         (tests-static): Define unconditionally.
7967         (tests): Include tests-static.
7968         [build-static-nss] (tests-static): Use append.
7969         [build-static-nss] (tests): Remove modification.
7970         * nss/getent.c (print_group): Call putgrent.  Report error.
7971         (print_gshadow): Call putsgent.  Report error.
7972         (print_passwd): Call putpwent.  Report error.
7973         (print_shadow): Call putspent.  Report error.
7974         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7975         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7976         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7977         name, password, directory, shell fields for valid syntax.  Rewrite
7978         GECOS field to match syntax.
7979         * pwd/Makefile (tests): Add tst-putpwent.
7980         * pwd/tst-putpwent.c: New file.
7981         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7982         Check grName, grpasswd, gr_mem fields for valid syntax.
7983         Change loop variable i to size_t.
7984         * grp/Makefile (tests): Add tst-putgrent.
7985         * grp/tst-putgrent.c: New file.
7986         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7987         valid syntax.
7988         * shadow/Makefile (tests): Add tst-putspent.
7989         * shadow/tst-putspent.c: New file.
7990         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7991         sg_mem fields for valid syntax.
7992         * gshadow/Makefile (tests): Add tst-putsgent.
7993         * gshadow/tst-putsgent.c: New file.
7995 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7997         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7998         assembly instructions.
8000 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8002         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8003         prefix from operands.
8005 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8007         [BZ #16347]
8008         [BZ #19046]
8009         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8010         <libc-internal.h>.
8011         (MAXLGM): Do not use diagnostic control macros.
8012         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8013         threshold for ldbl-128ibm.
8014         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8015         instead of multiplying by log then subtracting.
8016         * math/auto-libm-test-in: Add more tests of lgamma.
8017         * math/auto-libm-test-out: Regenerated.
8019         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8020         (TYPE_HEX_DIG): Likewise.
8021         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8022         precisions when printing floating-point numbers.
8023         (check_float_internal): Likewise.
8025 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8027         [BZ #16620]
8028         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8029         of log (10) rounded downward to 48 bits.
8030         (log10_low): Use corresponding low part of log (10).
8032         [BZ #19032]
8033         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8034         compute result as (x - x) / (x - x) not as 0 / 0.
8035         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8036         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8038         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8039         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8040         and expm1.
8041         * math/auto-libm-test-out: Regenerated.
8042         * math/libm-test.inc (acos_test_data): Add more tests.
8043         (asin_test_data): Likewise.
8044         (asinh_test_data): Likewise.
8045         (atan_test_data): Likewise.
8046         (atanh_test_data): Likewise.
8047         (atan2_test_data): Likewise.
8048         (cbrt_test_data): Likewise.
8049         (ceil_test_data): Likewise.
8050         (copysign_test_data): Likewise.
8051         (cos_test_data): Likewise.
8052         (cosh_test_data): Likewise.
8053         (erf_test_data): Likewise.
8054         (erfc_test_data): Likewise.
8055         (exp_test_data): Likewise.
8056         (exp10_test_data): Likewise.
8057         (exp2_test_data): Likewise.
8058         (expm1_test_data): Likewise.
8059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8061 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8063         [BZ #19006]
8064         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8065         to ...
8066         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8067         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8068         to ...
8069         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8070         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8071         to ...
8072         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8073         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8074         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8075         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8076         to ...
8077         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8078         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8079         Moved to ...
8080         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8081         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8082         Moved to ...
8083         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8084         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8085         to ...
8086         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8087         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8088         Moved to ...
8089         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8091         to ...
8092         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8093         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8094         Removed.
8095         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8100         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8101         Likewise.
8102         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8105         Likewise.
8106         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8107         Likewise.
8108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8109         Likewise.
8110         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8111         Likewise.
8112         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8113         Likewise.
8114         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8115         Likewise.
8116         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8119         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8120         Likewise.
8121         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8122         Likewise.
8123         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8124         Likewise.
8125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8126         Likewise.
8127         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8128         Likewise.
8129         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8130         Replace ../i486/pthread_cond_timedwait.S with
8131         ../pthread_cond_timedwait.S.
8133 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8135         * math/libm-test.inc (acos_test_data): Refine expectations for
8136         errno and "inexact" exceptions.
8137         (acosh_test_data): Likewise.
8138         (asin_test_data): Likewise.
8139         (asinh_test_data): Likewise.
8140         (atan_test_data): Likewise.
8141         (atanh_test_data): Likewise.
8142         (atan2_test_data): Likewise.
8143         (cbrt_test_data): Likewise.
8144         (ceil_test_data): Likewise.
8145         (copysign_test_data): Likewise.
8146         (cosh_test_data): Likewise.
8147         (erf_test_data): Likewise.
8148         (erfc_test_data): Likewise.
8149         (exp_test_data): Likewise.
8150         (exp10_test_data): Likewise.
8151         (exp2_test_data): Likewise.
8152         (expm1_test_data): Likewise.
8153         (fabs_test_data): Likewise.
8154         (floor_test_data): Likewise.
8155         (fma_test_data): Likewise.
8156         (fmax_test_data): Likewise.
8157         (fmin_test_data): Likewise.
8158         (fmod_test_data): Likewise.
8159         (fpclassify_test_data): Likewise.
8160         (frexp_test_data): Likewise.
8161         (hypot_test_data): Likewise.
8162         (ilogb_test_data): Likewise.
8163         (isgreater_test_data): Likewise.
8164         (isgreaterequal_test_data): Likewise.
8165         (isinf_test_data): Likewise.
8166         (isless_test_data): Likewise.
8167         (islessequal_test_data): Likewise.
8168         (islessgreater_test_data): Likewise.
8169         (isnan_test_data): Likewise.
8170         (isnormal_test_data): Likewise.
8171         (issignaling_test_data): Likewise.
8172         (isunordered_test_data): Likewise.
8173         (j0_test_data): Likewise.
8174         (j1_test_data): Likewise.
8175         (jn_test_data): Likewise.
8176         (lgamma_test_data): Likewise.
8177         (lrint_test_data): Likewise.
8178         (llrint_test_data): Likewise.
8179         (log_test_data): Likewise.
8180         (log10_test_data): Likewise.
8181         (log1p_test_data): Likewise.
8182         (log2_test_data): Likewise.
8183         (logb_test_data): Likewise.
8184         (lround_test_data): Likewise.
8185         (llround_test_data): Likewise.
8186         (modf_test_data): Likewise.
8187         (nearbyint_test_data): Likewise.
8188         (nextafter_test_data): Likewise.
8189         (nexttoward_test_data): Likewise.
8190         (pow_test_data): Likewise.
8191         (remainder_test_data): Likewise.
8192         (remquo_test_data): Likewise.
8193         (rint_test_data): Likewise.
8194         (round_test_data): Likewise.
8195         (signbit_test_data): Likewise.
8196         (sinh_test_data): Likewise.
8197         (sqrt_test_data): Likewise.
8198         (tanh_test_data): Likewise.
8199         (tgamma_test_data): Likewise.
8200         (trunc_test_data): Likewise.
8201         (y0_test_data): Likewise.
8202         (y1_test_data): Likewise.
8203         (yn_test_data): Likewise.
8204         (significand_test_data): Likewise.
8206 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8208         * manual/filesys.texi (Storage Allocation): Document that
8209         posix_fallocate emulation fails when fd is open with O_WRONLY.
8211 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8213         [BZ #19016]
8214         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8215         allow more cases with X^2 + Y^2 >= 0.5.
8216         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8217         normal element in sum instead of special-casing based on values of
8218         arguments.
8219         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8220         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8221         -1 as normal element in sum instead of special-casing based on
8222         values of arguments.
8223         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8224         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8225         (__x2y2m1): Update comment.
8226         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8227         as normal element in sum instead of special-casing based on values
8228         of arguments.
8229         * math/s_clog.c (__clog): Handle more cases using log1p without
8230         hypot.
8231         * math/s_clog10.c (__clog10): Likewise.
8232         * math/s_clog10f.c (__clog10f): Likewise.
8233         * math/s_clog10l.c (__clog10l): Likewise.
8234         * math/s_clogf.c (__clogf): Likewise.
8235         * math/s_clogl.c (__clogl): Likewise.
8236         * math/auto-libm-test-in: Add more tests of clog and clog10.
8237         * math/auto-libm-test-out: Regenerated.
8238         * sysdeps/i386/fpu/libm-test-ulps: Update.
8239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241 2015-09-28  Martin Sebor  <msebor@redhat.com>
8243         [BZ #18969]
8244         * string/Makefile (LOCALES): Define.
8245         (gen-locales.mk): Include.
8246         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8247         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8248         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8249         on setlocale failure.
8251 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8253         [BZ #18985]
8254         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8255         (__strftime_internal): Likewise.
8256         * time/tst-strftime.c (do_bz18985): New test.
8257         (do_test): Call it.
8259 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8261         [BZ #18956]
8262         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8263         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8264         extracting high part.
8265         * math/auto-libm-test-in: Add another test of pow.
8266         * math/auto-libm-test-out: Regenerated.
8267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8269 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8271         [BZ #18825]
8272         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8273         New macro.
8274         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8275         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8276         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8277         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8278         DBL_NARROW_EVAL, reloading the PIC register as needed.
8279         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8280         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8281         FLT_NARROW_EVAL.  Use separate return path for case when first
8282         argument is NaN.
8283         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8284         DEFINE_LDBL_MIN.
8285         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8286         PIC register.
8287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8288         math_check_force_underflow_nonneg.
8289         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8290         underflow for subnormal result.
8291         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8293         math_check_force_underflow_nonneg.
8294         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8295         math_check_force_underflow.
8296         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8297         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8298         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8299         DEFINE_LDBL_MIN.
8300         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8301         * math/auto-libm-test-in: Add more tests of pow.
8302         * math/auto-libm-test-out: Regenerated.
8304 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8306         * nss/bug17079.c (init_test_items): Add diagnostic for
8307         inconsistent entries.
8308         (test_buffer_size): Skip inconsistent entries.
8310 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8312         [BZ #13304]
8313         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8314         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8315         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8317         [BZ #13304]
8318         * sysdeps/microblaze/s_fma.c: New file.
8319         * sysdeps/microblaze/s_fmaf.c: Likewise.
8320         * sysdeps/microblaze/sfp-machine.h: Likewise.
8322 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8324         [BZ #17250]
8325         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
8326         member.
8328 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8330         [BZ #18803]
8331         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
8332         (MO): New macro.
8333         (__ieee754_hypot) [PIC]: Load PIC register.
8334         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
8335         DBL_NARROW_EVAL.
8336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
8337         math_check_force_underflow_nonneg in case where result might be
8338         tiny.
8339         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8340         Likewise.
8341         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8342         Likewise.
8343         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
8344         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
8345         * math/auto-libm-test-in: Add more tests of hypot.
8346         * math/auto-libm-test-out: Regenerated.
8348 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
8350         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
8352 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
8354         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
8355         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
8356         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8357         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8358         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
8359         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8360         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8362         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
8363         LOAD_PIC_REG.
8365         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
8366         (FLT_CHECK_FORCE_UFLOW): Likewise.
8367         (DBL_CHECK_FORCE_UFLOW): Likewise.
8368         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
8369         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
8370         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
8371         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8372         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8373         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8374         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8375         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
8376         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
8377         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8378         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
8379         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
8380         (flt_min): Replace with use of DEFINE_FLT_MIN.
8381         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
8382         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
8383         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8384         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
8385         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
8386         (flt_min): Replace with use of DEFINE_FLT_MIN.
8387         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
8388         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
8389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8390         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
8391         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
8392         (flt_min): Replace with use of DEFINE_FLT_MIN.
8393         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
8394         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
8395         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
8396         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
8397         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
8398         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
8399         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
8400         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
8401         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8402         (__atan): Use DBL_CHECK_FORCE_UFLOW.
8403         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
8404         (flt_min): Replace with use of DEFINE_FLT_MIN.
8405         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
8406         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
8407         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8408         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
8409         main computation.
8410         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
8411         (flt_min): Replace with use of DEFINE_FLT_MIN.
8412         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
8413         main computation.
8414         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
8415         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8416         (MO): New macro.
8417         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
8418         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
8419         (flt_min): Replace with use of DEFINE_FLT_MIN.
8420         (MO): New macro.
8421         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
8422         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
8423         (__log1pl): Use MO.
8425         [BZ #19003]
8426         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
8427         $(config-cflags-nofma).
8429 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8431         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8433 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
8435         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
8436         (TWO127): Likewise.
8438         * sysdeps/generic/math_private.h (fabs_tg): New macro.
8439         (min_of_type): Likewise.
8440         (math_check_force_underflow): Likewise.
8441         (math_check_force_underflow_nonneg): Likewise.
8442         (math_check_force_underflow_complex): Likewise.
8443         * math/e_exp2l.c (__ieee754_exp2l): Use
8444         math_check_force_underflow_nonneg.
8445         * math/k_casinh.c (__kernel_casinh): Likewise.
8446         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8447         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8448         * math/s_catan.c (__catan): Use
8449         math_check_force_underflow_complex.
8450         * math/s_catanf.c (__catanf): Likewise.
8451         * math/s_catanh.c (__catanh): Likewise.
8452         * math/s_catanhf.c (__catanhf): Likewise.
8453         * math/s_catanhl.c (__catanhl): Likewise.
8454         * math/s_catanl.c (__catanl): Likewise.
8455         * math/s_ccosh.c (__ccosh): Likewise.
8456         * math/s_ccoshf.c (__ccoshf): Likewise.
8457         * math/s_ccoshl.c (__ccoshl): Likewise.
8458         * math/s_cexp.c (__cexp): Likewise.
8459         * math/s_cexpf.c (__cexpf): Likewise.
8460         * math/s_cexpl.c (__cexpl): Likewise.
8461         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
8462         * math/s_clog10.c (__clog10): Likewise.
8463         * math/s_clog10f.c (__clog10f): Likewise.
8464         * math/s_clog10l.c (__clog10l): Likewise.
8465         * math/s_clogf.c (__clogf): Likewise.
8466         * math/s_clogl.c (__clogl): Likewise.
8467         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
8468         * math/s_csinf.c (__csinf): Likewise.
8469         * math/s_csinh.c (__csinh): Likewise.
8470         * math/s_csinhf.c (__csinhf): Likewise.
8471         * math/s_csinhl.c (__csinhl): Likewise.
8472         * math/s_csinl.c (__csinl): Likewise.
8473         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
8474         * math/s_csqrtf.c (__csqrtf): Likewise.
8475         * math/s_csqrtl.c (__csqrtl): Likewise.
8476         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
8477         * math/s_ctanf.c (__ctanf): Likewise.
8478         * math/s_ctanh.c (__ctanh): Likewise.
8479         * math/s_ctanhf.c (__ctanhf): Likewise.
8480         * math/s_ctanhl.c (__ctanhl): Likewise.
8481         * math/s_ctanl.c (__ctanl): Likewise.
8482         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
8483         instead of volatile.
8484         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
8485         math_check_force_underflow.
8486         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8487         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
8488         volatile when forcing underflow.
8489         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8490         math_check_force_underflow_nonneg.
8491         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8492         Likewise.
8493         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
8494         math_check_force_underflow.
8495         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8496         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8497         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8498         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
8499         math_check_force_underflow_nonneg.
8500         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
8501         math_check_force_underflow.
8502         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
8503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
8504         instead of volatile.
8505         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
8506         math_check_force_underflow.
8507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8508         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8509         math_check_force_underflow_nonneg.
8510         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
8511         math_check_force_underflow.
8512         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
8513         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8514         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
8515         math_check_force_underflow_nonneg.
8516         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8517         Likewise.
8518         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
8519         math_check_force_underflow.
8520         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8521         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8522         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
8523         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
8524         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8525         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
8526         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
8527         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
8528         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8529         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
8530         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
8531         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
8532         Likewise.
8533         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
8534         math_check_force_underflow_nonneg.
8535         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8536         Likewise.
8537         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
8538         math_check_force_underflow.
8539         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8540         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
8541         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8542         Likewise.
8543         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
8544         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
8545         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
8546         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
8547         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
8548         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
8549         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
8550         instead of volatile.
8551         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
8552         math_check_force_underflow.
8553         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
8554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
8555         math_check_force_underflow.
8556         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
8557         Likewise.
8558         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8559         Use math_check_force_underflow_nonneg.
8560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
8561         math_check_force_underflow.
8562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8563         Likewise.
8564         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8565         Likewise.
8566         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8567         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8568         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
8571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8572         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
8573         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
8574         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
8575         math_check_force_underflow_nonneg.
8576         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
8577         math_check_force_underflow.
8578         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8579         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
8580         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
8581         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
8582         math_check_force_underflow_nonneg.
8583         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
8584         math_check_force_underflow.
8585         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
8586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
8587         instead of volatile.
8588         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
8589         math_check_force_underflow.
8591         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
8592         * stdlib/strtod_l.c: Include <math_private.h>.
8593         (overflow_value): Use math_narrow_eval.
8594         (underflow_value): Likewise.
8595         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8596         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8597         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
8598         (__ieee754_gamma_r): Likewise.
8599         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
8600         Likewise.
8601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8602         Likewise.
8603         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
8604         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
8605         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
8606         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
8607         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8608         (__ieee754_gammaf_r): Likewise.
8609         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8610         Likewise.
8611         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
8612         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
8613         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
8614         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
8615         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
8616         volatile.
8617         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
8618         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
8619         math_narrow_eval.
8620         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8621         Likewise.
8622         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8623         Likewise.
8624         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
8625         Likewise.
8626         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
8627         volatile.
8628         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
8629         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
8630         math_narrow_eval.
8631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8632         Likewise.
8633         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8634         Likewise.
8636 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
8638         * nptl/Versions: Remove ignored symbols.
8640 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8642         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
8643         * nss/Makefile (tests): Update.
8645 2015-09-22  Florian Weimer  <fweimer@redhat.com>
8647         * nss/bug18287.c: New file.
8648         * nss/Makefile (tests): Add bug18287.
8650 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8652         * mach/Versions (__mach_host_self_): Add symbol.
8654 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8656         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
8657         vm_page_size.
8659 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8661         Really fix sysdeps/i386/fpu/s_scalbn.S build
8663         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
8664         (libc: GLIBC_2_22): Remove unused version set.
8666 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8668         * config.make.in (enable-timezone-tools): New variable.
8669         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
8670         (enable_timezone_tools): Export to generated files.
8671         * configure: Regenerate.
8672         * INSTALL: Regenerate.
8673         * manual/install.texi (--disable-timezone-tools): Document new flag.
8674         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
8675         ifeq ($(enable-timezone-tools),yes) check.
8677 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8679         * timezone/Makefile: Revert previous change.
8681         [BZ #18980]
8682         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
8683         (DEFINE_DBL_MIN): Likewise.
8684         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8685         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
8686         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8687         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
8688         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
8689         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8690         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8691         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
8692         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
8693         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8694         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8695         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
8696         (flt_min): Replace with use of DEFINE_FLT_MIN.
8697         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8698         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
8699         (dbl_min): Replace with use of DEFINE_DBL_MIN.
8700         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
8701         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
8702         (flt_min): Replace with use of DEFINE_FLT_MIN.
8703         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8704         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
8705         (flt_min): Replace with use of DEFINE_FLT_MIN.
8706         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
8707         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
8708         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
8709         (__ieee754_hypot): Use DBL_NARROW_EVAL.
8710         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
8711         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
8712         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
8713         (__ieee754_pow): Use DBL_NARROW_EVAL.
8714         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
8715         (__ieee754_powf): Use FLT_NARROW_EVAL.
8716         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
8717         (__ieee754_expf_sse2): Convert double-precision result to single
8718         precision.
8719         * sysdeps/i386/fpu/libm-test-ulps: Update.
8721 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8723         * timezone/Makefile: Ignore unused variable errors due to private.h
8724         (time_t_min) and (time_t_max).
8725         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
8726         Likewise.
8728 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8730         [BZ #18981]
8731         * sysdeps/i386/fpu/i386-math-asm.h: New file.
8732         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
8733         (__ieee754_scalb): Use DBL_NARROW_EVAL.
8734         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8735         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
8736         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
8737         (__scalbn): Use DBL_NARROW_EVAL.
8738         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
8739         (__scalbnf): Use FLT_NARROW_EVAL.
8741 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8743         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
8744         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
8745         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
8746         * stdio-common/printf_fp.c (___printf_fp):
8747         Use signbit to get the sign. Use isinf macro to allow inlining.
8748         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
8749         * stdio-common/printf_size.c (__printf_size): Likewise.
8751 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
8753         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
8755 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
8757         [BZ #18980]
8758         * sysdeps/generic/math_private.h: Include <float.h>.
8759         (math_narrow_eval): New macro.
8760         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
8761         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
8762         math_narrow_eval on overflowing return value.
8763         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
8764         Likewise.
8765         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8766         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
8767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
8768         Likewise.
8769         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
8771 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8773         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
8774         * math/Makefile: Remove isinf_ns.c.
8775         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
8776         * math/multc3.c (__multc3): Likewise.
8777         * math/s_casin.c (__casin): Likewise.
8778         * math/s_casinf.c (__casinf): Likewise.
8779         * math/s_casinl.c (__casinl): Likewise.
8780         * math/s_cproj.c (__cproj): Likewise.
8781         * math/s_cprojf.c (__cprojf): Likewise.
8782         * math/s_cprojl.c (__cprofl): Likewise.
8783         * math/s_ctan.c (__ctan): Likewise.
8784         * math/s_ctanf.c (__ctanf): Likewise.
8785         * math/s_ctanh.c (__ctanh): Likewise.
8786         * math/s_ctanhf.c (__ctanhf): Likewise.
8787         * math/s_ctanhl.c (__ctanhl): Likewise.
8788         * math/s_ctanl.c (__ctanl): Likewise.
8789         * math/w_fmod.c (__fmod): Likewise.
8790         * math/w_fmodf.c (__fmodf): Likewise.
8791         * math/w_fmodl.c (_fmodl): Likewise.
8792         * math/w_remainder.c (__remainder): Likewise.
8793         * math/w_remainderf.c (__remainderf): Likewise.
8794         * math/w_remainderl.c (__remainderl): Likewise.
8795         * math/w_scalb.c (__scalb): Likewise.
8796         * math/w_scalbf.c (__scalbf): Likewise.
8797         * math/w_scalbl.c (__scalbl): Likewise.
8798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
8799         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
8800         with isinf.
8801         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
8802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
8803         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
8804         __isinf_nsf with isinf.
8805         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
8806         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
8807         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
8808         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
8809         with isinf.
8810         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
8811         __isinf_nsl with isinf.
8812         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
8813         with isinf.
8814         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
8815         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
8816         __isinf_nsl with isinf.
8817         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
8818         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
8819         with isinf.
8821 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8823         * resolv/base64.c (rcsid): Remove unused static.
8824         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
8825         static.  (tqpi1): Likewise.
8826         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
8827         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
8828         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
8829         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
8830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
8831         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
8832         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
8833         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
8834         Likewise.
8836 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
8838         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
8839         <nptl/pthreadP.h>.
8840         (_longjmp_unwind): Use __libc_ptf_call.
8841         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
8843 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
8845         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
8846         * sysdeps/arm/__longjmp.S: Likewise.
8848 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8850         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
8851         Use __builtin_signbit.
8852         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8853         Use __builtin_signbitf.
8854         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8855         Use __builtin_signbitl.
8856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8857         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8859 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8861         [BZ #15367]
8862         [BZ #17441]
8864         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8865         * math/math.h (fpclassify): Use __builtin_fpclassify when
8866         available.  (signbit): Use __builtin_signbit(f/l).
8867         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8868         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8869         (isinf): Use __builtin_isinf_sign.
8871 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8873         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8874         * benchtests/bench-math-inlines.c: New benchmark.
8875         * benchtests/bench-util.h: New file.
8876         * benchtests/bench-util.c: New file.
8877         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8879 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8881         * elf/tst-dlmopen1.c: Define TEST_SO.
8882         (do_test): Use TEST_SO.
8884         * elf/dl-load.c: Include libc-internal.h.
8885         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8887 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8889         [BZ #17887]
8890         * time/strptime_l.c (__strptime_internal): Make %z accept
8891         [+-]HH:MM time zones.
8893 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8895         [BZ #17886]
8896         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8897         valid time zone.
8899 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8901         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8902         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8903         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8904         (__ASSUME_FDATASYNC): Delete.
8906 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8908         * conform/linknamespace.pl: Require weak undefined symbols to be
8909         in the standard namespace.
8910         (%strong_syms): Rename to %seen_syms.
8911         (%strong_seen): Rename to %seen_where.
8913 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8915         [BZ #18970]
8916         * misc/error.c (error): Replace pthread_setcancelstate with
8917         __pthread_setcancelstate.
8918         (error_at_line): Likewise.
8919         * posix/wordexp.c (parse_comm): Likewise.
8920         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8921         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8922         (__pthread_setcancelstate): This.
8923         (pthread_setcancelstate): Add an alias.
8924         * nptl/nptl-init.c (pthread_functions): Replace
8925         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8926         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8927         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8928         hidden_proto.
8929         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8930         it with hidden_def.
8931         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8932         (pthread_setcancelstate): Renamed to ...
8933         (__pthread_setcancelstate): This.
8934         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8935         __libc_ptf_call with __pthread_setcancelstate.
8937 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8938             Andreas Schwab  <schwab@suse.de>
8940         [BZ #17118]
8941         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8942         result when imaginary part of argument is infinite using sine and
8943         cosine.
8944         * math/s_ctanf.c (__ctanf): Likewise.
8945         * math/s_ctanl.c (__ctanl): Likewise.
8946         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8947         of result when real part of argument is infinite using sine and
8948         cosine.
8949         * math/s_ctanhf.c (__ctanhf): Likewise.
8950         * math/s_ctanhl.c (__ctanhl): Likewise.
8951         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8952         (ctanh_test_data): Add more tests of ctanh.
8954 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8956         [BZ #15384]
8957         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8958         bit-mask as in subtraction.
8959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8960         Likewise.
8961         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8962         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8963         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8965         [BZ #18951]
8966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8967         underflow exception for small results.
8968         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8969         Likewise.
8970         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8971         Likewise.
8972         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8973         Likewise.
8974         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8975         Likewise.
8976         * math/auto-libm-test-in: Add more tests of tgamma.
8977         * math/auto-libm-test-out: Regenerated.
8979 2015-09-17  Andreas Schwab  <schwab@suse.de>
8981         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8983 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8985         [BZ #18977]
8986         * math/bits/mathcalls.h
8987         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8988         not declare.
8989         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8990         Likewise.
8991         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8992         Likewise.
8993         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8994         Likewise.
8995         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8996         Likewise.
8997         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8998         Likewise.
8999         * conform/data/math.h-data
9000         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9001         function.
9002         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9003         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9004         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9005         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9006         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9007         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9008         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9009         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9010         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9011         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9012         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9014         [BZ #6803]
9015         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9016         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9017         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9018         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9019         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9020         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9021         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9022         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9023         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9024         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9025         Likewise.
9026         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9027         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9030         long_double_symbol calls.
9031         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9032         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9033         strong alias of __ldexpl.
9034         (scalbnl): Define using long_double_symbol.
9035         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9036         Remove alias.
9037         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9038         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9039         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9040         (scalbln_test_data): Add more errno expectations.
9042 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9044         Cache the host port like we cache the task port.  This way we do not
9045         need to call the kernel just to get the port.  Furthermore, we no
9046         longer increase the reference count on every invocation of
9047         `mach_host_self'.
9049         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9050         Protect declarations against the macro expansion.
9051         * mach/mach_init.c (__mach_host_self_): New variable.
9052         (mach_init): Initialize `__mach_host_self_'.
9053         * mach/mach_init.h (__mach_host_self_): New declaration.
9054         (__mach_host_self, mach_host_self): New macros.
9055         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9056         Release reference.
9058 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9060         [BZ #4404]
9061         * po/de.po: Update from Translation Project.
9063         [BZ #16415]
9064         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9065         (__expm1l): Remove code to handle positive infinity and overflow.
9066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9067         variable.
9068         (__expm1l): Remove code to handle positive infinity and overflow.
9070 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9071             Paul Pluzhnikov  <ppluzhnikov@google.com>
9073         [BZ #18872]
9074         * stdio-common/Makefile (tst-printf-bz18872): New test.
9075         (tst-printf-bz18872-mem.out): Likewise.
9076         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9077         * stdio-common/vfprintf.c: Fix memory leaks.
9079 2015-09-16  Andreas Schwab  <schwab@suse.de>
9081         [BZ #17244]
9082         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9083         Remove extra va_start/va_end calls.
9085         [BZ #17243]
9086         * posix/execl.c (execl): Add missing va_end.
9087         * posix/execle.c (execle): Likewise.
9088         * posix/execlp.c (execlp): Likewise.
9090 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9092         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9093         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9095 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9097         [BZ #18967]
9098         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9099         undefine around includes of <bits/mathcalls.h>.
9100         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9101         not declare function.
9102         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9103         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9104         (scalb): Likewise.
9105         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9106         not define macro.
9107         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9108         variable.
9109         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9110         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9111         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9113         [BZ #18857]
9114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9115         return non-finite argument without doing ordered comparisons on
9116         it.
9118         [BZ #16296]
9119         * math/fenv.h (fegetround): Use __attribute_pure__.
9120         * include/fenv.h (__fegetround): Likewise.
9122         [BZ #18595]
9123         * math/s_ctan.c (__ctan): Force underflow exception for results
9124         whose real or imaginary part has small absolute value.
9125         * math/s_ctanf.c (__ctanf): Likewise.
9126         * math/s_ctanh.c (__ctanh): Likewise.
9127         * math/s_ctanhf.c (__ctanhf): Likewise.
9128         * math/s_ctanhl.c (__ctanhl): Likewise.
9129         * math/s_ctanl.c (__ctanl): Likewise.
9130         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9131         and ctanh.  Add more tests of ctan and ctanh.
9133         [BZ #15918]
9134         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9135         handling of cases where one argument is an infinity.
9137         [BZ #18875]
9138         [BZ #18966]
9139         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9140         (MO): New macro.
9141         (__ieee754_exp10): For small results, force underflow exception
9142         and remove excess range and precision from return value.
9143         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9144         (MO): New macro.
9145         (__ieee754_exp10f): For small results, force underflow exception
9146         and remove excess range and precision from return value.
9147         * math/auto-libm-test-in: Add more tests of exp10.
9148         * math/auto-libm-test-out: Regenerated.
9150 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9152         [BZ #18875]
9153         [BZ #18961]
9154         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9155         (MO): New macro.
9156         (__ieee754_exp): For small results, force underflow exception and
9157         remove excess range and precision from return value.
9158         (__exp_finite): Likewise.
9159         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9160         (MO): New macro.
9161         (__ieee754_expf): For small results, force underflow exception and
9162         remove excess range and precision from return value.
9163         (__expf_finite): Likewise.
9164         * math/auto-libm-test-in: Add more tests of exp.
9165         * math/auto-libm-test-out: Regenerated.
9167         [BZ #16521]
9168         [BZ #18875]
9169         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9170         small results.
9171         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9172         (MO): New macro.
9173         (__ieee754_exp2): For small results, force underflow exception and
9174         remove excess range and precision from return value.
9175         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9176         (MO): New macro.
9177         (__ieee754_exp2f): For small results, force underflow exception
9178         and remove excess range and precision from return value.
9179         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9180         (MO): New macro.
9181         (__ieee754_exp2l): Force underflow exception for small results.
9182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9183         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9184         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9185         (MO): New macro.
9186         (__ieee754_exp2l): Force underflow exception for small results.
9187         * math/auto-libm-test-in: Add more tests or exp2.
9188         * math/auto-libm-test-out: Regenerated.
9190 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9192         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9194         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9195         /dev/null.
9197 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9199         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9200         io fs process)): Drop spurious backslash.
9202 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9204         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9205         Use sysinfo system call instead of parsing /proc/meminfo.
9206         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9207         Likewise.
9209 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9211         [BZ #16985]
9212         * programs/localedef.c (main): Display argv[remaining] when
9213         output_path is NULL.
9215 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9217         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9218         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9219         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9220         tanh.
9221         * math/auto-libm-test-out: Regenerated.
9222         * sysdeps/i386/fpu/libm-test-ulps: Update.
9223         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9224         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9229         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9230         Use 'override' keyword to freeze the value here, preventing
9231         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9233 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9235         [BZ #14912]
9236         * sysdeps/aarch64/bits/atomic.h: Move to ...
9237         * sysdeps/aarch64/atomic-machine.h: ...here.
9238         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9239         _AARCH64_ATOMIC_MACHINE_H.
9240         * sysdeps/alpha/bits/atomic.h: Move to ...
9241         * sysdeps/alpha/atomic-machine.h: ...here.
9242         * sysdeps/arm/bits/atomic.h: Move to ...
9243         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9244         * bits/atomic.h: Move to ...
9245         * sysdeps/generic/atomic-machine.h: ...here.
9246         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9247         * sysdeps/i386/bits/atomic.h: Move to ...
9248         * sysdeps/i386/atomic-machine.h: ...here.
9249         * sysdeps/ia64/bits/atomic.h: Move to ...
9250         * sysdeps/ia64/atomic-machine.h: ...here.
9251         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9252         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9253         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9254         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9255         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9256         * sysdeps/microblaze/bits/atomic.h: Move to ...
9257         * sysdeps/microblaze/atomic-machine.h: ...here.
9258         * sysdeps/mips/bits/atomic.h: Move to ...
9259         * sysdeps/mips/atomic-machine.h: ...here.
9260         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9261         * sysdeps/powerpc/bits/atomic.h: Move to ...
9262         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9263         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9264         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9265         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9266         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9267         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9268         <atomic-machine.h> instead of <bits/atomic.h>.
9269         * sysdeps/s390/bits/atomic.h: Move to ...
9270         * sysdeps/s390/atomic-machine.h: ...here.
9271         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9272         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9273         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9274         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9275         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9276         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9277         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9278         * sysdeps/tile/bits/atomic.h: Move to ...
9279         * sysdeps/tile/atomic-machine.h: ...here.
9280         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9281         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9282         <sysdeps/tile/atomic-machine.h> instead of
9283         <sysdeps/tile/bits/atomic.h>.
9284         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9285         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9286         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9287         <sysdeps/tile/atomic-machine.h> instead of
9288         <sysdeps/tile/bits/atomic.h>.
9289         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9290         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9291         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9292         <sysdeps/arm/atomic-machine.h> instead of
9293         <sysdeps/arm/bits/atomic.h>.
9294         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9295         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9296         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9297         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9298         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9299         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9300         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9301         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9302         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9303         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9304         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9305         * sysdeps/x86_64/bits/atomic.h: Move to ...
9306         * sysdeps/x86_64/atomic-machine.h: ...here.
9307         * include/atomic.h: Include <atomic-machine.h> instead of
9308         <bits/atomic.h>.
9310         * sysdeps/mips/mips32/libm-test-ulps: Update.
9311         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9313         [BZ #18952]
9314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9315         not convert non-integer negative arguments to int to determine the
9316         value of signgam.
9317         * math/auto-libm-test-in: Add more tests of lgamma.
9318         * math/auto-libm-test-out: Regenerated.
9320         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9321         cosh, csqrt, erfc, expm1 and lgamma.
9322         * math/auto-libm-test-out: Regenerated.
9323         * sysdeps/i386/fpu/libm-test-ulps: Update.
9324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9326 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
9328         [BZ #2542]
9329         [BZ #2543]
9330         [BZ #2558]
9331         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
9332         __lgamma_neg for arguments from -28.0 to -2.0.
9333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
9334         __lgamma_negf for arguments from -15.0 to -2.0.
9335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9336         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
9337         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
9338         Call __lgamma_negl for arguments from -33.0 to -2.0.
9339         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
9340         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
9341         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9342         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
9343         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9344         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9345         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9346         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
9347         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9348         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
9349         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
9350         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
9351         (__lgamma_neg): Likewise.
9352         (__lgamma_negl): Likewise.
9353         (__lgamma_product): Likewise.
9354         (__lgamma_productl): Likewise.
9355         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
9356         * math/auto-libm-test-in: Add more tests of lgamma.
9357         * math/auto-libm-test-out: Regenerated.
9358         * sysdeps/i386/fpu/libm-test-ulps: Update.
9359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9361 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
9363         [BZ #18675]
9364         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
9366 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
9368         [BZ #14912]
9369         * bits/libc-lock.h: Move to ...
9370         * sysdeps/generic/libc-lock.h: ...here.
9371         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9372         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
9373         * sysdeps/mach/hurd/libc-lock.h: ...here.
9374         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9375         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
9376         * sysdeps/mach/bits/libc-lock.h: Move to ...
9377         * sysdeps/mach/libc-lock.h: ...here.
9378         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9379         * sysdeps/nptl/bits/libc-lock.h: Move to ...
9380         * sysdeps/nptl/libc-lock.h: ...here.
9381         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
9382         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
9383         * sysdeps/nptl/libc-lockP.h: ...here.
9384         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
9385         * crypt/crypt_util.c: Include <libc-lock.h> instead of
9386         <bits/libc-lock.h>.
9387         * dirent/scandir-tail.c: Likewise.
9388         * dlfcn/dlerror.c: Likewise.
9389         * elf/dl-close.c: Likewise.
9390         * elf/dl-iteratephdr.c: Likewise.
9391         * elf/dl-lookup.c: Likewise.
9392         * elf/dl-open.c: Likewise.
9393         * elf/dl-support.c: Likewise.
9394         * elf/dl-writev.h: Likewise.
9395         * elf/rtld.c: Likewise.
9396         * grp/fgetgrent.c: Likewise.
9397         * gshadow/fgetsgent.c: Likewise.
9398         * gshadow/sgetsgent.c: Likewise.
9399         * iconv/gconv_conf.c: Likewise.
9400         * iconv/gconv_db.c: Likewise.
9401         * iconv/gconv_dl.c: Likewise.
9402         * iconv/gconv_int.h: Likewise.
9403         * iconv/gconv_trans.c: Likewise.
9404         * include/link.h: Likewise.
9405         * inet/getnameinfo.c: Likewise.
9406         * inet/getnetgrent.c: Likewise.
9407         * inet/getnetgrent_r.c: Likewise.
9408         * intl/bindtextdom.c: Likewise.
9409         * intl/dcigettext.c: Likewise.
9410         * intl/finddomain.c: Likewise.
9411         * intl/gettextP.h: Likewise.
9412         * intl/loadmsgcat.c: Likewise.
9413         * intl/localealias.c: Likewise.
9414         * intl/textdomain.c: Likewise.
9415         * libidn/idn-stub.c: Likewise.
9416         * libio/libioP.h: Likewise.
9417         * locale/duplocale.c: Likewise.
9418         * locale/freelocale.c: Likewise.
9419         * locale/newlocale.c: Likewise.
9420         * locale/setlocale.c: Likewise.
9421         * login/getutent_r.c: Likewise.
9422         * login/getutid_r.c: Likewise.
9423         * login/getutline_r.c: Likewise.
9424         * login/utmp-private.h: Likewise.
9425         * login/utmpname.c: Likewise.
9426         * malloc/mtrace.c: Likewise.
9427         * misc/efgcvt.c: Likewise.
9428         * misc/error.c: Likewise.
9429         * misc/fstab.c: Likewise.
9430         * misc/getpass.c: Likewise.
9431         * misc/mntent.c: Likewise.
9432         * misc/syslog.c: Likewise.
9433         * nis/nis_call.c: Likewise.
9434         * nis/nis_callback.c: Likewise.
9435         * nis/nss-default.c: Likewise.
9436         * nis/nss_compat/compat-grp.c: Likewise.
9437         * nis/nss_compat/compat-initgroups.c: Likewise.
9438         * nis/nss_compat/compat-pwd.c: Likewise.
9439         * nis/nss_compat/compat-spwd.c: Likewise.
9440         * nis/nss_nis/nis-alias.c: Likewise.
9441         * nis/nss_nis/nis-ethers.c: Likewise.
9442         * nis/nss_nis/nis-grp.c: Likewise.
9443         * nis/nss_nis/nis-hosts.c: Likewise.
9444         * nis/nss_nis/nis-network.c: Likewise.
9445         * nis/nss_nis/nis-proto.c: Likewise.
9446         * nis/nss_nis/nis-pwd.c: Likewise.
9447         * nis/nss_nis/nis-rpc.c: Likewise.
9448         * nis/nss_nis/nis-service.c: Likewise.
9449         * nis/nss_nis/nis-spwd.c: Likewise.
9450         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9451         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9452         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9453         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9454         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
9455         * nis/nss_nisplus/nisplus-network.c: Likewise.
9456         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9457         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9458         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9459         * nis/nss_nisplus/nisplus-service.c: Likewise.
9460         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9461         * nis/ypclnt.c: Likewise.
9462         * nptl/libc_pthread_init.c: Likewise.
9463         * nss/getXXbyYY.c: Likewise.
9464         * nss/getXXent.c: Likewise.
9465         * nss/getXXent_r.c: Likewise.
9466         * nss/nss_db/db-XXX.c: Likewise.
9467         * nss/nss_db/db-netgrp.c: Likewise.
9468         * nss/nss_db/nss_db.h: Likewise.
9469         * nss/nss_files/files-XXX.c: Likewise.
9470         * nss/nss_files/files-alias.c: Likewise.
9471         * nss/nsswitch.c: Likewise.
9472         * posix/regex_internal.h: Likewise.
9473         * posix/wordexp.c: Likewise.
9474         * pwd/fgetpwent.c: Likewise.
9475         * resolv/res_hconf.c: Likewise.
9476         * resolv/res_libc.c: Likewise.
9477         * shadow/fgetspent.c: Likewise.
9478         * shadow/lckpwdf.c: Likewise.
9479         * shadow/sgetspent.c: Likewise.
9480         * socket/opensock.c: Likewise.
9481         * stdio-common/reg-modifier.c: Likewise.
9482         * stdio-common/reg-printf.c: Likewise.
9483         * stdio-common/reg-type.c: Likewise.
9484         * stdio-common/vfprintf.c: Likewise.
9485         * stdio-common/vfscanf.c: Likewise.
9486         * stdlib/abort.c: Likewise.
9487         * stdlib/cxa_atexit.c: Likewise.
9488         * stdlib/fmtmsg.c: Likewise.
9489         * stdlib/random.c: Likewise.
9490         * stdlib/setenv.c: Likewise.
9491         * string/strsignal.c: Likewise.
9492         * sunrpc/auth_none.c: Likewise.
9493         * sunrpc/bindrsvprt.c: Likewise.
9494         * sunrpc/create_xid.c: Likewise.
9495         * sunrpc/key_call.c: Likewise.
9496         * sunrpc/rpc_thread.c: Likewise.
9497         * sysdeps/arm/backtrace.c: Likewise.
9498         * sysdeps/generic/ldsodefs.h: Likewise.
9499         * sysdeps/generic/stdio-lock.h: Likewise.
9500         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
9501         * sysdeps/i386/backtrace.c: Likewise.
9502         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9503         * sysdeps/m68k/backtrace.c: Likewise.
9504         * sysdeps/mach/hurd/cthreads.c: Likewise.
9505         * sysdeps/mach/hurd/dirstream.h: Likewise.
9506         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9507         * sysdeps/nptl/malloc-machine.h: Likewise.
9508         * sysdeps/nptl/stdio-lock.h: Likewise.
9509         * sysdeps/posix/dirstream.h: Likewise.
9510         * sysdeps/posix/getaddrinfo.c: Likewise.
9511         * sysdeps/posix/system.c: Likewise.
9512         * sysdeps/pthread/aio_suspend.c: Likewise.
9513         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9514         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9515         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9516         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9517         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
9518         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
9519         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
9520         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9521         * sysdeps/unix/sysv/linux/system.c: Likewise.
9522         * sysdeps/x86_64/backtrace.c: Likewise.
9523         * time/alt_digit.c: Likewise.
9524         * time/era.c: Likewise.
9525         * time/tzset.c: Likewise.
9526         * wcsmbs/wcsmbsload.c: Likewise.
9527         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
9528         instead of <bits/libc-lock.h> in comment.
9530 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
9532         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
9533         Only use .set mips2 if the current ISA is below mips2.
9534         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
9535         Likewise.
9536         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
9537         mips32r2 if the current ISA is below mips32r2.
9538         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
9539         (TLS_IE): Updated to use the TLD_RDHWR macro.
9540         (TLS_LE): Likewise.
9541         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
9542         __ASSEMBLER__ condition.
9544 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9546         Fix parallel build of before-compile targets.
9548         * sysdeps/mach/Makefile ($(patsubst
9549         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
9550         mach-before-compile target.
9551         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9552         io fs process)): Move rule to dedicated hurd-before-compile target.
9554 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9556         Fix rules generating headers in hurd/ and mach/ when initial make call
9557         has subdir= explicitly set.
9559         * sysdeps/mach/Makefile ($(patsubst
9560         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
9561         calling $(MAKE).
9562         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9563         io fs process)): Force subdir to hurd when calling $(MAKE).
9564         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
9565         subdir to mach when calling $(MAKE).
9567 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
9569         Check sysheaders when looking for Mach and Hurd headers
9571         * sysdeps/mach/configure.ac: Add sysheaders check.
9572         * sysdeps/mach/configure: Regenerate.
9573         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
9574         * sysdeps/mach/hurd/configure: Regenerate.
9576 2015-09-04  Roland McGrath  <roland@hack.frob.com>
9578         [BZ #18921]
9579         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
9580         Fix inverted sense of test of 'o_directory_works' value.
9581         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
9582         Bernhard Voelker <mail@bernhard-voelker.de>.
9584 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9586         [BZ #14912]
9587         * bits/linkmap.h: Move to ...
9588         * sysdeps/generic/linkmap.h: ...here.
9589         * sysdeps/aarch64/bits/linkmap.h: Move to ...
9590         * sysdeps/aarch64/linkmap.h: ...here.
9591         * sysdeps/arm/bits/linkmap.h: Move to ...
9592         * sysdeps/arm/linkmap.h: ...here.
9593         * sysdeps/hppa/bits/linkmap.h: Move to ...
9594         * sysdeps/hppa/linkmap.h: ...here.
9595         * sysdeps/ia64/bits/linkmap.h: Move to ...
9596         * sysdeps/ia64/linkmap.h: ...here.
9597         * sysdeps/mips/bits/linkmap.h: Move to ...
9598         * sysdeps/mips/linkmap.h: ...here.
9599         * sysdeps/s390/bits/linkmap.h: Move to ...
9600         * sysdeps/s390/linkmap.h: ...here.
9601         * sysdeps/sh/bits/linkmap.h: Move to ...
9602         * sysdeps/sh/linkmap.h: ...here.
9603         * sysdeps/x86/bits/linkmap.h: Move to ...
9604         * sysdeps/x86/linkmap.h: ...here.
9605         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
9607 2015-09-04  Andreas Schwab  <schwab@suse.de>
9609         [BZ #18635]
9610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
9611         (__makecontext): Terminate FDE before return label.
9612         (__novec_makecontext): Likewise.
9614 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9616         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
9617         first member of struct sv in syscall macro.
9619 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
9621         [BZ #14912]
9622         * bits/stdio-lock.h: Move to ...
9623         * sysdeps/generic/stdio-lock.h: ...here.
9624         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9625         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
9626         * sysdeps/nptl/stdio-lock.h: ...here.
9627         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
9628         * include/libio.h: Include <stdio-lock.h> instead of
9629         <bits/stdio-lock.h>.
9630         * sysdeps/nptl/fork.c: Likewise.
9631         * sysdeps/pthread/flockfile.c: Likewise.
9632         * sysdeps/pthread/ftrylockfile.c: Likewise.
9633         * sysdeps/pthread/funlockfile.c: Likewise.
9635         [BZ #14912]
9636         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
9637         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
9638         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
9639         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
9640         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
9641         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9642         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
9644 2015-09-03  Roland McGrath  <roland@hack.frob.com>
9646         * elf/Makefile (test-xfail-tst-protected1a): New variable.
9647         (test-xfail-tst-protected1b): New variable.
9649 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
9651         [BZ #14912]
9652         * bits/libc-tsd.h: Move to ...
9653         * sysdeps/generic/libc-tsd.h: ...here.
9654         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
9655         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
9656         * sysdeps/mach/hurd/libc-tsd.h: ...here.
9657         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
9658         * include/ctype.h: Include <libc-tsd.h> instead of
9659         <bits/libc-tsd.h>.
9660         * include/rpc/rpc.h: Likewise.
9661         * locale/localeinfo.h: Likewise.
9662         * sunrpc/rpc_thread.c: Likewise.
9663         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
9664         * sysdeps/nptl/malloc-machine.h: Likewise.
9666         * Makefile (headers): Remove bits/libc-lock.h.
9667         * libio/Makefile (headers): Remove bits/stdio-lock.h.
9669         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
9670         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
9671         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
9672         <bits/stdio-lock.h>.
9673         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
9674         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
9676 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9678         [BZ #18757]
9679         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
9680         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
9681         BZ #18757.
9683 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
9685         * malloc/mtrace.pl: Filter out NULL entries.
9687 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
9689         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
9690         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
9691         macro.
9693         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
9694         (TCP_CC_INFO): Likewise.
9695         (TCP_SAVE_SYN): Likewise.
9696         (TCP_SAVED_SYN): Likewise.
9698 2015-08-31  Brett Neumeier <brett@neumeier.us>
9700         [BZ #18870]
9701         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
9703 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
9705         [BZ #18873]
9706         Fix broken overflow check in posix_fallocate
9707         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
9708         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9709         Fix parenthesization typo.
9711 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
9713         [BZ #18887]
9714         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
9715         tst-mntent-blank-passno.
9716         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
9717         * misc/tst-mntent-blank-corrupt.c: New test.
9718         * misc/tst-mntent-blank-passno.c: New test ripped from ...
9719         * misc/tst-mntent.c (do_test): ... here.
9721 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
9723         [BZ #4404]
9724         * po/de.po: Fix SIGALRM typo.
9726 2015-08-28  James Perkins  <james@loowit.net>
9728         * time/tst-strptime2.c (tests): Replace short list of test
9729         strings for strptime %z specifier with code which exhaustively
9730         tests every combination of sign and 0 to 5 digits. Tests for
9731         rejection of invalid strings.
9733 2015-08-28  James Perkins  <james@loowit.net>
9735         [BZ #16141]
9736         * time/strptime_l.c (__strptime_internal): Fix %z minutes
9737         calculation, removing incorrect decimal time rounding, so that
9738         all minute values result in a valid seconds value.
9739         * time/strptime_l.c (__strptime_internal): Extend %z time zone
9740         offset range limits to UTC-99:59 through UTC+99:59 to parse
9741         current and historical use cases.
9742         * time/tst-strptime2.c (tests): Modify and add tests for the
9743         strptime %z input field descriptor, specifically conversion of
9744         minutes to seconds and validating an offset range of -9959 to
9745         +9959.
9747 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9748             Dmitry V. Levin  <ldv@altlinux.org>
9750         [BZ #18877]
9751         * posix/Makefile (tests): Add tst-mmap-offset.
9752         * posix/tst-mmap.c: New file.
9753         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
9754         offset calculation for negative values.
9756 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9758         * sysdeps/i386/init-arch.h: New file.
9759         * sysdeps/i386/i586/init-arch.h: Likewise.
9760         * sysdeps/i386/i686/init-arch.h: Likewise.
9761         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
9762         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
9763         * sysdeps/x86/cpu-features.h (bit_I586): New.
9764         (bit_I686): Likewise.
9765         (bit_CX8): Likewise.
9766         (bit_CMOV): Likewise.
9767         (index_CX8): Likewise.
9768         (index_CMOV): Likewise.
9769         (index_I586): Likewise.
9770         (index_I686): Likewise.
9771         (reg_CX8): Likewise.
9772         (reg_CMOV): Likewise.
9773         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
9774         available at compile-time.
9775         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
9776         available at compile-time.
9777         * sysdeps/x86/init-arch.h (USE_I586): New macro.
9778         (USE_I686): Likewise.
9780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9782         * sysdeps/i386/bcopy.S: New file.
9783         * sysdeps/i386/bzero.S: Likewise.
9784         * sysdeps/i386/memcpy.S: Likewise.
9785         * sysdeps/i386/memmove.S: Likewise.
9786         * sysdeps/i386/mempcpy.S: Likewise.
9787         * sysdeps/i386/memset.S: Likewise.
9788         * sysdeps/i386/bzero.c: Removed.
9789         * sysdeps/i386/memset.c: Likewise.
9790         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
9791         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
9792         * sysdeps/i386/i586/memset_chk.S: Likewise.
9793         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
9794         * sysdeps/i386/memcpy_chk.S: Here.
9795         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
9796         * sysdeps/i386/memmove_chk.S: Here.
9797         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
9798         * sysdeps/i386/mempcpy_chk.S: Likewise.
9799         * sysdeps/i386/i686/memset_chk.S: Moved to ...
9800         * sysdeps/i386/memset_chk.S: Likewise.
9802 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
9804         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
9805         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
9806         file, move DIAG_POP_NEEDS_COMMENT to end of file.
9807         * soft-fp/fmadf4.c: Ditto.
9808         * soft-fp/fmatf4.c: Ditto.
9810 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9812         * sysdeps/i386/i586/Implies: Removed.
9813         * sysdeps/i386/i686/Implies: Likewise.
9815 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9817         * sysdeps/i386/i486/strlen.S: Moved to ...
9818         * sysdeps/i386/strlen.S: Here.
9820 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9822         * sysdeps/i386/i486/strcat.S: Moved to ...
9823         * sysdeps/i386/strcat.S: Here.
9825 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9827         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
9828         * sysdeps/i386/pthread_spin_trylock.S: Here.
9829         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
9830         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
9832 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9834         * sysdeps/i386/i486/string-inlines.c: Moved to ...
9835         * sysdeps/i386/string-inlines.c: Here.
9837 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9839         * sysdeps/i386/i486/htonl.S: Moved ...
9840         * sysdeps/i386/htonl.S: here.
9842 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9844         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
9845         * sysdeps/i386/bits/atomic.h: Here.
9847 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
9849         * sysdeps/i386/i486/Versions: Removed.
9851 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9853         [BZ #2898]
9854         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9855         Based on patch by Aurelien Jarno.
9857 2015-08-26  Stan Shebs  <stanshebs@google.com>
9859         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9860         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9862 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9864         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9865         * sysdeps/powerpc/dl-procinfo.c:
9866         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9867         feature so it shows when LD_SHOW_AUXV=1.
9869 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9871         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9872         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9873         definition.  ISA 2.07B no longer requires full sync.
9875 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9877         [BZ #18863]
9878         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9879         (si_call_addr): Define.
9880         (si_syscall): Define.
9881         (si_arch): Define.
9883 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9885         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9886         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9887         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9888         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9889         (__memset_zero_constant_len_parameter): New.
9890         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9891         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9892         (__memset_zero_constant_len_parameter): Don't define if
9893         __memset_chk or USE_AS_BZERO are defined.
9895         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9896         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9897         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9899         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9900         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9901         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9902         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9903         comments.
9904         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9905         -mno-mmx for $(all-rtld-routines).
9906         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9907         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9908         i386.
9910 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9912         * sysdeps/generic/unwind.h
9913         (_Unwind_Word): Use __mode__(__unwind_word__)
9914         instead of __mode__(__word__).
9915         (_Unwind_Sword): Likewise.
9917         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9918         (MAX_NEEDED_INPUT): New define.
9919         (MAX_NEEDED_OUTPUT): New define.
9921         * NEWS: New item for IBM z13 string optimizations.
9923         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9924         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9925         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9926         * sysdeps/s390/multiarch/Makefile
9927         (sysdep_routines): Add memrchr functions.
9928         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9929         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9931         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9932         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9933         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9934         * sysdeps/s390/multiarch/Makefile
9935         (sysdep_routines): Add wmemcmp functions.
9936         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9937         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9938         * benchtests/bench-wmemcmp.c: New File.
9939         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9941         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9942         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9943         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9944         * sysdeps/s390/multiarch/Makefile
9945         (sysdep_routines): Add wmemset functions.
9946         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9947         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9948         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9949         * string/test-memset.c: Add wmemset support.
9950         * wcsmbs/test-wmemset.c: New File.
9951         * wcsmbs/Makefile (strop-tests): Add wmemset.
9952         * benchtests/bench-memset.c: Add wmemset support.
9953         * benchtests/bench-wmemset.c: New File.
9954         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9956         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9957         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9958         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9959         * sysdeps/s390/multiarch/Makefile
9960         (sysdep_routines): Add memccpy functions.
9961         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9962         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9963         * string/memccpy.c: Use MEMCCPY if defined.
9965         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9966         * sysdeps/s390/multiarch/memchr.c: Likewise.
9967         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9968         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9969         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9970         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9971         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9972         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9973         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9974         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9976         and rawmemchr functions.
9977         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9978         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9979         and wmemchr.
9980         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9981         * string/test-memchr.c: Add wmemchr support.
9982         * wcsmbs/test-wmemchr.c: New File.
9983         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9984         * benchtests/bench-memchr.c: Add wmemchr support.
9985         * benchtests/bench-wmemchr.c: New File.
9986         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9988         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9989         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9990         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9991         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9992         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9993         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9994         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9995         wcscspn functions.
9996         * sysdeps/s390/multiarch/ifunc-impl-list.c
9997         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9998         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9999         * string/test-strcspn.c: Add wcscspn support.
10000         * wcsmbs/test-wcscspn.c: New File.
10001         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10002         * benchtests/bench-strcspn.c: Add wcscspn support.
10003         * benchtests/bench-wcscspn.c: New File.
10004         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10006         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10007         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10008         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10009         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10010         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10011         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10013         wcspbrk functions.
10014         * sysdeps/s390/multiarch/ifunc-impl-list.c
10015         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10016         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10017         * string/test-strpbrk.c: Add wcspbrk support.
10018         * wcsmbs/test-wcspbrk.c: New File.
10019         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10020         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10021         * benchtests/bench-wcspbrk.c: New File.
10022         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10024         * sysdeps/s390/multiarch/strspn-c.c: New File.
10025         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10026         * sysdeps/s390/multiarch/strspn.c: Likewise.
10027         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10028         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10029         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10030         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10032         wcsspn functions.
10033         * sysdeps/s390/multiarch/ifunc-impl-list.c
10034         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10035         * string/test-strspn.c: Add wcsspn support.
10036         * wcsmbs/test-wcsspn.c: New File.
10037         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10038         * benchtests/bench-strspn.c: Add wcsspn support.
10039         * benchtests/bench-wcsspn.c: New File.
10040         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10042         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10043         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10044         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10045         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10046         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10047         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10048         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10049         wcsrchr functions.
10050         * sysdeps/s390/multiarch/ifunc-impl-list.c
10051         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10052         * benchtests/bench-wcsrchr.c: New File.
10053         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10055         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10056         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10057         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10058         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10059         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10060         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10061         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10062         wcschrnul functions.
10063         * sysdeps/s390/multiarch/ifunc-impl-list.c
10064         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10065         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10066         * string/test-strchr.c: Add wcschrnul support.
10067         * wcsmbs/test-wcschrnul.c: New File.
10068         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10069         * benchtests/bench-strchr.c: Add wcschrnul support.
10070         * benchtests/bench-wcschrnul.c: New File.
10071         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10073         * sysdeps/s390/multiarch/strchr-c.c: New File.
10074         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10075         * sysdeps/s390/multiarch/strchr.c: Likewise.
10076         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10077         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10078         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10079         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10080         wcschr functions.
10081         * sysdeps/s390/multiarch/ifunc-impl-list.c
10082         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10083         * string/strchr.c (STRCHR): Define and use macro.
10084         * benchtests/bench-wcschr.c: New File.
10085         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10087         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10088         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10089         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10090         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10091         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10092         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10094         wcsncmp functions.
10095         * sysdeps/s390/multiarch/ifunc-impl-list.c
10096         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10097         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10098         * benchtests/bench-strncmp.c: Add wcsncmp support.
10099         * benchtests/bench-wcsncmp.c: New File.
10100         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10102         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10103         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10104         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10105         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10106         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10107         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10108         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10109         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10110         wcscmp functions.
10111         * sysdeps/s390/multiarch/ifunc-impl-list.c
10112         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10113         * string/strcmp.c (STRCMP): Define and use macro.
10114         * benchtests/bench-wcscmp.c: New File.
10115         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10116         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10117         instead of _HAVE_STRING_ARCH_memchr.
10119         * sysdeps/s390/multiarch/strncat-c.c: New File.
10120         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10121         * sysdeps/s390/multiarch/strncat.c: Likewise.
10122         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10123         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10124         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10126         wcsncat functions.
10127         * sysdeps/s390/multiarch/ifunc-impl-list.c
10128         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10129         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10130         * string/test-strncat.c: Add wcsncat support.
10131         * wcsmbs/test-wcsncat.c: New File.
10132         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10133         * benchtests/bench-strncat.c: Add wcsncat support.
10134         * benchtests/bench-wcsncat.c: New File.
10135         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10137         * sysdeps/s390/multiarch/strcat-c.c: New File.
10138         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10139         * sysdeps/s390/multiarch/strcat.c: Likewise.
10140         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10141         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10142         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10144         wcscat functions.
10145         * sysdeps/s390/multiarch/ifunc-impl-list.c
10146         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10147         * string/strcat.c (STRCAT): Define and use macro.
10148         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10149         * string/test-strcat.c: Add wcscat support.
10150         * wcsmbs/test-wcscat.c: New File.
10151         * wcsmbs/Makefile (strop-tests): Add wcscat.
10152         * benchtests/bench-strcat.c: Add wcscat support.
10153         * benchtests/bench-wcscat.c: New File.
10154         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10156         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10157         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10158         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10159         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10160         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10161         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10162         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10163         wcpncpy functions.
10164         * sysdeps/s390/multiarch/ifunc-impl-list.c
10165         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10166         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10167         * string/test-stpncpy.c: Add wcpncpy support.
10168         * wcsmbs/test-wcpncpy.c: New File.
10169         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10170         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10171         * benchtests/bench-wcpncpy.c: New File.
10172         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10174         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10175         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10176         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10177         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10178         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10179         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10180         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10182         wcsncpy functions.
10183         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10184         * sysdeps/s390/multiarch/ifunc-impl-list.c
10185         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10186         * string/test-strncpy.c: Add wcsncpy support.
10187         * wcsmbs/test-wcsncpy.c: New File.
10188         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10189         * benchtests/bench-strncpy.c: Add wcsncpy support.
10190         * benchtests/bench-wcsncpy.c: New File.
10191         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10193         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10194         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10195         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10196         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10197         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10198         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10200         wcpcpy functions.
10201         * string/stpcpy.c: Use STPCPY if defined.
10202         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10203         * sysdeps/s390/multiarch/ifunc-impl-list.c
10204         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10205         * string/test-stpcpy.c: Add wcpcpy support.
10206         * wcsmbs/test-wcpcpy.c: New File.
10207         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10208         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10209         * benchtests/bench-wcpcpy.c: New File.
10210         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10212         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10213         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10214         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10215         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10216         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10217         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10218         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10220         wcscpy functions.
10221         * sysdeps/s390/multiarch/ifunc-impl-list.c
10222         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10223         * benchtests/bench-wcscpy.c: New File.
10224         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10226         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10227         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10228         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10229         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10230         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10231         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10232         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10233         wcsnlen functions.
10234         * sysdeps/s390/multiarch/ifunc-impl-list.c
10235         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10236         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10237         * string/test-strnlen.c: Add wcsnlen support.
10238         * wcsmbs/test-wcsnlen.c: New File.
10239         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10240         * benchtests/bench-strnlen.c: Add wcsnlen support.
10241         * benchtests/bench-wcsnlen.c: New File.
10242         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10244         * sysdeps/s390/multiarch/Makefile: New File.
10245         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10246         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10247         * sysdeps/s390/multiarch/strlen.c: Likewise.
10248         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10249         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10250         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10251         * string/strlen.c (STRLEN): Define and use macro.
10252         * sysdeps/s390/multiarch/ifunc-impl-list.c
10253         (IFUNC_VX_IMPL): New macro function.
10254         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10255         * benchtests/Makefile (wcsmbs-bench): New variable.
10256         (string-bench-all): Added wcsmbs-bench.
10257         * benchtests/bench-wcslen.c: New File.
10259         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10260         s390_vx_libc_ifunc2): New macro function.
10262         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10263         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10264         assembler support.
10265         * sysdeps/s390/configure: Regenerated.
10267         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10268         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10270         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10271         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10272         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10274         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10275         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10276         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10277         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10278         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10279         (memcmp, bcmp): Use __memcmp_default as alias source.
10280         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10281         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10282         Rename to __memcmp_default.
10283         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10284         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10285         (memcpy): Use __memcpy_default as alias source.
10286         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10287         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10288         Rename to __memcpy_default.
10289         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10290         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10291         (memset): Use __memset_default as alias source.
10292         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10293         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10294         Rename to __memset_default.
10295         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10296         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10297         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10298         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10299         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10300         (memcmp, bcmp): Use __memcmp_default as alias source.
10301         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10302         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10303         Rename to __memcmp_default.
10304         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10305         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10306         (memcpy): Use __memcpy_default as alias source.
10307         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10308         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10309         Rename to __memcpy_default.
10310         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10311         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10312         (memset): Use __memset_default as alias source.
10313         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10314         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10315         Rename to __memset_default.
10316         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10317         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10319         [BZ #18610]
10320         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10321         __ieee_instruction_pointer to __unused.
10322         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10323         __ieee_instruction_pointer.
10324         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
10325         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
10326         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10327         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10328         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
10329         Mark dxc-field as reserved.
10331 2015-08-25  Roland McGrath  <roland@hack.frob.com>
10333         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
10334         if the weak reference is not null.
10336 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10338         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
10340         [BZ #11214]
10341         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
10343 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10345         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
10346         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
10347         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
10348         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
10349         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
10350         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
10351         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
10352         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
10353         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
10354         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
10355         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
10356         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
10357         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
10358         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
10359         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
10360         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
10361         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
10362         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
10364 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10366         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
10367         register other than r0 for tabort, it has special meaning.
10368         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
10369         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
10370         transaction before starting syscall.
10372 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10374         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
10376 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10378         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
10380         * sysdeps/x86_64/rtld-memcmp.c: Removed.
10381         * sysdeps/x86_64/rtld-memset.S: Likewise.
10382         * sysdeps/x86_64/rtld-strchr.S: Likewise.
10383         * sysdeps/x86_64/rtld-strlen.S: Likewise.
10384         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
10385         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10387         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
10389 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
10391         * debug/strcpy_chk.c: Improve performance.
10392         * debug/stpcpy_chk.c: Likewise.
10393         * sysdeps/x86_64/strcpy_chk.S: Remove.
10394         * sysdeps/x86_64/stpcpy_chk.S: Remove.
10396         [BZ #18240]
10397         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
10399 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10401         [BZ #15128]
10402         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
10403         ifuncmain8.
10404         (modules-names): Add ifuncmod8.
10405         ($(objpfx)ifuncmain8): New rule.
10406         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
10407         <cpuid.h>.
10408         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
10409         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
10410         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
10411         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
10412         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
10413         * sysdeps/x86_64/dl-trampoline.h: Likewise.
10414         * sysdeps/x86_64/ifuncmain8.c: New file.
10415         * sysdeps/x86_64/ifuncmod8.c: Likewise.
10416         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
10417         Removed.
10418         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
10419         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
10420         Change rtld_savespace_sse to __glibc_unused2.
10421         (RTLD_CHECK_FOREIGN_CALL): Removed.
10422         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
10423         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
10424         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
10426 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10428         * sysdeps/aarch64/bzero.S (__bzero): Remove.
10430 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
10432         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
10433         Unconditionally set __fpcr to avoid uninialized warning.
10434         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
10436 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10438         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
10439         is corrupt.
10441         * malloc/arena.c (arena_get2): Drop unused argument.
10442         (arena_lock): Adjust.
10443         (arena_get_retry): Likewise.
10445 2015-08-24  Andreas Schwab  <schwab@suse.de>
10447         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
10448         Don't define.
10449         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10450         (__ASSUME_IPC64): Don't undef.
10451         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
10452         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10453         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10454         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
10455         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
10456         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
10457         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
10458         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
10459         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
10460         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
10461         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
10462         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
10463         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
10464         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
10465         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
10466         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
10467         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
10468         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
10469         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
10470         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
10471         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
10473 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
10475         * manual/Makefile (install): Only build manual when perl is available.
10477 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10479         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
10480         '#undef memcpy' by '#undef memchr'.
10482 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10484         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
10485         memchr not point to the internal __GI_memchr implementation.
10487 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10489         * timezone/Makefile (CFLAGS-zdump.c): Remove
10490         -Wno-strict-prototypes.
10491         (CFLAGS-zic.c): Likewise.
10492         (CFLAGS-ialloc.c): Likewise.
10493         (CFLAGS-scheck.c): Likewise.
10495         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
10496         -Wno-error=undef.
10498 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10500         * i386/i686/multiarch/strcasestr-c.c: Removed.
10501         * x86_64/multiarch/strcasestr.c: Likewise.
10502         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10503         Remove strcasestr.
10505 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
10507         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
10509         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
10510         variables for high and low parts before possibly modifying them.
10512 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10514         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
10515         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
10516         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
10517         of "multiarch/init-arch.h".
10518         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
10519         * sysdeps/x86/init-arch.h: This.
10521 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
10523         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
10524         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
10526 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
10528         [BZ #17787]
10529         * manual/macros.texi: Add twoexp macro.
10530         * manual/filesys.texi: Fix exponents.
10531         * manual/llio.texi: Likewise.
10532         * manual/stdio.texi: Likewise.
10534 2015-08-20  Florian Weimer  <fweimer@redhat.com>
10536         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
10537         incorrect use.
10539 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10541         [BZ #18370]
10542         * math/s_csqrt.c (__csqrt): Force underflow exception for results
10543         whose real or imaginary part has small absolute value.
10544         * math/s_csqrtf.c (__csqrtf): Likewise.
10545         * math/s_csqrtl.c (__csqrtl): Likewise.
10546         * math/auto-libm-test-in: Add more tests of csqrt.
10547         * math/auto-libm-test-out: Regenerated.
10548         * sysdeps/i386/fpu/libm-test-ulps: Update.
10550 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10552         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
10553         __ppc_set_ppr_very_low): New functions.
10554         * manual/platform.texi: Add documentation about
10555         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
10557 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
10559         * string/stpncpy.c (stpncpy): Improve performance using
10560         __strnlen/memcpy/memset.
10562 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10564         [BZ #18796]
10565         * scripts/test-installation.pl: Don't add -lmvec to build options if
10566         libmvec wasn't built.
10568 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10570         [BZ #14341]
10571         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
10572         case when there is a gap between DT_REL and DT_JMPREL sections.
10573         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
10574         (LDFLAGS-tst-split-dynreloc): New.
10575         (tst-split-dynreloc-ENV): Likewise.
10576         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
10577         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
10579 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10581         [BZ #18822]
10582         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
10583         attribute_hidden.
10584         (__xstat64_conv): Likewise.
10585         (__xstat32_conv): Likewise.
10587 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10589         [BZ #18822]
10590         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
10591         Don't load %ebx when calling __setcontext.  Call __setcontext
10592         with HIDDEN_JUMPTARGET.
10593         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
10594         libc_hidden_def.
10596 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10598         * sysdeps/i386/i686/Makefile
10599         [$(subdir) == string] (sysdep_routines): Moved to ...
10600         * sysdeps/i386/Makefile: Here.
10601         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
10602         * sysdeps/i386/cacheinfo.c: Here.
10603         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
10604         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
10605         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
10606         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
10608 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10610         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
10611         __i586__ is defined.
10612         (HAS_I686): Defined to 1 if __i686__ is defined.
10614 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
10616         * elf/Makefile [$(have-z-execstack) = yes]
10617         (CPPFLAGS-tst-execstack.c): New variable.
10619         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
10620         conditional to [defined UTMPX || _HAVE_UT_TYPE].
10621         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
10622         UTMPX || _HAVE_UT_TV].
10623         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
10624         UTMPX || _HAVE_UT_TV - 0].
10626 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
10628         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
10629         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
10630         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
10632 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10634         * sysdeps/powerpc/dl-procinfo.c:
10635         (_dl_powerpc_cap_flags): Added missing strings for some
10636         hwcap features.
10637         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
10639 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
10641         Port the 0x7efe...feff pattern to GCC 6.
10642         See Steve Ellcey's bug report in:
10643         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
10644         * string/memrchr.c (MEMRCHR):
10645         * string/rawmemchr.c (RAWMEMCHR):
10646         * string/strchr.c (strchr):
10647         * string/strchrnul.c (STRCHRNUL):
10648         Rewrite code to avoid issues with signed shift overflow.
10650 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
10652         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
10653         whether cpuid is available only if HAS_CPUID is 0.
10654         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
10655         (HAS_I586): Likewise.
10656         (HAS_I686): Likewise.
10658 2015-08-18  Zack Weinberg  <zackw@panix.com>
10660         * misc/Versions (libc): Add GLIBC_2.23.
10662 2015-08-18  Alan Modra  <amodra@gmail.com>
10664         [BZ #18421]
10665         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
10666         .Lp__global.
10667         (_start): Load %dp via .Lp__global.
10668         [!SHARED]: Use .section .rodata.
10670 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10672         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
10673         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
10675 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10677         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
10678         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
10680 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10682         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
10683         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
10685 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10687         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
10688         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
10690 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10692         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
10693         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
10695 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10697         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
10698         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
10700 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10702         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
10704 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10706         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
10707         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
10708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10709         (__ASSUME_LWS_CAS): Delete.
10711 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10713         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
10714         * sysdeps/hppa/configure: Regenerated.
10715         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
10716         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
10717         * sysdeps/hppa/nptl/tls.h: Likewise.
10719 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
10721         [BZ #18823]
10722         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
10723         for scaling up small arguments.
10724         * math/s_csqrtf.c (__csqrtf): Likewise.
10725         * math/s_csqrtl.c (__csqrtl): Likewise.
10726         * math/auto-libm-test-in: Add more tests of csqrt.
10727         * math/auto-libm-test-out: Regenerated.
10729 2015-08-17  Andreas Schwab  <schwab@suse.de>
10731         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
10732         version set GLIBC_2.19.
10734 2015-08-16  Zack Weinberg  <zackw@panix.com>
10736         [BZ #18681]
10737         * misc/regexp.h: This interface is no longer supported.
10738         Remove all contents, leaving only an #error directive.
10739         * misc/regexp.c (loc1, loc2, locs, step, advance):
10740         Demote to compatibility symbols.
10742 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
10744         [BZ #18084]
10745         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
10746         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
10747         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10748         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
10749         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
10750         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
10751         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
10752         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
10753         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10755 2015-08-15  Zack Weinberg  <zackw@panix.com>
10757         [BZ #18795]
10758         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
10759         buffer length is known to be too large, not if it's known to be
10760         small enough.
10761         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
10762         overflow at runtime, involving a length parameter, twice: once
10763         with a compile-time constant length parameter, once without.
10765 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
10767         [BZ #18824]
10768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
10769         scaling x * y up instead of down.
10770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10772         * math/auto-libm-test-in: Add more tests of fma.
10773         * math/auto-libm-test-out: Regenerated.
10775 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10779 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10781         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
10782         unnecessary movq.
10783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
10784         Likewise.
10786 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10788         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10789         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
10790         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
10791         and tgamma.
10792         * math/auto-libm-test-out: Regenerated.
10793         * sysdeps/i386/fpu/libm-test-ulps: Update.
10794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796         [BZ #16520]
10797         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
10798         (__tanh): Force underflow exception for arguments with small
10799         absolute value.
10800         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
10801         (__tanhf): Force underflow exception for arguments with small
10802         absolute value.
10803         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
10804         (__tanhl): Force underflow exception for arguments with small
10805         absolute value.
10806         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
10807         (__tanhl): Force underflow exception for arguments with small
10808         absolute value.
10809         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
10810         (__tanhl): Force underflow exception for arguments with small
10811         absolute value.
10812         * math/auto-libm-test-in: Add more tests of tanh.
10813         * math/auto-libm-test-out: Regenerated.
10814         * sysdeps/i386/fpu/libm-test-ulps: Update.
10816 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10818         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
10819         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
10821 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10823         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
10824         <cpuid.h>.
10826 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10828         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
10829         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
10831 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10833         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
10834         Remove $(objpfx)init-arch.o.
10835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
10836         init-arch.
10837         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
10838         (INIT_ARCH_EXT): Defined as empty.
10839         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
10840         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
10841         __init_cpu_features call.  Replace HAS_XXX with
10842         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10843         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
10844         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
10845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
10846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
10847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10848         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
10849         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
10850         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10851         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10852         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10857         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10858         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10860         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10861         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10869         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10870         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10873         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10879 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10881         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10882         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10883         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10884         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10885         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10886         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10887         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10888         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10889         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10890         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10891         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10892         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10893         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10894         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10895         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10896         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10897         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10898         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10899         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10900         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10901         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10902         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10903         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10904         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10905         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10906         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10907         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10908         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10909         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10910         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10911         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10912         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10913         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10914         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10915         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10916         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10917         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10918         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10919         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10920         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10921         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10922         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10923         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10925 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10927         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10928         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10929         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10930         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10931         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10932         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10933         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10934         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10935         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10937         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10938         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10939         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10940         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10941         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10942         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10943         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10944         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10945         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10946         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10948         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10949         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10950         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10951         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10952         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10953         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10954         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10955         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10956         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10957         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10958         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10959         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10962         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10963         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10964         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10965         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10966         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10967         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10968         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10969         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10971 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10973         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10974         (dl_platform_init): Call init_cpu_features.
10975         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10976         * sysdeps/i386/i686/cacheinfo.c
10977         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10978         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10979         * sysdeps/i386/i686/multiarch/Versions: Removed.
10980         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10981         Removed.
10982         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10983         * sysdeps/unix/sysv/linux/x86/Makefile
10984         (libpthread-sysdep_routines): Remove init-arch.
10985         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10986         <sysdeps/x86_64/dl-procinfo.c> instead of
10987         sysdeps/generic/dl-procinfo.c>.
10988         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10989         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10990         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10991         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10992         [$(subdir) == elf] (tests-static): Add
10993         tst-get-cpu-features-static.
10994         * sysdeps/x86/Versions: New file.
10995         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10996         * sysdeps/x86/cpu-features.c: Likewise.
10997         * sysdeps/x86/cpu-features.h: Likewise.
10998         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10999         * sysdeps/x86/libc-start.c: Likewise.
11000         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11001         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11002         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11003         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11004         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11005         Assume USE_MULTIARCH is defined and don't check it.
11006         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11007         (is_amd): Likewise.
11008         (max_cpuid): Likewise.
11009         (intel_check_word): Likewise.
11010         (__cache_sysconf): Don't call __init_cpu_features.
11011         (__x86_preferred_memory_instruction): Removed.
11012         (init_cacheinfo): Don't call __init_cpu_features. Replace
11013         __cpu_features with GLRO(dl_x86_cpu_features).
11014         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11015         (dl_platform_init): Call init_cpu_features.
11016         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11017         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11018         * sysdeps/x86_64/multiarch/Versions: Removed.
11019         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11020         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11021         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11022         Removed.
11023         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11025 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11027         [BZ #18820]
11028         * libio/Makefile (test-fmemopen-mem): New test.
11029         * libio/test-fmemopen.c (do_bz18820): New test.
11030         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11031         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11033 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11035         [BZ #16734]
11036         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11037         (FREE_BUF): Delete.
11038         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11039         * libio/genops.c (_IO_setb): Use malloc and free directly.
11040         (_IO_default_doallocate, _IO_default_finish): Likewise.
11041         ( _IO_unbuffer_all): Likewise.
11042         ( libc_freeres_fn): Likewise.
11043         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11044         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11045         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11046         (_IO_wdefault_doallocate): Likewise.
11048 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11050         [BZ #18086]
11051         * sysdeps/posix/nice.c (nice): Restore old errno.
11052         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11054 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11058 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11060         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11061         __bcopy and add a weak_alias to bcopy.
11062         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11063         for static build.
11065         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11066         cleanup macro usage.
11067         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11068         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11070         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11071         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11072         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11073         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11074         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11075         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11076         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11077         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11078         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11080         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11081         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11083         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11084         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11085         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11087         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11088         libc_hidden_def.
11089         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11091         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11092         (sysdep_routines): Add strstr-ppc64.
11093         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11095 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11097         [BZ #18778]
11098         * elf/Makefile (tests): Add Add tst-nodelete2.
11099         (modules-names): Add tst-nodelete2mod.
11100         (tst-nodelete2mod.so-no-z-defs): New.
11101         ($(objpfx)tst-nodelete2): Likewise.
11102         ($(objpfx)tst-nodelete2.out): Likewise.
11103         (LDFLAGS-tst-nodelete2): Likewise.
11104         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11105         out of loop through all loaded libraries.
11106         * elf/tst-nodelete2.c: New file.
11107         * elf/tst-nodelete2mod.c: Likewise.
11108         * elf/tst-znodelete-zlib.cc: Delete.
11110 2015-08-11  Andreas Schwab  <schwab@suse.de>
11112         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11113         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11114         (__openat64_nocancel): Likewise.
11116 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11118         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11119         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11120         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11121         * math/auto-libm-test-out: Regenerated.
11122         * sysdeps/i386/fpu/libm-test-ulps: Update.
11123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11125 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11127         [BZ #18790]
11128         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11129         threshold for returning +/- 1.
11130         * math/auto-libm-test-in: Add more tests of tanh.
11131         * math/auto-libm-test-out: Regenerated.
11132         * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 2015-08-10  Andreas Schwab  <schwab@suse.de>
11136         [BZ #18781]
11137         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11138         MORE_OFLAGS to oflag.
11139         * io/test-lfs.c (do_test): Test openat64.
11141 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11143         [BZ #18789]
11144         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11145         smaller threshold for returning the argument.
11146         * math/auto-libm-test-in: Add more tests of sinh.
11147         * math/auto-libm-test-out: Regenerated.
11148         * sysdeps/i386/fpu/libm-test-ulps: Update.
11150 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11152         [BZ #18674]
11153         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11154         break.
11156 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11158         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11159         (generated): Don't add $(addprefix z.,$(tzfiles)).
11161 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11163         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11164         * scripts/sysd-rules.awk: Likewise.
11166 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11168         * iconvdata/tst-tables.sh: Change echo -n to printf.
11169         * nss/db-Makefile: Likewise.
11170         * posix/tst-getconf.sh: Likewise.
11171         * stdio-common/tst-unbputc.sh: Likewise.
11173 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11175         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11176         MADV_*_PAGES defines behind this feature check.
11178 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11180         [BZ #18480]
11181         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11182         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11183         Define.
11184         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11185         LOAD_REGS_5, LOAD_REGS_6): Update.
11186         (INTERNAL_SYSCALL): Update using new LOAD defines.
11187         (INTERNAL_SYSCALL_NCS): Likewise.
11188         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11190 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11192         [BZ #16734]
11193         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11195 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11197         [BZ #17905]
11198         * catgets/Makefile (tst-catgets-mem): New test.
11199         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11200         * catgets/open_catalog.c (__open_catalog): Likewise.
11201         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11203 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11205         [BZ #18787]
11206         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11207         clobber registers.
11208         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11209         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11210         Cast return to __typeof (oldval).
11212 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11214         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11215         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11216         and delete sys/syscall.h include.
11218 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11220         [BZ #16517]
11221         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11222         (tan): Force underflow exception for arguments with small absolute
11223         value.
11224         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11225         (__kernel_tanf): Force underflow exception for arguments with
11226         small absolute value.
11227         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11228         (__kernel_tanl): Force underflow exception for arguments with
11229         small absolute value.
11230         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11231         (__kernel_tanl): Force underflow exception for arguments with
11232         small absolute value.
11233         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11234         (__kernel_tanl): Force underflow exception for arguments with
11235         small absolute value.
11236         * math/auto-libm-test-in: Add more tests of tan.
11237         * math/auto-libm-test-out: Regenerated.
11239 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11241         Fix sysdeps/i386/fpu/s_scalbn.S build
11243         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11245 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11247         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11249 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11251         Fix gcrt0.o compilation
11253         When static-start-installed-name is different from
11254         start-installed-name, we must not use the shared objects.
11256         * csu/Makefile
11257         (extra-objs): Add gmon-start.o when building shared library and
11258         $(static-start-installed-name) is different from
11259         $(start-installed-name).
11260         $(objpfx)g$(static-start-installed-name): When building shared
11261         library and $(static-start-installed-name) is different from
11262         $(static-start-installed-name), revert to non-shared rule,
11263         i.e. using $(objpfx)% and gmon-start.o.
11265 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11267         [BZ #16519]
11268         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11269         (__ieee754_sinh): Force underflow exception for arguments with
11270         small absolute value.
11271         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11272         (__ieee754_sinhf): Force underflow exception for arguments with
11273         small absolute value.
11274         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11275         (__ieee754_sinhl): Force underflow exception for arguments with
11276         small absolute value.
11277         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11278         (__ieee754_sinhl): Force underflow exception for arguments with
11279         small absolute value.
11280         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11281         (__ieee754_sinhl): Force underflow exception for arguments with
11282         small absolute value.
11283         * math/auto-libm-test-in: Add more tests of sinh.
11284         * math/auto-libm-test-out: Regenerated.
11285         * sysdeps/i386/fpu/libm-test-ulps: Update.
11287 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11289         * libio/oldfileops.c: Include unistd.h.
11291 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11293         * stdlib/isomac.c: Include ctype.h.
11295 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11297         * dirent/tst-seekdir.c (main): Converted to ...
11298         (do_test): ... this.
11299         (TEST_FUNCTION): New macro.
11300         Include test-skeleton.c.
11301         * elf/tst-dlmodcount.c (main): Converted to ...
11302         (do_test): ... this.
11303         (TEST_FUNCTION): New macro.
11304         Include test-skeleton.c.
11305         * elf/tst-order-main.c (main): Converted to ...
11306         (do_test): ... this.
11307         (TEST_FUNCTION): New macro.
11308         Include test-skeleton.c.
11309         * elf/tst-pie2.c (main): Converted to ...
11310         (do_test): ... this.
11311         (TEST_FUNCTION): New macro.
11312         Include test-skeleton.c.
11313         * inet/tst-ether_aton.c (main): Converted to ...
11314         (do_test): ... this.
11315         (TEST_FUNCTION): New macro.
11316         Include test-skeleton.c.
11317         * misc/tst-mntent.c (main): Converted to ...
11318         (do_test): ... this.
11319         (TEST_FUNCTION): New macro.
11320         Include test-skeleton.c.
11321         * misc/tst-tsearch.c (main): Converted to ...
11322         (do_test): ... this.
11323         (TEST_FUNCTION): New macro.
11324         Include test-skeleton.c.
11325         * posix/tst-regexloc.c (main): Converted to ...
11326         (do_test): ... this.
11327         (TEST_FUNCTION): New macro.
11328         Include test-skeleton.c.
11329         * resolv/tst-aton.c (main): Converted to ...
11330         (do_test): ... this.
11331         (TEST_FUNCTION): New macro.
11332         Include test-skeleton.c.
11333         * stdio-common/test-fwrite.c (main): Converted to ...
11334         (do_test): ... this.
11335         (TEST_FUNCTION): New macro.
11336         Include test-skeleton.c.
11337         * stdio-common/tst-ferror.c (main): Converted to ...
11338         (do_test): ... this.
11339         (TEST_FUNCTION): New macro.
11340         Include test-skeleton.c.
11341         * stdio-common/tst-printf.c (main): Converted to ...
11342         (do_test): ... this.
11343         (TEST_FUNCTION): New macro.
11344         Include test-skeleton.c.
11345         * stdio-common/tst-printfsz.c (main): Converted to ...
11346         (do_test): ... this.
11347         (TEST_FUNCTION): New macro.
11348         Include test-skeleton.c.
11349         * stdlib/tst-strtod.c (main): Converted to ...
11350         (do_test): ... this.
11351         (TEST_FUNCTION): New macro.
11352         Include test-skeleton.c.
11353         * string/tst-strlen.c (main): Converted to ...
11354         (do_test): ... this.
11355         (TEST_FUNCTION): New macro.
11356         Include test-skeleton.c.
11357         * string/tst-svc.c (main): Converted to ...
11358         (do_test): ... this.
11359         (TEST_FUNCTION): New macro.
11360         Include test-skeleton.c.
11361         * time/tst-strptime.c (main): Converted to ...
11362         (do_test): ... this.
11363         (TEST_FUNCTION): New macro.
11364         Include test-skeleton.c.
11365         * timezone/tst-timezone.c (main): Converted to ...
11366         (do_test): ... this.
11367         (TEST_FUNCTION): New macro.
11368         Include test-skeleton.c.
11370 2015-08-05  Zack Weinberg  <zackw@panix.com>
11372         * misc/regexp.h: Update comments.
11374 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
11376         [BZ #18635]
11377         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
11378         before return label.
11380 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11382         [BZ #18661]
11383         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
11384         when calling __errno_location.
11385         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
11386         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
11388 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11390         [BZ #18661]
11391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
11392         (__lll_timedwait_tid): Align stack to 16 bytes when calling
11393         __gettimeofday.
11395 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11397         [BZ #18661]
11398         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11399         (__start_context): Don't use pop to restore %rdi so that stack
11400         is aligned to 16 bytes when calling __setcontext.
11402 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11404         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
11405         only for libc.
11406         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11408 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11410         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
11411         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
11412         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
11414 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11416         * string/memccpy.c (memccpy):
11417         Improve performance by using memchr/memcpy/__mempcpy.
11419 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11421         * string/strncpy.c (strncpy):
11422         Improve performance by using __strnlen/memcpy.
11424 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11426         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11427         Optimize to avoid an unnecessary FPCR read.
11429 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
11431         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11432         Optimize to reduce FPCR/FPSR accesses.
11434 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
11436         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
11437         dead->data[category] != NULL.
11439 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
11441         [BZ #18647]
11442         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
11443         and |x| close to 1, use absolute value of x when computing log.
11444         * math/auto-libm-test-in: Add more tests of pow.
11445         * math/auto-libm-test-out: Regenerated.
11447 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11449         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
11450         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
11451         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
11453 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
11455         [BZ #18525]
11456         * locales/km_KH: Remove timezone definition.
11457         * locales/lo_LA: Likewise.
11458         * locales/my_MM: Likewise.
11459         * locales/nan_TW@latin: Likewise.
11460         * locales/th_TH: Likewise.
11461         * locales/uk_UA: Likewise.
11463 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11465         [BZ #18265]
11466         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
11467         (wcsncat): Likewise.
11468         (wcscmp): Likewise.
11469         (wcsncmp): Likewise.
11471 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11473         * test-skeleton.c (usage): New function.
11474         (main): Call usage when opt is '?'.
11476 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11478         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
11479         before first use.
11481 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
11483         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
11484         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
11485         in there too.
11487 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
11489         * version.h (RELEASE): Set to "development".
11490         (VERSION): Set to "2.22.90"
11492         * version.h (RELEASE): Set to "stable".
11493         (VERSION): Set to "2.22"
11494         * include/features.h (__GLIBC_MINOR__): Set to 22.
11496 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
11498         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
11499         Restructure macro to avoid "value computed is not used" warning.
11500         (atomic_compare_and_exchange_val_acq): Likewise.
11502 2015-08-04  Andreas Schwab  <schwab@suse.de>
11504         [BZ #18635]
11505         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
11506         ret.
11507         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
11509 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
11511         * po/pl.po: Updated translation.
11512         * po/uk.po: Likewise.
11513         * po/fi.po: Likewise.
11514         * po/ko.po: Likewise.
11515         * po/ru.po: Likewise.
11516         * po/vi.po: Likewise.
11518 2015-07-31  Zack Weinberg  <zackw@panix.com>
11520         [BZ #18681]
11521         * regexp.h: Add unconditional #warning stating that this header
11522         will be removed soon.  Revise banner comment to match.
11523         (compile): Consistently use ERROR instead of RETURN to report
11524         errors (partial fix for bz#18681).
11525         * regexp.c: Don't include regexp.h. Remove some unnecessary
11526         declarations.
11528 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
11530         * po/libc.pot: Regenerated.
11532 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
11534         [BZ #18740]
11535         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
11536         float-vlen4-arch-ext-cflags): Removed.
11537         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
11538         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
11540 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11542         [BZ #14113]
11543         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
11544         aligned to __aligned__.
11545         (pthread_cond_t, pthread_rwlock_t): Likewise.
11547 2015-07-30  Torvald Riegel  <triegel@redhat.com>
11549         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
11551 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11553         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
11554         (struct sigaction): Change sa_flags from a long to an int, and add
11555         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
11557 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11559         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
11560         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
11561         sysdeps/generic/sysdep.h include.
11562         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
11563         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
11564         sysdeps/hppa/sysdep.h.
11565         (ENTRY, PSEUDO): Undefine before defining.
11567 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
11569         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
11570         from scratch to use INTERNAL_SYSCALL.
11572 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
11574         [BZ #18078]
11575         * scripts/check-localplt.awk: Support alternate relocations.
11576         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
11577         sections.
11578         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
11579         malloc entries with + REL R_386_GLOB_DAT.
11580         * sysdeps/x86_64/localplt.data: New file.
11582 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
11584         [BZ #18731]
11585         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
11586         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11587         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11589 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11591         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
11593 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11595         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
11596         directly in terms of __sync_fetch_and_add and delete (int) cast.
11598 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11600         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
11601         the -D_ASM_IA64_CURRENT_H flag.
11603 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
11605         [BZ #18641]
11606         * pwd/pwd.h (putpwent): Delete __nonnull markings.
11608 2015-07-27  Andreas Schwab  <schwab@suse.de>
11610         * conform/conformtest.pl (checknamespace): Filter out string
11611         literals while tokenizing.
11613 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11615         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11616         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
11617         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11619 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
11621         * nptl/tst-join7mod.c: Add #include <string.h>.
11623 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11625         * sysdeps/nios2/libm-test-ulps: Update.
11627 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
11629         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
11630         Fix order of arguments to the rt_sigprocmask syscall.
11631         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
11632         Likewise.
11634 2015-07-24  Roland McGrath  <roland@hack.frob.com>
11636         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
11638 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11640         [BZ #18457]
11641         * nptl/Makefile (tests): New test case tst-join7.
11642         (modules-names): New test case module tst-join7mod.
11643         * nptl/tst-join7.c: New file.
11644         * nptl/tst-join7mod.c: New file.
11645         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
11646         all translation units in libc.so, libpthread.so and rtld.
11648 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11652 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
11654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
11655         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11656         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11659         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11660         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11662         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11664         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11666         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
11667         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
11668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
11669         implementation.
11671 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11673         [BZ #17711]
11674         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11675         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
11676         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11677         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
11678         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
11679         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
11681 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11683         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
11684         instead of just saying load lock in the comments.
11686 2015-07-23  Roland McGrath  <roland@hack.frob.com>
11688         * sysdeps/unix/Subdirs: Moved ...
11689         * sysdeps/posix/Subdirs: ... here.
11690         * login/pty.h (struct termios, struct winsize): Add forward decls.
11691         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
11692         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
11693         * sysdeps/arm/nacl/libc.abilist: Updated.
11694         * sysdeps/nacl/libutil.abilist: New file.
11696         * bits/signum.h: Update comments to mention 1003.1-2013 too.
11697         (SIGWINCH): New macro.
11699         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
11700         * sysdeps/arm/nacl/libc.abilist: Add it.
11702 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11704         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
11706 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
11708         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11709         Swap __glibc_reserved0 and sa_flags order.
11711 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713         [BZ #18657]
11714         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
11715         are pending TLS destructor calls.
11716         * include/link.h (struct link_map): Add concurrency note for
11717         L_TLS_DTOR_COUNT.
11718         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11719         Don't touch the link map flag.  Atomically increment
11720         l_tls_dtor_count.
11721         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
11722         Avoid taking the load lock and don't touch the link map flag.
11723         * stdlib/tst-tls-atexit-nodelete.c: New test case.
11724         * stdlib/Makefile (tests): Use it.
11725         * stdlib/tst-tls-atexit.c (do_test): dlopen
11726         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
11727         to allow tst-tls-atexit-nodelete test case to use it.
11729 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11731         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
11732         to bits/types.h.
11733         (msgqnum_t): New typedef.
11734         (msglen_t): Likewise.
11735         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
11736         and msg_qbytes type to msglen_t.
11738 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11740         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
11741         pad0 to __glibc_reserved0.
11742         (struct stat64): Likewise.
11744 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11746         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
11747         Change sa_flags from a long to an int and add __glibc_reserved0 before
11748         it for padding.
11750 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
11752         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
11753         anonymous by deleting "siginfo" name.
11755 2015-07-21  Roland McGrath  <roland@hack.frob.com>
11757         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
11758         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
11759         rather than __nacl_irt_filename.
11760         * sysdeps/nacl/xstat.c (__xstat): Likewise.
11762         * NEWS: New item for arm-nacl port.
11763         * sysdeps/arm/nacl/libc.abilist: New file.
11764         * sysdeps/nacl/ld.abilist: New file.
11765         * sysdeps/nacl/libBrokenLocale.abilist: New file.
11766         * sysdeps/nacl/libanl.abilist: New file.
11767         * sysdeps/nacl/libcrypt.abilist: New file.
11768         * sysdeps/nacl/libdl.abilist: New file.
11769         * sysdeps/nacl/libm.abilist: New file.
11770         * sysdeps/nacl/libpthread.abilist: New file.
11771         * sysdeps/nacl/libresolv.abilist: New file.
11772         * sysdeps/nacl/librt.abilist: New file.
11774 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
11776         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
11777         __startcontext to initialize the new context.
11778         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
11779         up CFI directive to forbid further backtracing.
11781 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
11783         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
11784         reference.
11785         * charmaps/ANSI_X3.4-1968: Likewise.
11786         * charmaps/BS_4730: Likewise.
11787         * charmaps/BS_VIEWDATA: Likewise.
11788         * charmaps/CP1250: Likewise.
11789         * charmaps/CP1251: Likewise.
11790         * charmaps/CP1252: Likewise.
11791         * charmaps/CP1253: Likewise.
11792         * charmaps/CP1254: Likewise.
11793         * charmaps/CP1255: Likewise.
11794         * charmaps/CP1256: Likewise.
11795         * charmaps/CSN_369103: Likewise.
11796         * charmaps/EBCDIC-DK-NO: Likewise.
11797         * charmaps/GB_1988-80: Likewise.
11798         * charmaps/GREEK-CCITT: Likewise.
11799         * charmaps/GREEK7: Likewise.
11800         * charmaps/INIS-8: Likewise.
11801         * charmaps/ISIRI-3342: Likewise.
11802         * charmaps/ISO_2033-1983: Likewise.
11803         * charmaps/ISO_5427-EXT: Likewise.
11804         * locales/POSIX: Likewise.
11805         * locales/ar_SA: Likewise.
11806         * locales/be_BY: Likewise.
11807         * locales/be_BY@latin: Likewise.
11808         * locales/ca_ES: Likewise.
11809         * locales/cs_CZ: Likewise.
11810         * locales/da_DK: Likewise.
11811         * locales/de_BE: Likewise.
11812         * locales/de_CH: Likewise.
11813         * locales/de_LU: Likewise.
11814         * locales/en_AU: Likewise.
11815         * locales/en_BW: Likewise.
11816         * locales/en_CA: Likewise.
11817         * locales/en_DK: Likewise.
11818         * locales/en_GB: Likewise.
11819         * locales/en_IE: Likewise.
11820         * locales/en_NZ: Likewise.
11821         * locales/en_ZA: Likewise.
11822         * locales/en_ZW: Likewise.
11823         * locales/es_AR: Likewise.
11824         * locales/es_BO: Likewise.
11825         * locales/es_CL: Likewise.
11826         * locales/es_CO: Likewise.
11827         * locales/es_DO: Likewise.
11828         * locales/es_EC: Likewise.
11829         * locales/es_ES: Likewise.
11830         * locales/es_HN: Likewise.
11831         * locales/es_MX: Likewise.
11832         * locales/es_PA: Likewise.
11833         * locales/es_PE: Likewise.
11834         * locales/es_PY: Likewise.
11835         * locales/es_SV: Likewise.
11836         * locales/es_US: Likewise.
11837         * locales/es_UY: Likewise.
11838         * locales/es_VE: Likewise.
11839         * locales/et_EE: Likewise.
11840         * locales/fa_IR: Likewise.
11841         * locales/fo_FO: Likewise.
11842         * locales/fr_CA: Likewise.
11843         * locales/fr_CH: Likewise.
11844         * locales/gv_GB: Likewise.
11845         * locales/he_IL: Likewise.
11846         * locales/hr_HR: Likewise.
11847         * locales/id_ID: Likewise.
11848         * locales/is_IS: Likewise.
11849         * locales/it_CH: Likewise.
11850         * locales/iw_IL: Likewise.
11851         * locales/kl_GL: Likewise.
11852         * locales/ko_KR: Likewise.
11853         * locales/kw_GB: Likewise.
11854         * locales/lg_UG: Likewise.
11855         * locales/lt_LT: Likewise.
11856         * locales/lv_LV: Likewise.
11857         * locales/mi_NZ: Likewise.
11858         * locales/nhn_MX: Likewise.
11859         * locales/nl_BE: Likewise.
11860         * locales/pl_PL: Likewise.
11861         * locales/sk_SK: Likewise.
11862         * locales/sl_SI: Likewise.
11863         * locales/sv_FI: Likewise.
11864         * locales/tl_PH: Likewise.
11865         * locales/tr_TR: Likewise.
11866         * locales/vi_VN: Likewise.
11868 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11870         [BZ #17475]
11871         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11872         of tu_IN and bh_IN.
11874 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11876         [BZ #18694]
11877         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11878         bits/wordsize.h.
11879         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11881 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11883         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11884         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11885         (spawn_thread): New function.
11886         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11887         (do_test): ... here.  Use IS_LOADED to test for its
11888         availability.
11890 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11892         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11894 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11896         [BZ #18696]
11897         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11898         si_addr_bnd.
11899         (si_lower): New.
11900         (si_upper): Likewise.
11902 2015-07-16  David S. Miller  <davem@davemloft.net>
11904         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11906 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11908         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11909         buffer.
11910         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11911         fail output information.
11913 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11916         and strstr-ppc64..
11917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11918         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11919         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11920         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11921         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11923 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11925         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11926         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11927         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11928         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11930 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11932         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11933         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11934         rtld_hidden_proto.
11935         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11937 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11939         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11940         the test can fail.
11942         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11944         [BZ #18676]
11945         * elf/tst-nodelete-opened.c: New test case.
11946         * elf/tst-nodelete-opened-lib.c: New test case module.
11947         * elf/Makefile (tests, modules-names): Use them.
11948         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11949         early.
11951 2015-07-15  David S. Miller  <davem@davemloft.net>
11953         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11954         futex-intenal.h
11955         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11956         * sysdeps/sparc/sparc64/Makefile: Likewise.
11957         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11958         Remove space from macro define.
11959         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11961 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11963         [BZ #17475]
11964         * locale/iso-639.def: Update Bhili and Tulu language codes as
11965         per iso639-3.
11967 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11969         * elf/tst-leaks1.c (main): Converted to ...
11970         (do_test): ... this.
11971         (TEST_FUNCTION): New macro.
11972         Include test-skeleton.c.
11973         * localedata/tst-langinfo.c (main): Converted to ...
11974         (do_test): ... this.
11975         (TEST_FUNCTION): New macro.
11976         Include test-skeleton.c.
11977         * math/test-fpucw.c (main): Converted to ...
11978         (do_test): ... this.
11979         (TEST_FUNCTION): New macro.
11980         Include test-skeleton.c.
11981         * math/test-tgmath.c (main): Converted to ...
11982         (do_test): ... this.
11983         (TEST_FUNCTION): New macro.
11984         Include test-skeleton.c.
11985         * math/test-tgmath2.c (main): Converted to ...
11986         (do_test): ... this.
11987         (TEST_FUNCTION): New macro.
11988         Include test-skeleton.c.
11989         * setjmp/tst-setjmp.c (main): Converted to ...
11990         (do_test): ... this.
11991         (TEST_FUNCTION): New macro.
11992         Include test-skeleton.c.
11993         * stdio-common/tst-sscanf.c (main): Converted to ...
11994         (do_test): ... this.
11995         (TEST_FUNCTION): New macro.
11996         Include test-skeleton.c.
11997         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11998         (do_test): ... this.
11999         (TEST_FUNCTION): New macro.
12000         Include test-skeleton.c.
12002         * elf/tst-audit9.c (main): Converted to ...
12003         (do_test): ... this.
12004         (TEST_FUNCTION): New macro.
12005         Include test-skeleton.c.
12007 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12009         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12011 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12013         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12014         New variable.
12016 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12018         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12020 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12022         * sysdeps/generic/dl-fileid.h: New file.
12023         * sysdeps/posix/dl-fileid.h: New file.
12024         * sysdeps/nacl/dl-fileid.h: New file.
12025         * include/link.h: Include <dl-fileid.h>.
12026         (struct link_map): Replace l_dev and l_ino with l_file_id.
12027         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12028         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12029         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12031 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12033         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12035 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12037         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12038         Add iff $CXX is set.
12039         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12040         Likewise.
12041         (tst-nodelete-zmodiff): Likewise.
12042         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12044 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12048 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12050         * sysdeps/aarch64/fpu/math_private.h
12051         (define math_opt_barrier): Add AArch64 version.
12052         (math_force_eval): Likewise.
12054 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12056         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12058 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12060         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12061         %ld with %jd and cast to intmax_t.
12062         (do_test_length_zero): Likewise.
12064 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12066         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12068 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12070         * sysdeps/tile/libm-test-ulps: Regenerated.
12072         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12073         Comment out the whole function, not just its body.
12075 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12077         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12078         locks.
12080         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12082 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12084         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12085         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12087 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12089         * sysdeps/nptl/futex-internal.h: New file.
12090         * sysdeps/nacl/futex-internal.h: New file.
12091         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12092         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12093         error checking.
12094         (setxid_unmark_thread): Likewise.
12095         (__nptl_setxid): Likewise.
12096         (__wait_lookup_done): Likewise.
12097         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12098         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12099         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12100         * nptl/pthread_once.c (clear_once_control): Likewise.
12101         (__pthread_once_slow): Likewise.
12102         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12103         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12104         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12105         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12106         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12107         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12108         Likewise.
12109         (__pthread_rwlock_rdlock): Likewise.
12110         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12111         Likewise.
12112         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12113         Likewise.
12114         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12115         Likewise.
12116         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12117         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12118         Likewise.
12119         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12120         __ASSUME_PRIVATE_FUTEX check.
12121         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12122         Check that shared futexes are supported.
12123         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12124         wrappers with error checking.
12125         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12126         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12127         * nptl/pthread_barrierattr_setpshared.c
12128         (pthread_barrierattr_setpshared): Check that shared futexes are
12129         supported.
12130         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12131         Likewise.
12132         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12133         Likewise.
12134         * nptl/sem_init.c (futex_private_if_supported): Remove.
12135         (__new_sem_init): Adapt and check that shared futexes are supported.
12136         * nptl/sem_open.c (sem_open): Likewise.
12137         * nptl/sem_post.c (futex_wake): Remove.
12138         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12139         (do_futex_wait): Use futex wrappers with error checking.
12140         * nptl/sem_wait.c: Include lowlevellock.h.
12141         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12142         Use futex_supports_pshared.
12143         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12144         Use futex wrappers with error checking.
12145         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12146         Likewise.
12147         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12148         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12149         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12150         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12151         (futex_wake): Likewise.
12152         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12153         (do_futex_wait): Use futex wrappers with error checking.
12154         (__new_sem_wait_slow): Update EINTR handling.
12155         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12157 2015-07-09  Martin Sebor  <msebor@redhat.com>
12159         [BZ #18435]
12160         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12161         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12162         * nptl/Makefile (test-xfail-tst-once5): Define.
12164 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12166         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12167         * elf/dl-minimal.c: For readability, reorder some definitions and
12168         introduce more page breaks.  Include <stdio.h>.
12169         (__libc_fatal): New function.
12171         * include/unistd.h: Add rtld_hidden_proto for _exit.
12172         * posix/_exit.c: Add rtld_hidden_def.
12173         * sysdeps/mach/hurd/_exit.c: Likewise.
12174         * sysdeps/nacl/_exit.c: Likewise.
12175         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12176         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12178 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12181         bndmov encoding with zero displacement.
12183 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12184             H.J. Lu  <hongjiu.lu@intel.com>
12186         [BZ #18134]
12187         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12188         * sysdeps/i386/configure: Regenerated.
12189         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12190         (_dl_runtime_profile): Save and restore Intel MPX return bound
12191         registers when calling _dl_call_pltexit.  Add
12192         PRESERVE_BND_REGS_PREFIX before return.
12193         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12194         (LRV_BND1_OFFSET): Likewise.
12195         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12196         lrv_bnd1.
12197         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12198         typo in bndmov encoding.
12199         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12200         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12201         branch instructions to preserve bounds.
12203 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12206         [GLIBC_2.22]: Add fmemopen.
12208 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12210         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12211         returns an error, also try to use host port from __mach_host_self for
12212         the __vm_wire call.
12213         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12215 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12217         [BZ #18400]
12218         [BZ #18648]
12219         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12220         Fix pr_uid and pr_gid members.
12221         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12222         definition to elf_greg_t.
12224 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12226         [BZ #18383]
12227         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12228         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12229         * sysdeps/arm/configure: Regenerated.
12230         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12231         (test-xfail-tst-tlsalign-static): Variable removed.
12233         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12234         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12235         rather than explicit 'ln -s'.
12237         * resolv/rpc/netdb.h: New file.
12238         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12240 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12242         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12243         length buffers.
12244         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12245         test-skeleton.c.
12247         [BZ #6544]
12248         [BZ #11216]
12249         [BZ #12836]
12250         [BZ #13151]
12251         [BZ #13152]
12252         [BZ #14292]
12253         * include/stdio.h (fmemopen): Remove hidden prototype.
12254         (__fmemopen): Add new hidden prototype.
12255         * libio/Makefile: Add oldfmemopen object.
12256         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12257         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12258         compliance.
12259         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12260         symbol compatibility.
12261         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12262         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12263         fmemopen.
12264         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12265         on append and read mode.
12266         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12267         fmemopen.
12268         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12269         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12270         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12271         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12274         [GLIBC_2.22]: Likewise.
12275         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12276         Likewise.
12277         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12278         Likewise.
12279         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12280         [GLIBC_2.22]: Likewise.
12281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12282         [GLIBC_2.22]: Likewise.
12283         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12284         [GLIBC_2.22]: Likewise.
12285         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12286         [GLIBC_2.22]: Likewise.
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12288         [GLIBC_2.22]: Likewise.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12290         [GLIBC_2.22]: Likewise.
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12292         [GLIBC_2.22]: Likewise.
12293         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12294         Likewise.
12295         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12296         Likewise.
12297         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12298         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12299         [GLIBC_2.22]: Likewise.
12300         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12301         [GLIBC_2.22]: Likewise.
12302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12303         [GLIBC_2.22]: Likewise.
12304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12305         [GLIBC_2.22]: Likewise.
12306         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12307         Likewise.
12308         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12309         Likewise.
12310         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12311         Likewise.
12312         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12313         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12315 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12317         [BZ #18643]
12318         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12319         IPV6_PATHMTU, and IPV6_DONTFRAG.
12321 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12323         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12324         and _IO_UNBUFFERED.
12325         * libio/oldfileops.c: Likewise.
12326         * libio/wfileops.c: Likewise.
12328 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12330         * nscd/selinux.c: Delete selinux/flask.h include.
12332 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
12334         [BZ #18641]
12335         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
12336         (putpwent): Likewise.
12337         (getpwnam): Likewise.
12338         (getpwent_r): Likewise.
12339         (getpwuid_r): Likewise.
12340         (getpwnam_r): Likewise.
12341         (fgetpwent_r): Likewise.
12343 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12345         [BZ #18557]
12346         * inet/rcmd.c (__validuser2_sa): Check user first to
12347         short-circuit host check.
12349 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
12350             Mikhail Ilin  <m.ilin@samsung.com>
12352         [BZ #17833]
12353         * elf/Makefile (tests): Add tst-nodelete.
12354         (modules-names): Add tst-nodelete-uniquemod.
12355         (tst-nodelete-uniquemod.so-no-z-defs): New.
12356         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
12357         (tst-nodelete-zmod.so-no-z-defs): Likewise.
12358         ($(objpfx)tst-nodelete): Likewise.
12359         ($(objpfx)tst-nodelete.out): Likewise.
12360         (LDFLAGS-tst-nodelete): Likewise.
12361         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
12362         * elf/dl-close.c (_dl_close_worker): Add a parameter to
12363         implement forced object deletion.
12364         (_dl_close): Pass false to _dl_close_worker.
12365         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
12366         * elf/tst-nodelete.cc: New file.
12367         * elf/tst-nodeletelib.cc: Likewise.
12368         * elf/tst-znodeletelib.cc: Likewise.
12369         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
12371 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12373         [BZ #18508]
12374         * stdlib/Makefile ($(objpfx)tst-makecontext3):
12375         Depend on $(libdl).
12376         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
12377         is not called infinitely times.
12378         (backtrace_helper): New function.
12379         (trace_arg): New struct.
12380         (st1): Enlarge stack size.
12381         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12382         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
12383         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12384         Likewise.
12386 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12388         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12390 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12392         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
12393         Include sys/types.h instead of bits/types.h.
12394         Remove inclusion of bits/wordsize.h.
12396 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12398         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
12399         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
12400         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
12401         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
12402         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
12403         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
12405 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12407         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
12408         link-defines.sym.
12409         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
12410         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
12411         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
12412         and LR_SIZE.
12413         * sysdeps/i386/link-defines.sym: New file.
12415 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
12417         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
12418         (modules-names): Add tst-auditmod3a tst-auditmod3b.
12419         ($(objpfx)tst-audit3): New rule.
12420         ($(objpfx)tst-audit3.out): Likewise.
12421         * sysdeps/i386/tst-audit3.c: New file.
12422         * sysdeps/i386/tst-audit3.h: Likewise.
12423         * sysdeps/i386/tst-auditmod3a.c: Likewise.
12424         * sysdeps/i386/tst-auditmod3b.c: Likewise.
12426 2015-07-07  Torvald Riegel  <triegel@redhat.com>
12428         [BZ #18633]
12429         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
12430         pointer in C code.
12431         (__strcat_c): Likewise.
12432         (__strcat_g): Likewise.
12434 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
12436         [BZ #18592]
12437         * misc/sbrk.c: Set errno to ENOMEM on overflow.
12439 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12441         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
12442         New function.  (__ieee754_sqrtf): New function.
12443         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
12444         New function.
12445         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
12446         New function.
12448 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
12450         * sysdeps/ieee754/support.c: Remove unused file.
12452 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12454         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
12455         registers instead of d ones so the layout is kernel abi compatible.
12456         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
12457         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
12458         Likewise.
12460 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12462         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12464 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12466         [BZ #18619]
12467         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
12468         and return argument in case of subnormal argument.
12470 2015-07-01  Martin Sebor  <msebor@redhat.com>
12472         [BZ #18435]
12473         * nptl/Makefile: Add tst-once5.cc.
12474         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12475         Remove macro redefinitions.
12476         * nptl/tst-once5.cc: New test.
12478 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
12480         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12482         * sysdeps/arm/libm-test-ulps: Regenerated.
12484         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12487 2015-06-30  Torvald Riegel  <triegel@redhat.com>
12489         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
12490         lll_lock_wait_private and lll_futex_wake probes.
12492         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12493         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
12494         Likewise.
12495         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
12496         atomic_spin_nop.
12497         * sysdeps/x86_64/bits/atomic.h: Likewise.
12498         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
12499         to atomic_spin_nop and move ...
12500         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12501         ... here and ...
12502         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
12503         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
12504         atomic_spin_nop instead of BUSY_WAIT_NOP.
12505         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
12506         Likewise.
12507         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
12508         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
12509         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
12510         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
12511         instead of atomic_delay.
12513 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
12515         [BZ #18613]
12516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
12517         X_ADJ not X when adjusting exponent.
12518         (__ieee754_gamma_r): Do intermediate computations in
12519         round-to-nearest then adjust overflowing and underflowing results
12520         as needed.
12521         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
12522         of X_ADJ not X when adjusting exponent.
12523         (__ieee754_gammaf_r): Do intermediate computations in
12524         round-to-nearest then adjust overflowing and underflowing results
12525         as needed.
12526         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
12527         log of X_ADJ not X when adjusting exponent.
12528         (__ieee754_gammal_r): Do intermediate computations in
12529         round-to-nearest then adjust overflowing and underflowing results
12530         as needed.  Use 1.0L not 1.0f as numerator of division.
12531         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
12532         log of X_ADJ not X when adjusting exponent.
12533         (__ieee754_gammal_r): Do intermediate computations in
12534         round-to-nearest then adjust overflowing and underflowing results
12535         as needed.  Use 1.0L not 1.0f as numerator of division.
12536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
12537         of X_ADJ not X when adjusting exponent.
12538         (__ieee754_gammal_r): Do intermediate computations in
12539         round-to-nearest then adjust overflowing and underflowing results
12540         as needed.  Use 1.0L not 1.0f as numerator of division.
12541         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
12542         to auto-libm-test-in.
12543         (tgamma_test): Use ALL_RM_TEST.
12544         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
12545         tests of tgamma with spurious-overflow.
12546         * math/auto-libm-test-out: Regenerated.
12547         * math/gen-libm-have-vector-test.sh: Do not check for START.
12548         * sysdeps/i386/fpu/libm-test-ulps: Update.
12549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551         [BZ #18612]
12552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
12553         arguments, just return 0.5 times the argument, with underflow
12554         forced as needed.
12555         * math/auto-libm-test-in: Add more tests of j1.
12556         * math/auto-libm-test-out: Regenerated.
12558         [BZ #16559]
12559         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
12560         (__ieee754_j1): Force underflow exception for small results.
12561         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12562         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
12563         (__ieee754_j1f): Force underflow exception for small results.
12564         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12565         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12567         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
12568         (__ieee754_j1l): Force underflow exception for small results.
12569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12570         * math/auto-libm-test-in: Add more tests of j1 and jn.
12571         * math/auto-libm-test-out: Regenerated.
12573         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
12574         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
12575         (PF_MPLS): Likewise.
12576         (AF_IB): Likewise.
12577         (AF_MPLS): Likewise.
12578         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
12579         value and macro.
12580         (MS_RMT_MASK): Include MS_LAZYTIME.
12582 2015-06-26  Mel Gorman  <mgorman@suse.de>
12584         [BZ #18502]
12585         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
12586         already minimal.
12588 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
12590         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
12591         (DT_MIPS_NUM): Update.
12592         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
12593         DT_MIPS_RLD_MAP_REL.
12595 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
12597         [BZ #16559]
12598         [BZ #18602]
12599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
12600         round-to-nearest internally then recompute results that
12601         underflowed to zero in the original rounding mode.
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_jnl.c (__ieee754_jnl): Likewise.
12606         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
12607         * sysdeps/i386/fpu/libm-test-ulps: Update.
12608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12612         * NEWS: Fixed description of link with vector math library.
12614 2015-06-25  Andreas Schwab  <schwab@suse.de>
12616         [BZ #18549]
12617         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
12618         * libio/test-fmemopen.c (do_test): Add test for it.
12620 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
12622         [BZ #17841]
12623         * Makeconfig (no-pie-ldflag): New.
12624         (+link): Set to $(+link-pie) if default to PIE.
12625         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
12626         * config.make.in (build-pie-default): New.
12627         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
12628         is default.  AC_SUBST.
12629         * configure: Regenerated.
12630         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
12632 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12634         * nptl/descr.h (struct pthread): Change type of field setxid_futex
12635         to 'unsigned int'.
12637         * resolv/gai_misc.h (struct waitlist): Change type of field
12638         counterp to 'volatile unsigned int *'.
12639         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
12640         FUTEXADDR and OLDVAL.
12641         * resolv/getaddrinfo_a.c (getaddrinfo_a):
12642         Give local variable TOTAL type 'volatile unsigned int'.
12643         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12644         * resolv/gai_suspend.c (gai_suspend):
12645         Give local variable CNTR type 'unsigned int'.
12647         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
12648         counterp to 'volatile unsigned int *'.
12649         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
12650         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
12651         (aio_suspend): Give local variable CNTR type 'unsigned int'.
12652         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
12653         Give local variable TOTAL type 'volatile unsigned int'.
12654         (struct async_waitlist): Change type of field counter to 'unsigned int'.
12656 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12658         [BZ #18383]
12659         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
12660         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
12661         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
12662         comment for i386/x86-64.
12663         (test-xfail-tst-tlsalign-extern-static): Removed.
12665 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12667         * math/test-double.h: New file.
12668         * math/test-float.h: Likewise.
12669         * math/test-ldouble.h: Likewise.
12670         * math/test-math-inline.h: Likewise.
12671         * math/test-math-no-inline.h: Likewise.
12672         * math/test-math-scalar.h: Likewise.
12673         * math/test-math-vector.h: Likewise.
12674         * math/test-vec-loop.h: Remove file.  Contents moved into
12675         test-math-vector.h.
12676         * math/libm-test.inc (MATHCONST): Do not document macro.
12677         * math/test-double.c: Include test-double.h, test-math-no-inline.h
12678         and test-math-scalar.h.
12679         (FUNC): Remove macro.
12680         (FUNC_TEST): Likewise.
12681         (FLOAT): Likewise.
12682         (MATHCONST): Likewise.
12683         (PRINTF_EXPR): Likewise.
12684         (PRINTF_XEXPR): Likewise.
12685         (PRINTF_NEXPR): Likewise.
12686         (TEST_DOUBLE): Likewise.
12687         (TEST_MATHVEC): Likewise.
12688         (__NO_MATH_INLINES): Likewise.
12689         * math/test-float.c: Include test-float.h, test-math-no-inline.h
12690         and test-math-scalar.h.
12691         (FUNC): Remove macro.
12692         (FUNC_TEST): Likewise.
12693         (FLOAT): Likewise.
12694         (MATHCONST): Likewise.
12695         (PRINTF_EXPR): Likewise.
12696         (PRINTF_XEXPR): Likewise.
12697         (PRINTF_NEXPR): Likewise.
12698         (TEST_FLOAT): Likewise.
12699         (TEST_MATHVEC): Likewise.
12700         (__NO_MATH_INLINES): Likewise.
12701         * math/test-idouble.c: Include test-double.h, test-math-inline.h
12702         and test-math-scalar.h.
12703         (FUNC): Remove macro.
12704         (FUNC_TEST): Likewise.
12705         (FLOAT): Likewise.
12706         (MATHCONST): Likewise.
12707         (PRINTF_EXPR): Likewise.
12708         (PRINTF_XEXPR): Likewise.
12709         (PRINTF_NEXPR): Likewise.
12710         (TEST_DOUBLE): Likewise.
12711         (TEST_MATHVEC): Likewise.
12712         (TEST_INLINE): Likewise.
12713         (__NO_MATH_INLINES): Likewise.
12714         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
12715         test-math-scalar.h.
12716         (FUNC): Remove macro.
12717         (FUNC_TEST): Likewise.
12718         (FLOAT): Likewise.
12719         (MATHCONST): Likewise.
12720         (PRINTF_EXPR): Likewise.
12721         (PRINTF_XEXPR): Likewise.
12722         (PRINTF_NEXPR): Likewise.
12723         (TEST_FLOAT): Likewise.
12724         (TEST_MATHVEC): Likewise.
12725         (TEST_INLINE): Likewise.
12726         (__NO_MATH_INLINES): Likewise.
12727         * math/test-ildoubl.c: Include test-ldouble.h, test-math-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_LDOUBLE): Likewise.
12737         (TEST_MATHVEC): Likewise.
12738         (TEST_INLINE): Likewise.
12739         (__NO_MATH_INLINES): Likewise.
12740         * math/test-ldouble.c: Include test-ldouble.h,
12741         test-math-no-inline.h and test-math-scalar.h.
12742         (FUNC): Remove macro.
12743         (FUNC_TEST): Likewise.
12744         (FLOAT): Likewise.
12745         (MATHCONST): Likewise.
12746         (PRINTF_EXPR): Likewise.
12747         (PRINTF_XEXPR): Likewise.
12748         (PRINTF_NEXPR): Likewise.
12749         (TEST_LDOUBLE): Likewise.
12750         (TEST_MATHVEC): Likewise.
12751         (__NO_MATH_INLINES): Likewise.
12752         * math/test-double-vlen2.h: Include test-double.h,
12753         test-math-no-inline.h and test-math-vector.h.
12754         (FLOAT): Remove macro.
12755         (FUNC): Likewise.
12756         (MATHCONST): Likewise.
12757         (PRINTF_EXPR): Likewise.
12758         (PRINTF_XEXPR): Likewise.
12759         (PRINTF_NEXPR): Likewise.
12760         (TEST_DOUBLE): Likewise.
12761         (TEST_MATHVEC): Likewise.
12762         (__NO_MATH_INLINES): Likewise.
12763         (CNCT): Likewise.
12764         (CONCAT): Likewise.
12765         (WRAPPER_NAME): Likewise.
12766         (WRAPPER_DECL): Likewise.
12767         (WRAPPER_DECL_ff): Likewise.
12768         (WRAPPER_DECL_fFF): Likewise.
12769         (VECTOR_WRAPPER): Likewise.
12770         (VECTOR_WRAPPER_ff): Likewise.
12771         (VECTOR_WRAPPER_fFF): Likewise.
12772         (VEC_LEN): New macro.
12773         * math/test-double-vlen4.h: Include test-double.h,
12774         test-math-no-inline.h and test-math-vector.h.
12775         (FLOAT): Remove macro.
12776         (FUNC): Likewise.
12777         (MATHCONST): Likewise.
12778         (PRINTF_EXPR): Likewise.
12779         (PRINTF_XEXPR): Likewise.
12780         (PRINTF_NEXPR): Likewise.
12781         (TEST_DOUBLE): Likewise.
12782         (TEST_MATHVEC): Likewise.
12783         (__NO_MATH_INLINES): Likewise.
12784         (CNCT): Likewise.
12785         (CONCAT): Likewise.
12786         (WRAPPER_NAME): Likewise.
12787         (WRAPPER_DECL): Likewise.
12788         (WRAPPER_DECL_ff): Likewise.
12789         (WRAPPER_DECL_fFF): Likewise.
12790         (VECTOR_WRAPPER): Likewise.
12791         (VECTOR_WRAPPER_ff): Likewise.
12792         (VECTOR_WRAPPER_fFF): Likewise.
12793         (VEC_LEN): New macro.
12794         * math/test-double-vlen8.h: Include test-double.h,
12795         test-math-no-inline.h and test-math-vector.h.
12796         (FLOAT): Remove macro.
12797         (FUNC): Likewise.
12798         (MATHCONST): Likewise.
12799         (PRINTF_EXPR): Likewise.
12800         (PRINTF_XEXPR): Likewise.
12801         (PRINTF_NEXPR): Likewise.
12802         (TEST_DOUBLE): Likewise.
12803         (TEST_MATHVEC): Likewise.
12804         (__NO_MATH_INLINES): Likewise.
12805         (CNCT): Likewise.
12806         (CONCAT): Likewise.
12807         (WRAPPER_NAME): Likewise.
12808         (WRAPPER_DECL): Likewise.
12809         (WRAPPER_DECL_ff): Likewise.
12810         (WRAPPER_DECL_fFF): Likewise.
12811         (VECTOR_WRAPPER): Likewise.
12812         (VECTOR_WRAPPER_ff): Likewise.
12813         (VECTOR_WRAPPER_fFF): Likewise.
12814         (VEC_LEN): New macro.
12815         * math/test-float-vlen4.h: Include test-float.h,
12816         test-math-no-inline.h and test-math-vector.h.
12817         (FLOAT): Remove macro.
12818         (FUNC): Likewise.
12819         (MATHCONST): Likewise.
12820         (PRINTF_EXPR): Likewise.
12821         (PRINTF_XEXPR): Likewise.
12822         (PRINTF_NEXPR): Likewise.
12823         (TEST_FLOAT): Likewise.
12824         (TEST_MATHVEC): Likewise.
12825         (__NO_MATH_INLINES): Likewise.
12826         (CNCT): Likewise.
12827         (CONCAT): Likewise.
12828         (WRAPPER_NAME): Likewise.
12829         (WRAPPER_DECL): Likewise.
12830         (WRAPPER_DECL_ff): Likewise.
12831         (WRAPPER_DECL_fFF): Likewise.
12832         (VECTOR_WRAPPER): Likewise.
12833         (VECTOR_WRAPPER_ff): Likewise.
12834         (VECTOR_WRAPPER_fFF): Likewise.
12835         (VEC_LEN): New macro.
12836         * math/test-float-vlen8.h: Include test-float.h,
12837         test-math-no-inline.h and test-math-vector.h.
12838         (FLOAT): Remove macro.
12839         (FUNC): Likewise.
12840         (MATHCONST): Likewise.
12841         (PRINTF_EXPR): Likewise.
12842         (PRINTF_XEXPR): Likewise.
12843         (PRINTF_NEXPR): Likewise.
12844         (TEST_FLOAT): Likewise.
12845         (TEST_MATHVEC): Likewise.
12846         (__NO_MATH_INLINES): Likewise.
12847         (CNCT): Likewise.
12848         (CONCAT): Likewise.
12849         (WRAPPER_NAME): Likewise.
12850         (WRAPPER_DECL): Likewise.
12851         (WRAPPER_DECL_ff): Likewise.
12852         (WRAPPER_DECL_fFF): Likewise.
12853         (VECTOR_WRAPPER): Likewise.
12854         (VECTOR_WRAPPER_ff): Likewise.
12855         (VECTOR_WRAPPER_fFF): Likewise.
12856         (VEC_LEN): New macro.
12857         * math/test-float-vlen16.h: Include test-float.h,
12858         test-math-no-inline.h and test-math-vector.h.
12859         (FLOAT): Remove macro.
12860         (FUNC): Likewise.
12861         (MATHCONST): Likewise.
12862         (PRINTF_EXPR): Likewise.
12863         (PRINTF_XEXPR): Likewise.
12864         (PRINTF_NEXPR): Likewise.
12865         (TEST_FLOAT): Likewise.
12866         (TEST_MATHVEC): Likewise.
12867         (__NO_MATH_INLINES): Likewise.
12868         (CNCT): Likewise.
12869         (CONCAT): Likewise.
12870         (WRAPPER_NAME): Likewise.
12871         (WRAPPER_DECL): Likewise.
12872         (WRAPPER_DECL_ff): Likewise.
12873         (WRAPPER_DECL_fFF): Likewise.
12874         (VECTOR_WRAPPER): Likewise.
12875         (VECTOR_WRAPPER_ff): Likewise.
12876         (VECTOR_WRAPPER_fFF): Likewise.
12877         (VEC_LEN): New macro.
12878         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12879         test-vec-loop.h.
12880         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12881         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12882         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12883         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12884         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12885         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12886         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12888 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12890         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12891         (__getlogin_r): ... this.
12893 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12895         [BZ #18594]
12896         * math/s_ccosh.c (__ccosh): Compare with least normal value
12897         instead of comparing class with FP_SUBNORMAL.
12898         * math/s_ccoshf.c (__ccoshf): Likewise.
12899         * math/s_ccoshl.c (__ccoshl): Likewise.
12900         * math/s_cexp.c (__cexp): Likewise.
12901         * math/s_cexpf.c (__cexpf): Likewise.
12902         * math/s_cexpl.c (__cexpl): Likewise.
12903         * math/s_csin.c (__csin): Likewise.
12904         * math/s_csinf.c (__csinf): Likewise.
12905         * math/s_csinh.c (__csinh): Likewise.
12906         * math/s_csinhf.c (__csinhf): Likewise.
12907         * math/s_csinhl.c (__csinhl): Likewise.
12908         * math/s_csinl.c (__csinl): Likewise.
12909         * math/s_ctan.c (__ctan): Likewise.
12910         * math/s_ctanf.c (__ctanf): Likewise.
12911         * math/s_ctanh.c (__ctanh): Likewise.
12912         * math/s_ctanhf.c (__ctanhf): Likewise.
12913         * math/s_ctanhl.c (__ctanhl): Likewise.
12914         * math/s_ctanl.c (__ctanl): Likewise.
12915         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12916         csin, csinh, ctan and ctanh.
12917         * math/auto-libm-test-out: Regenerated.
12918         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12919         * sysdeps/i386/fpu/libm-test-ulps: Update.
12920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12924         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12925         return value is wrong, print the expected value too.
12927 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12929         [BZ #18585]
12930         * elf/readlib.c (is_gdb_python_file): New.
12931         (process_file): Don't issue errors on filenames with -gdb.py
12932         suffix.
12934 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12936         * math/auto-libm-test-in: Add more tests of csin and csinh.
12937         * math/auto-libm-test-out: Regenerated.
12938         * math/libm-test.inc (csin_test_data): Remove tests moved to
12939         auto-libm-test-in.
12940         (csinh_test_data): Likewise.
12942         [BZ #18593]
12943         * math/s_csin.c (__csin): Negate before rather than after possibly
12944         overflowing multiplication.
12945         * math/s_csinf.c (__csinf): Likewise.
12946         * math/s_csinh.c (__csinh): Likewise.
12947         * math/s_csinhf.c (__csinhf): Likewise.
12948         * math/s_csinhl.c (__csinhl): Likewise.
12949         * math/s_csinl.c (__csinl): Likewise.
12950         * math/auto-libm-test-in: Add some tests of csin and csinh.
12951         * math/auto-libm-test-out: Regenerated.
12952         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12953         (csinh_test_data): Likewise.
12954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12956         [BZ #18586]
12957         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12958         underflow exception for small results.
12960 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12962         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12963         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12964         variable and included header.
12965         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12966         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12967         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12969         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12973         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12974         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12975         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12976         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12977         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12978         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12979         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12980         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12982 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12984         [BZ #16526]
12985         [BZ #16538]
12986         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12987         (__sin): Force underflow exception for arguments with small
12988         absolute value.
12989         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12990         (__kernel_sinf): Force underflow exception for arguments with
12991         small absolute value.
12992         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12993         (__kernel_sincosl): Force underflow exception for arguments with
12994         small absolute value.
12995         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12996         (__kernel_sinl): Force underflow exception for arguments with
12997         small absolute value.
12998         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12999         (__kernel_sincosl): Force underflow exception for arguments with
13000         small absolute value.
13001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13002         (__kernel_sinl): Force underflow exception for arguments with
13003         small absolute value.
13004         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13005         (__kernel_sinl): Force underflow exception for arguments with
13006         small absolute value.
13007         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13008         (__kernel_sinf): Force underflow exception for arguments with
13009         small absolute value.
13010         * math/auto-libm-test-in: Add more tests of sin and sincos.
13011         * math/auto-libm-test-out: Regenerated.
13013         [BZ #18245]
13014         [BZ #18583]
13015         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13016         (__kernel_standard_l): Use feholdexcept and fesetenv around
13017         conversion to double instead of special-casing overflow and
13018         underflow.
13019         * math/libm-test.inc (fmod_test_data): Add more tests.
13020         (remainder_test_data): Likewise.
13021         (sqrt_test_data): Likewise.
13023 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13025         [BZ #17403]
13026         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13027         atomic_read_barrier, atomic_write_barrier): Define.
13028         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13029         atomic_read_barrier, atomic_write_barrier): Define.
13031 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13033         * math/Makefile [$(PERL) != no]
13034         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13035         dependency on libm-test.stmp below the inclusion of Rules.
13037 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13039         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13040         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13041         and included header.
13042         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13043         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13044         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13045         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13046         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13047         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13048         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13049         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13050         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13051         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13052         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13053         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13054         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13055         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13056         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13057         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13058         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13059         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13060         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13062 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13064         [BZ #18371]
13065         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13066         intermediate but not final result might underflow.
13067         * math/s_csqrtf.c (__csqrtf): Likewise.
13068         * math/s_csqrtl.c (__csqrtl): Likewise.
13069         * math/auto-libm-test-in: Add more tests of csqrt.
13070         * math/auto-libm-test-out: Regenerated.
13071         * sysdeps/i386/fpu/libm-test-ulps: Update.
13073         [BZ #18219]
13074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13075         threshold on absolute value of exponent for which scaling is used.
13076         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13077         * math/auto-libm-test-in: Add more tests of exp2.
13078         * math/auto-libm-test-out: Regenerated.
13080 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13082         [BZ #17977]
13083         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13084         when initializing interface list, based on the bug analysis
13085         and the patch proposed by Eric Newton.
13086         * resolv/tst-res_hconf_reorder.c: New test.
13087         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13088         tst-res_hconf_reorder.
13089         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13090         and $(shared-thread-library).
13091         (tst-res_hconf_reorder-ENV): New variable.
13093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13094         in comment.
13096 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #16353]
13099         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13100         (__expm1): Force underflow exception for arguments with small
13101         absolute value.
13102         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13103         (__expm1f): Force underflow exception for arguments with small
13104         absolute value.
13105         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13106         (__expm1): Force underflow exception for arguments with small
13107         absolute value.
13108         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13109         (__expm1f): Force underflow exception for arguments with small
13110         absolute value.
13111         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13112         Check for small arguments before calling __expm1.
13113         * math/auto-libm-test-in: Do not mark underflow exceptions as
13114         possibly missing for bug 16353.
13115         * math/auto-libm-test-out: Regenerated.
13117 2015-06-22  Andreas Schwab  <schwab@suse.de>
13119         [BZ #18513]
13120         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13121         PTR queries.
13123 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13125         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13127         * string/strcoll_l.c: Remove unused struct element idxnow.
13129 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13131         [BZ #18569]
13132         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13133         underflow and return argument in case of subnormal argument.
13134         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13135         Likewise.
13136         * math/auto-libm-test-in: Add more tests of expm1.
13137         * math/auto-libm-test-out: Regenerated.
13139         [BZ #16361]
13140         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13141         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13142         tiny results.
13143         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13144         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13145         tiny results.
13146         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13147         mark underflow exceptions as possibly missing for bug 16361.
13148         * math/auto-libm-test-out: Regenerated.
13150 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13152         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13153         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13154         Remove variable.
13155         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13156         (test-xfail-XOPEN2K8/utmpx.h/conform).
13158         * conform/conformtest.pl ($xerrors): New variable.
13159         (note_error): New function.
13160         (compiletest): New argument $xfail.  Use not_error.
13161         (runtest): Likewise.
13162         (top level): Handle xfail- lines.  Update calls to compiletest and
13163         runtest.  Handle xfail- and optional- in headers listed with
13164         allow-header.
13165         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13166         (O_EXEC): Likewise.
13167         (O_SEARCH): Likewise.
13168         * conform/data/stropts.h-data (ioctl): Likewise.
13169         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13170         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13171         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13172         (msghdr.msg_controllen): Likewise.
13173         (cmsghdr.cmsg_len): Likewise.
13174         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13175         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13176         variable.
13177         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13178         (test-xfail-XPG4/stropts.h/conform): Likewise.
13179         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13180         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13181         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13182         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13183         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13184         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13185         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13186         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13187         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13188         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13189         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13190         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13191         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13192         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13193         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13194         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13195         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13196         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13197         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13199 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13201         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13202         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13203         definitions for proper unfolding of __MATHDECL_VEC.
13205 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13207         * benchtests/bench-strcoll.c:
13208         Include string.h.
13209         (main): Remove unused variable res.
13211 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13213         * timezone/Makefile (%/UTC %/Universal):
13214         Generate test-result files for UTC and Universal.
13216 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13218         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13220 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13222         [BZ #16350]
13223         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13224         for arguments with small absolute value.
13225         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13226         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13227         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13228         (__asinh): Force underflow exception for arguments with small
13229         absolute value.
13230         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13231         (__asinhf): Force underflow exception for arguments with small
13232         absolute value.
13233         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13234         (__asinhl): Force underflow exception for arguments with small
13235         absolute value.
13236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13237         (__asinhl): Force underflow exception for arguments with small
13238         absolute value.
13239         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13240         (__asinhl): Force underflow exception for arguments with small
13241         absolute value.
13242         * math/auto-libm-test-in: Do not mark underflow exceptions as
13243         possibly missing for bug 16350.
13244         * math/auto-libm-test-out: Regenerated.
13246         * include/bits/ipc.h: Remove file.
13247         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13248         variable.
13249         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13250         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13251         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13252         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13253         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13254         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13255         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13256         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13257         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13259         * math/auto-libm-test-in: Remove spurious underflow allowance for
13260         tests of cexp.
13261         * math/auto-libm-test-out: Regenerated.
13263         [BZ #18558]
13264         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13265         unconditional definition.
13266         (MCAST_BLOCK_SOURCE): Likewise.
13267         (MCAST_UNBLOCK_SOURCE): Likewise.
13268         (MCAST_LEAVE_GROUP): Likewise.
13269         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13270         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13271         (MCAST_MSFILTER): Likewise.
13272         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13273         Remove variable.
13274         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13275         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13276         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13277         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13278         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13280 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13282         * NEWS: Mention addition of x86_64 vector sincosf.
13283         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13284         * math/test-float-vlen4.h: Likewise.
13285         * math/test-float-vlen8.h: Likewise.
13286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13287         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13288         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13289         * sysdeps/x86_64/fpu/Versions: New versions added.
13290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13291         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13292         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13296         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13297         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13298         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13299         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13300         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13301         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13302         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13303         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13304         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13305         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13306         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13308         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13309         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13310         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13313         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13315         * NEWS: Mention addition of x86_64 vector sincos.
13316         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13317         * math/math.h (__MATHDECL_VEC): New macro.
13318         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13319         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13320         declaration under condition.
13321         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13322         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13323         TEST_VEC_LOOP change.
13324         * math/test-double-vlen4.h: Likewise.
13325         * math/test-double-vlen8.h: Likewise.
13326         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
13327         * math/test-float-vlen4.h: Likewise.
13328         * math/test-float-vlen8.h: Likewise.
13329         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13330         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
13331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13332         * sysdeps/x86_64/fpu/Versions: New versions added.
13333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13335         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
13337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
13338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
13339         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
13340         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
13341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
13342         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
13343         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
13344         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
13345         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
13346         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
13347         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
13348         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
13349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
13350         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13354         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13356         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13358         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13359         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13360         redirections for powf.
13361         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13362         * sysdeps/x86_64/fpu/Versions: New versions added.
13363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13365         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13366         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
13367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
13368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
13369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
13370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
13371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
13372         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
13373         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
13374         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
13375         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
13376         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
13377         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
13378         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
13379         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
13380         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13381         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13382         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13385         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13386         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13387         * math/test-float-vlen16.h: Fixed 2 argument macro.
13388         * math/test-float-vlen4.h: Likewise.
13389         * math/test-float-vlen8.h: Likewise.
13390         * NEWS: Mention addition of x86_64 vector powf.
13392 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
13394         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13395         and redefine.
13396         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13397         and redefine.
13398         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
13399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13400         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13402         [BZ #18553]
13403         * resource/getpriority.c (getpriority): Rename to __getpriority
13404         and define as weak alias of __getpriority.
13405         * resource/setpriority.c (setpriority): Rename to __setpriority
13406         and define as weak alias of __setpriority.
13407         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
13408         __getpriority and define as weak alias of __getpriority.
13409         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
13410         __setpriority and define as weak alias of __setpriority.
13411         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
13412         strong name.
13413         (setpriority): Use __setpriority as strong name.
13414         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
13415         __getpriority and define as weak alias of __getpriority.
13416         * include/sys/resource.h (__getpriority): Declare.  Use
13417         libc_hidden_proto.
13418         (__setpriority): Likewise.
13419         (getpriority): Don't use libc_hidden_proto.
13420         (setpriority): Likewise.
13421         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
13422         getpriority.  Call __setpriority instead of setpriority.
13423         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
13424         Remove variable.
13426         [BZ #18547]
13427         * misc/getttyent.c (getttynam): Rename to __getttynam and define
13428         as weak alias of __getttynam.  Use prototype function definition.
13429         Call __setttyent, __getttyent and __endttyent instead of
13430         setttyent, getttyent and endttyent.
13431         (getttyent): Rename to __getttyent and define as weak alias of
13432         __getttyent.  Call __setttyent instead of setttyent.  Call
13433         __fgets_unlocked instead of fgets_unlocked.
13434         (setttyent): Rename to __setttyent and define as weak alias of
13435         __setttyent.
13436         (endttyent): Rename to __endttyent and define as weak alias of
13437         __endttyent.
13438         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
13439         (__setttyent): Likewise.
13440         (__endttyent): Likewise.
13441         (getttyent): Don't use libc_hidden_proto.
13442         (setttyent): Likewise.
13443         (endttyent): Likewise.
13444         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
13445         __endttyent instead of setttyent, getttyent and endttyent.
13446         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
13447         Remove variable.
13449         [BZ #18546]
13450         * socket/recv.c (__recv): Use libc_hidden_def.
13451         * socket/socket.c (__socket): Likewise.
13452         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13453         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13454         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
13455         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
13456         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
13457         libc_hidden_def.
13458         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
13459         libc_hidden_weak.
13460         * include/sys/socket.h (__socket): Do not use attribute_hidden.
13461         Use libc_hidden_proto.
13462         (__recv): Likewise.
13463         * socket/Versions (libc): Export __recv and __socket at version
13464         GLIBC_PRIVATE.
13465         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
13466         instead of recv.
13467         (init_mq_netlink): Call __socket instead of socket.
13468         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
13469         Remove variable.
13471         [BZ #18545]
13472         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
13473         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
13474         hidden_weak.
13475         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
13476         define as alias of __mq_timedsend.  Use hidden_weak.
13477         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
13478         __mq_timedsend as strong name.
13479         (mq_timedreceive): Use __mq_timedreceive as strong name.
13480         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13481         (__mq_timedreceive): Likewise.
13482         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
13483         __mq_timedreceive instead of mq_timedreceive.
13484         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
13485         instead of mq_timedsend.
13486         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
13487         Remove variable.
13489         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
13490         hidden_def and hidden_weak instead of libc_hidden_def and
13491         libc_hidden_weak.
13492         (top level): Refer to hidden_def in comment.
13493         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
13494         macro.  Use it instead of libc_hidden_def.
13495         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
13496         specify __GI_* name explicitly.
13497         (mq_timedreceive): Likewise.
13498         (mq_setattr): Likewise.
13500         [BZ #18544]
13501         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
13502         __pthread_barrier_init and define as weak alias of
13503         __pthread_barrier_init.
13504         * sysdeps/sparc/nptl/pthread_barrier_init.c
13505         (pthread_barrier_init): Likewise.
13506         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
13507         __pthread_barrier_wait and define as weak alias of
13508         __pthread_barrier_wait.
13509         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13510         (pthread_barrier_wait): Likewise.
13511         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13512         (pthread_barrier_wait): Likewise.
13513         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
13514         (pthread_barrier_wait): Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
13516         (pthread_barrier_wait): Likewise.
13517         * nptl/Versions (libpthread): Export __pthread_barrier_init and
13518         __pthread_barrier_wait at version GLIBC_PRIVATE.
13519         * include/pthread.h (__pthread_barrier_init): Declare.
13520         (__pthread_barrier_wait): Likewise.
13521         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
13522         Call __pthread_barrier_wait instead of pthread_barrier_wait.
13523         (helper_thread): Likewise.
13524         (init_mq_netlink): Call __pthread_barrier_init instead of
13525         pthread_barrier_init.
13527         [BZ #18542]
13528         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
13529         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
13530         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
13531         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
13532         vswscanf.
13533         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
13534         Remove variable.
13536         [BZ #18540]
13537         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
13538         strong alias of _IO_fflush.  Use libc_hidden_def.
13539         * libio/iofflush_u.c (fflush_unlocked): Rename to
13540         __fflush_unlocked and define as weak alias of __fflush_unlocked.
13541         Use libc_hidden_weak.
13542         * include/stdio.h (__fflush_unlocked): Declare.  Use
13543         libc_hidden_proto.
13544         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
13545         fflush_unlocked.
13546         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
13547         Remove variable.
13549         [BZ #18539]
13550         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
13551         define as weak alias of __addseverity.
13552         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
13553         Remove variable.
13554         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13555         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13556         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13558         [BZ #18536]
13559         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
13560         (__tfind): Likewise.
13561         (__tdelete): Likewise.
13562         (__twalk): Likewise.
13563         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
13564         __twalk to GLIBC_PRIVATE.
13565         * include/search.h (__tsearch): Use libc_hidden_proto.
13566         (__tfind): Likewise.
13567         (__tdelete): Likewise.
13568         (__twalk): Likewise.
13569         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
13570         Call __tdelete instead of tdelete.
13571         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
13572         tfind.  Call __tsearch instead of tsearch.
13573         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
13574         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
13575         Remove variable.
13576         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13578         [BZ #18534]
13579         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
13580         (dprintf): Define as a weak alias of __dprintf, not a strong
13581         alias.
13582         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
13583         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
13584         dprintf.
13585         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
13586         Remove variable.
13587         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13588         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13590         [BZ #18533]
13591         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
13592         not a strong alias.
13593         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
13594         Remove variable.
13596         [BZ #18532]
13597         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
13598         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
13599         (in6addr_loopback): Rename to __in6addr_loopback and define as
13600         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
13601         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
13602         libc_hidden_proto.
13603         (__in6addr_any): Likewise.
13604         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
13605         in6addr_any.
13606         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
13607         variable.
13608         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13610 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13612         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
13613         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
13614         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13615         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13616         redirections for pow.
13617         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13618         * sysdeps/x86_64/fpu/Versions: New versions added.
13619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13620         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13621         build of SSE, AVX2 and AVX512 IFUNC versions.
13622         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
13623         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
13624         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
13625         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
13626         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
13627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
13628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
13629         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
13630         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
13631         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
13632         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
13633         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
13634         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
13635         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
13636         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13638         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13639         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13640         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13641         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13642         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13643         * NEWS: Mention addition of x86_64 vector pow.
13645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13646         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13647         redirections for expf.
13648         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13649         * sysdeps/x86_64/fpu/Versions: New versions added.
13650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13651         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13652         build of SSE, AVX2 and AVX512 IFUNC versions.
13653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
13654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
13655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
13656         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
13657         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
13658         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
13659         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
13660         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
13661         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
13662         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
13663         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
13664         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
13665         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
13666         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13667         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13668         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13671         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13672         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13673         * NEWS: Mention addition of x86_64 vector expf.
13675         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
13676         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
13677         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13678         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13679         redirections for exp.
13680         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13681         * sysdeps/x86_64/fpu/Versions: New versions added.
13682         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13683         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13684         build of SSE, AVX2 and AVX512 IFUNC versions.
13685         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
13686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
13687         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
13688         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
13689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
13690         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
13691         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
13692         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
13693         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
13694         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
13695         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
13696         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
13697         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
13698         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13699         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13700         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13701         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13702         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13703         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13704         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13705         * NEWS: Mention addition of x86_64 vector exp.
13707         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13708         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13709         redirections for logf.
13710         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13711         * sysdeps/x86_64/fpu/Versions: New versions added.
13712         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13713         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13714         build of SSE, AVX2 and AVX512 IFUNC versions.
13715         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
13716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
13717         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
13718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
13719         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
13720         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
13721         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
13722         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
13723         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
13724         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
13725         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
13726         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
13727         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
13728         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13729         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13730         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13731         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13732         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13733         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13734         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13735         * NEWS: Mention addition of x86_64 vector logf.
13737         * bits/libm-simd-decl-stubs.h: Added stubs for log.
13738         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
13739         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13740         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
13741         redirections for log.
13742         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13743         * sysdeps/x86_64/fpu/Versions: New versions added.
13744         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13745         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13746         build of SSE, AVX2 and AVX512 IFUNC versions.
13747         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
13748         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
13749         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
13750         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
13751         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
13752         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
13753         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
13754         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
13755         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
13756         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
13757         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
13758         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
13759         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
13760         test.
13761         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13762         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13763         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13764         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13765         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13766         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13767         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13768         * NEWS: Mention addition of x86_64 vector log.
13770 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13772         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
13773         cfi_adjust_cfa_offset argument.
13774         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
13775         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
13777         [BZ #18034]
13778         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
13779         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
13780         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
13781         ordering using ldar.
13782         (_dl_tlsdesc_dynamic): Likewise.
13783         (_dl_tlsdesc_return_lazy): Likewise.
13784         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
13785         relaxed atomics instead of volatile and synchronize with release store.
13786         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
13787         volatile.
13788         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13790 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
13792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
13794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13795         * sysdeps/x86_64/fpu/Versions: New versions added.
13796         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
13798         build of SSE, AVX2 and AVX512 IFUNC versions.
13799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
13800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
13801         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
13802         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
13803         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
13804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
13805         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
13806         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
13807         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
13808         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
13809         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
13810         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
13811         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
13812         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
13813         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13814         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13815         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13816         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13817         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13818         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13819         * NEWS: Mention addition of x86_64 vector sinf.
13821 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
13823         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
13824         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
13825         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
13826         Remove variable.
13827         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13828         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13830 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13832         [BZ #18530]
13833         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
13834         strong alias of _IO_fputs.  Use libc_hidden_def.
13835         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
13836         and define as weak alias of __fputs_unlocked.  Use
13837         libc_hidden_weak.
13838         * include/stdio.h (__fputs_unlocked): Declare.  Use
13839         libc_hidden_proto.
13840         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
13841         fputs_unlocked.
13843         [BZ #18529]
13844         * resolv/netdb.h [__USE_POSIX]: Change condition to
13845         [__USE_XOPEN2K].
13846         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
13847         not expect.
13848         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
13849         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
13850         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
13851         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13852         [XPG4 || UNIX98] (AI_ALL): Likewise.
13853         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13854         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13855         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13856         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13857         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13858         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13859         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13860         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13861         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13862         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13863         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13864         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13865         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13866         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13867         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13868         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13869         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13870         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13871         [XPG4 || UNIX98] (gai_strerror): Likewise.
13872         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13873         [XPG4 || UNIX98] (getnameinfo): Likewise.
13875         [BZ #18528]
13876         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13877         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13878         __USE_XOPEN2K8].
13879         (getgrent): Likewise.
13880         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13881         expect.
13882         [XPG3 || POSIX2008] (endgrent): Likewise.
13883         [XPG3] (setgrent): Likewise.
13884         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13885         variable.
13886         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13888         [BZ #18527]
13889         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13890         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13891         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13892         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13893         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13894         * include/unistd.h (__getlogin_r): Declare.  Use
13895         libc_hidden_proto.
13896         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13897         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13898         variable.
13899         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13900         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13901         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13903 2015-06-12  Martin Sebor  <msebor@redhat.com>
13905         [BZ #18512]
13906         * Makerules (check-install-supported): New target.
13907         (install): Add check-install-supported as a dependency.
13908         * manual/install.texi (Installing the C Library): Document
13909         that overriding prefix and exec_prefix is not supported.
13910         Mention DESTDIR.
13911         * INSTALL: Regenerate from the above.
13913 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13915         [BZ #18519]
13916         * posix/Versions (libc): Export __libc_pread at version
13917         GLIBC_PRIVATE.
13918         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13919         instead of pread.
13920         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13921         variable.
13923         [BZ #18522]
13924         * misc/efgcvt_r.c
13925         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13926         (cvt_symbol): Use weak_alias instead of strong_alias.
13927         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13928         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13929         Remove variable.
13930         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13931         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13933         [BZ #18520]
13934         * inet/herrno.c (h_errno): Rename to __h_errno.
13935         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13936         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13937         to __h_errno instead of h_errno.
13938         * nptl/herrno.c (h_errno): Rename to __h_errno.
13939         (__h_errno_location): Refer to __h_errno not h_errno.
13940         * resolv/Versions (h_errno): Rename to __h_errno.
13941         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13942         Remove variable.
13943         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13945 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13947         * configure.ac: More strict check for AVX512 assembler support.
13948         * configure: Regenerated.
13950         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13951         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13953         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13954         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13955         * sysdeps/x86_64/fpu/Versions: New versions added.
13956         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13957         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13958         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13959         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13960         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13961         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13962         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13963         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13964         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13965         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13966         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13967         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13968         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13969         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13970         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13971         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13972         test.
13973         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13974         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13976         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13977         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13978         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13979         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13980         * NEWS: Mention addition of x86_64 vector sin.
13982 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13984         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13985         comment.
13987 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13989         [BZ #18479]
13990         * nptl/pt-interp.c: New file.
13991         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13992         Add pt-interp.
13993         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13994         $(common-objpfx)runtime-linker.h.
13996 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13998         * Makeconfig (+interp): Remove unused variable.
13999         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14000         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14001         $(elf-objpfx)runtime-linker.h.
14002         ($(elf-objpfx)runtime-linker.h): Rename to
14003         $(common-objpfx)runtime-linker.h and move ...
14004         * Makerules [$(build-shared) = yes]: ... here.
14005         * elf/interp.c: Include <runtime-linker.h> instead of
14006         <elf/runtime-linker.h>.
14008 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14010         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14011         (__gettimeofday_syscall): Remove vsyscall fallback.
14012         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14013         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14014         Add syscall fallback function.
14015         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14016         if vDSO is not present.
14017         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14018         fallback function.
14019         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14020         present.
14021         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14022         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14024 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14026         [BZ #18497]
14027         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14028         of wcscmp.
14029         (wcscmp): Define as weak alias of WCSCMP.
14030         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14031         wcscoll.
14032         (USE_HIDDEN_DEF): Define.
14033         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14034         __wcscoll.  Don't use libc_hidden_weak.
14035         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14036         wcscmp.
14037         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14038         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14039         __GI_wcscmp.
14040         (weak_alias): Undefine and redefine.
14041         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14042         __wcscmp and define as weak alias of __wcscmp.
14043         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14044         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14045         (__wcscoll): Likewise.
14046         (wcscmp): Don't use libc_hidden_proto.
14047         (wcscoll): Likewise.
14048         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14049         wcscoll.
14050         * posix/regexec.c (check_node_accept_bytes): Likewise.
14051         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14052         variable.
14053         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14054         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14056         [BZ #18507]
14057         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14058         __fstatvfs and define as weak alias of __fstatvfs.  Use
14059         libc_hidden_weak.
14060         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14061         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14062         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14063         Define as alias of __fstatvfs, not fstatvfs.
14064         (fstatvfs64): Likewise.
14065         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14066         Define as alias of __statvfs, not statvfs.
14067         (statvfs64): Likewise.
14068         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14069         Remove variable.
14071 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14074         (HAVE_GETCPU_VSYSCALL): Define.
14075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14076         (HAVE_GETCPU_VSYSCALL): Likewise.
14077         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14078         * sysdeps/unix/sysv/linux/sched_getcpu.c
14079         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14080         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14081         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14082         prototype.
14083         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14084         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14085         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14087         Define.
14088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14089         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14091         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14093 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14095         * sysdeps/x86_64/fpu/Makefile: New file.
14096         * sysdeps/x86_64/fpu/Versions: New file.
14097         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14098         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14099         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14100         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14101         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14102         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14103         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14104         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14105         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14106         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14107         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14108         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14109         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14111         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14112         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14113         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14114         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14115         * sysdeps/x86_64/configure: Regenerated.
14116         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14117         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14118         * manual/install.texi (Configuring and compiling): Document
14119         --disable-mathvec.
14120         * INSTALL: Regenerated.
14121         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14123         * math/Makefile: Added rules for vector tests.
14124         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14125         declaration under condition.
14126         * math/test-double-vlen2.h: New file.
14127         * math/test-double-vlen4.h: New file.
14128         * math/test-double-vlen8.h: New file.
14129         * math/test-vec-loop.h: Added initialization macro.
14130         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14131         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14132         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14133         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14134         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14135         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14137         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14138         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14139         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14140         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14143         * sysdeps/x86_64/fpu/Versions: New versions added.
14144         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14146         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14147         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14148         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14151         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14152         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14154         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14155         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14156         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14157         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14158         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14159         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14160         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14161         * NEWS: Mention addition of x86_64 vector cosf.
14163         * math/Makefile: Added CFLAGS for new tests.
14164         * math/test-float-vlen16.h: New file.
14165         * math/test-float-vlen4.h: New file.
14166         * math/test-float-vlen8.h: New file.
14167         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14168         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14170         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14171         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14173         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14177         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14179 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14181         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14182         * locale/programs/ld-ctype.c: Likewise.
14184 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14186         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14187         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14188         bit_ZMM16_31_state): New macro.
14189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14190         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14192 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14194         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14196 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14198         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14200 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14202         [BZ #18498]
14203         * libio/memstream.c (open_memstream): Rename to __open_memstream
14204         and define as weak alias of __open_memstream.
14205         * include/stdio.h (__open_memstream): Declare.  Use
14206         libc_hidden_proto.
14207         (open_memstream): Don't use libc_hidden_proto.
14208         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14209         open_memstream.
14210         * posix/getopt.c (_getopt_internal_r): Likewise.
14211         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14212         variable.
14213         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14214         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14215         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14217         [BZ #18496]
14218         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14219         instead of wcrtomb.
14221         [BZ #18483]
14222         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14223         [__USE_XOPEN2K8].  Remove redundant #endif.
14224         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14225         Remove redundant #if.
14226         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14227         Remove variable.
14228         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14229         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14231         [BZ #18495]
14232         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14233         (__iswlower): Likewise.
14234         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14235         (__iswlower): Likewise.
14236         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14237         instead of towlower.
14238         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14239         instead of iswlower.  Call __towupper instead of towupper.
14240         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14241         instead of iswalnum.
14243 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14245         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14246         errors to stderr.
14248 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14250         [BZ #15661]
14251         [BZ #17322]
14252         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14253         Check for overflow properly.  Check for O_APPEND.  Ignore large
14254         file system block sizes.  Add comments about problems.
14255         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14256         * manual/filesys.texi (Storage Allocation): New node.
14258 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14260         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14261         cancellable syscalls.
14262         (SYS_ify): Add guard to no redefine it.
14263         (INLINE_SYSCALL): Likewise.
14264         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14265         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14266         SYSCALL_CANCEL instead.
14267         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14268         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14269         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14270         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14271         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14272         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14273         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14274         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14275         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14276         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14277         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14278         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14279         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14280         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14281         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14283         Likewise.
14284         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14285         (__libc_pread64): Likewise.
14286         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14287         (__libc_preadv): Likewise.
14288         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14289         (__libc_readv64): Likewise.
14290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14291         (__libc_pwrite): Likewise.
14292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14293         (__libc_pwrite64): Likewise.
14294         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14295         (__libc_pwritev): Likewise.
14296         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14297         (__libc_pwritev64): Likewise.
14298         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14299         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14300         (sync_file_range): Likewise.
14301         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14302         Likewise.
14303         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14304         Likewise.
14305         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14306         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14307         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14308         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14309         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14310         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14311         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14312         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14314         Likewise.
14315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14316         (__libc_read64): Likewise.
14317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14318         Likewise.
14319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14320         Likewise.
14321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14322         Likewise.
14323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14324         Likewise.
14325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14326         (__libc_pread64): Likewise.
14327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
14328         Likewise.
14329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14330         (__libc_pwrite64): Likewise.
14331         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
14332         (sync_file_range): Likewise.
14333         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
14334         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14335         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14336         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
14337         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
14338         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14339         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14340         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
14341         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
14342         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14343         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14344         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14345         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14346         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14347         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
14348         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14349         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14350         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14352         Likewise.
14353         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
14354         Likewise.
14355         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
14356         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
14357         Likewise.
14358         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
14359         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
14360         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
14361         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
14364         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
14365         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
14366         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
14367         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
14369 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
14371         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
14372         Include dl-vdso.
14373         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
14374         Use VDSO routines for gettimeofday, clock_gettime if
14375         available.
14376         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
14377         Declare VDSO symbols.
14378         * sysdeps/unix/sysv/linux/arm/sysdep.h:
14379         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
14380         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14381         * sysdeps/unix/sysv/linux/arm/Versions: Add
14382         __vdso_clock_gettime.
14384 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14386         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
14387         be an inline implementation regardless of library is built within.
14388         (open_not_cancel_2): Likewise.
14389         (__read_nocancel): Likewise.
14390         (__write_nocancel): Likewise.
14391         (openat_not_cancel): Likewise.
14392         (openat_not_cancel_3): Likewise.
14393         (openat64_not_cancel): Likewise.
14394         (openat64_not_cancel_3): Likewise.
14395         (__close_nocancel): Likewise.
14396         (pause_not_cancel): Likewise.
14397         (nanosleep_not_cancel): Likewise.
14398         (sigsuspend_not_cancel): Likewise.
14400 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14402         [BZ #14958]
14403         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
14404         wake-up.
14405         (__pthread_rwlock_rdlock_slow): Likewise.
14406         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14407         Likewise.
14408         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14409         Likewise.
14410         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
14411         * nptl/tst-rwlock16.c: New file.
14412         * nptl/Makefile (tests): Add new test.
14414 2015-06-04  Torvald Riegel  <triegel@redhat.com>
14416         [BZ #18324]
14417         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
14418         missing wake-up of readers.
14419         * nptl/tst-rwlock15.c: New file.
14420         * nptl/Makefile (tests): Add new test.
14422 2015-06-03  Roland McGrath  <roland@hack.frob.com>
14424         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
14425         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
14426         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
14427         and __nacl_supply_interface_rtld.
14428         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
14429         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
14430         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
14431         Add __nacl_supply_interface_rtld.
14432         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
14434 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14436         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
14437         isfinite.
14438         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14439         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
14441 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
14443         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
14444         __signbit* with standard C99 macros.
14445         * math/e_exp10l.c: Likewise.
14446         * math/e_exp2l.c: Likewise.
14447         * math/e_scalb.c: Likewise.
14448         * math/e_scalbf.c: Likewise.
14449         * math/e_scalbl.c: Likewise.
14450         * math/s_ldexp.c: Likewise.
14451         * math/s_ldexpf.c: Likewise.
14452         * math/s_ldexpl.c: Likewise.
14453         * math/w_atan2.c: Likewise.
14454         * math/w_atan2f.c: Likewise.
14455         * math/w_atan2l.c: Likewise.
14456         * math/w_cosh.c: Likewise.
14457         * math/w_coshf.c: Likewise.
14458         * math/w_coshl.c: Likewise.
14459         * math/w_exp10.c: Likewise.
14460         * math/w_exp10f.c: Likewise.
14461         * math/w_exp10l.c: Likewise.
14462         * math/w_exp2.c: Likewise.
14463         * math/w_exp2f.c: Likewise.
14464         * math/w_exp2l.c: Likewise.
14465         * math/w_fmod.c: Likewise.
14466         * math/w_fmodf.c: Likewise.
14467         * math/w_fmodl.c: Likewise.
14468         * math/w_hypot.c: Likewise.
14469         * math/w_hypotf.c: Likewise.
14470         * math/w_hypotl.c: Likewise.
14471         * math/w_jnl.c: Likewise.
14472         * math/w_lgamma.c: Likewise.
14473         * math/w_lgamma_r.c: Likewise.
14474         * math/w_lgammaf.c: Likewise.
14475         * math/w_lgammaf_r.c: Likewise.
14476         * math/w_lgammal.c: Likewise.
14477         * math/w_lgammal_r.c: Likewise.
14478         * math/w_pow.c: Likewise.
14479         * math/w_powf.c: Likewise.
14480         * math/w_powl.c: Likewise.
14481         * math/w_remainder.c: Likewise.
14482         * math/w_remainderf.c: Likewise.
14483         * math/w_remainderl.c: Likewise.
14484         * math/w_scalb.c: Likewise.
14485         * math/w_scalbf.c: Likewise.
14486         * math/w_scalbl.c: Likewise.
14487         * math/w_scalbln.c: Likewise.
14488         * math/w_scalblnf.c: Likewise.
14489         * math/w_scalblnl.c: Likewise.
14490         * math/w_sinh.c: Likewise.
14491         * math/w_sinhf.c: Likewise.
14492         * math/w_sinhl.c: Likewise.
14493         * math/w_tgamma.c: Likewise.
14494         * math/w_tgammaf.c: Likewise.
14495         * math/w_tgammal.c: Likewise.
14496         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14497         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
14498         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14500         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14502         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14503         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14504         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14505         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14506         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14507         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14508         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14509         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14510         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14511         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14513         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14514         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14516         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14521         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14522         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
14523         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14524         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14525         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14526         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
14527         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
14528         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
14529         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
14530         * stdio-common/printf_fp.c: Likewise.
14531         * stdio-common/printf_fphex.c: Likewise.
14532         * stdio-common/printf_size.c: Likewise.
14534 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
14536         [BZ #18470]
14537         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
14538         strnlen.
14539         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
14540         Remove variable.
14541         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14542         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14543         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14544         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14545         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14546         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14547         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14548         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14549         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14550         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14552         [BZ #18468]
14553         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
14554         weak alias of __wmemchr.  Use libc_hidden_weak.
14555         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
14556         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
14557         instead of wmemchr.
14559 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14561         [BZ #18383]
14562         * elf/tst-tlsalign-extern.c: New file.
14563         * elf/tst-tlsalign-extern-static.c: New file.
14564         * elf/tst-tlsalign-vars.c: New file.
14565         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
14566         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
14567         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
14568         ($(objpfx)tst-tlsalign-extern-static): Likewise.
14569         (test-xfail-tst-tlsalign-extern-static): New variable.
14571 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
14573         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
14574         Use variable name _sc_err instead of err.
14575         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
14576         instead of ret.
14577         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
14578         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
14579         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
14580         (INLINE_SYSCALL): Likewise.
14582         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
14583         * include/string.h (__strnlen): Use libc_hidden_proto.
14584         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
14585         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
14586         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
14587         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
14588         (libc_hidden_def): Undefine and redefine.
14589         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
14590         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
14591         __GI_strnlen.
14592         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
14593         libc_hidden_def.
14594         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
14596         [BZ #18469]
14597         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
14598         weak alias of __towlower.  Use libc_hidden_weak.
14599         (towupper): Rename to __towupper and define as weak alias of
14600         __towupper.  Use libc_hidden_weak.
14601         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
14602         (__towupper): Likewise.
14603         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
14604         __towlower instead of towlower.
14606 2015-06-02  Roland McGrath  <roland@hack.frob.com>
14608         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
14609         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
14611 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14613         * sysdeps/aarch64/libm-test-ulps: Update.
14615 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14617         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
14618         Define.
14619         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14621         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14622         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14623         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
14624         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
14625         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
14627 2015-06-01  Martin Sebor  <msebor@redhat.com>
14629         [BZ #18116]
14630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14631         (__setcontext): Use extended four-operand version of mtsf whenever
14632         possible.
14633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14634         (__novec_swapcontext): Likewise.
14636 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14638         * benchtests/scripts/compare_bench.py: New file.
14639         * benchtests/scripts/import_bench.py (mean): New function.
14640         (split_list): Likewise.
14641         (do_for_all_timings): Likewise.
14642         (compress_timings): Likewise.
14644         * benchtests/scripts/import_bench.py: New file.
14645         * benchtests/scripts/validate_benchout.py: Import import_bench
14646         instead of jsonschema.
14647         (validate_bench): Remove function.
14648         (main): Use import_bench.
14650 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
14652         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
14653         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
14655 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14659 2015-05-28  Roland McGrath  <roland@hack.frob.com>
14661         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
14662         set THREAD_SELF->tid to a magic value and futex-wake it.
14663         Pass its address to the thread_exit system call.
14664         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
14665         bit is clear.
14666         * sysdeps/nacl/lowlevellock.h: New file.
14667         * sysdeps/nacl/lll_timedwait_tid.c: New file.
14669         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
14670         Add TIMEOUT to current time, don't subtract it.
14672 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
14674         [BZ #2981]
14675         [BZ #18422]
14676         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
14677         ($(objpfx)tst-audit2.out): Also depend on
14678         $(objpfx)tst-auditmod9b.so.
14679         * elf/tst-audit2.c: Include <dlfcn.h>.
14680         (calloc_called): New.
14681         (calloc): Allow to be called more than once.
14682         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
14684 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
14686         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
14687         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
14689 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
14691         * stdlib/monetary.h: Fix comment.
14693 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
14695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
14696         Avoid using variables in #defines that might cause shadowing.
14697         (INTERNAL_VSYSCALL_CALL): Likewise.
14699 2015-05-26  Roland McGrath  <roland@hack.frob.com>
14701         * sysdeps/nacl/lll_timedlock_wait.c: New file.
14703         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
14704         * nptl/lll_timedlock_wait.c: ... to this new file.
14705         * nptl/Makefile (libpthread-routines): Add it.
14706         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
14707         * nptl/lll_timedwait_tid.c: ... to this new file.
14708         * nptl/Makefile (libpthread-routines): Add it.
14709         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
14710         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
14711         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
14712         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
14713         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
14714         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
14715         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
14716         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
14717         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
14718         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
14720 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14722         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
14723         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
14724         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
14725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
14726         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14727         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14728         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14730         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14731         * sysdeps/unix/sysv/linux/tile/sysdep.h
14732         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
14733         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
14734         using vDSO syscall macro.
14736 2015-05-26  Andriy Rysin  <arysin@gmail.com>
14738         [BZ #17293]
14739         * uk_UA: Fix sorting order for Ukrainian locale
14741 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
14743         * stdlib/monetary.h: Fix comment.
14745 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14747         [BZ #18234]
14748         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
14749         st_mtim and st_ctim members.
14750         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
14751         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
14752         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
14753         (struct stat64): Likewise.
14754         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
14755         (struct stat64): Likewise.
14756         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
14757         (struct stat64): Likewise.
14759 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14761         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
14762         Define and include sysdep-vdso.h.
14763         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
14764         Likewise.
14765         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
14768         Define with VDSO_SYMBOL and use PTR_MANGLE.
14769         (__vdso_clock_gettime): Likewise.
14770         (__vdso_clock_getres): Likewise.
14771         (_libc_vdso_platform_setup): Likewise.
14772         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14773         Likewise.
14774         (_libc_vdso_platform_setup): Likewise.
14775         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
14776         Likewise.
14777         (__vdso_clock_gettime): Likewise.
14778         (__vdso_clock_getres): Likewise.
14779         (__vdso_get_tbfreq): Likewise.
14780         (__vdso_getcpu): Likewise.
14781         (__vdso_time): Likewise.
14782         (__vdso_sigtramp_rt64): Likewise.
14783         (__vdso_signtramp32): Likewise.
14784         (__vdso_sigtramp_rt32): Likewise.
14785         (_libc_vdso_platform_setup): Likewise.
14786         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
14787         Likewise.
14788         (__vdso_clock_gettime): Likewise.
14789         (__vdso_clock_getres): Likewise.
14790         (_libc_vdso_platform_setup): Likewise.
14791         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
14792         Likewise.
14793         (__vdso_clock_gettime): Likewise.
14794         (_libc_vdso_platform_setup): Likewise.
14795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14796         Likewise.
14797         (__vdso_getcpu): Likewise.
14798         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
14799         Use VDSO_SYMBOL macro to define.
14800         (__vdso_clock_gettime): Likewise.
14801         (__vdso_clock_getres): Likewise.
14802         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
14803         Likewise.
14804         (__vdso_clock_gettime): Likewise.
14805         (__vdso_clock_getres): Likewise.
14806         (__vdso_get_tbfreq): Likewise.
14807         (__vdso_getcpu): Likewise.
14808         (__vdso_time): Likewise.
14809         (__vdso_sigtramp_rt64): Likewise.
14810         (__vdso_signtramp32): Likewise.
14811         (__vdso_sigtramp_rt32): Likewise.
14812         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
14813         Likewise.
14814         (__vdso_clock_gettime): Likewise.
14815         (__vdso_clock_getres): Likewise.
14816         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
14817         Likewise.
14818         (__vdso_clock_gettime): Likewise.
14819         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14820         Likewise.
14821         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
14822         macro.
14823         (INTERNAL_VSYSCALL): Likewise.
14824         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
14825         Remove macro.
14826         (INTERNAL_VSYSCALL): Likewise.
14827         (INTERNAL_VSYSCALL_NCS): Likewise.
14828         (INTERNAL_VSYSCALL_CALL): New macro.
14829         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
14831         Likewise.
14832         (INTERNAL_VSYSCALL): Likewise.
14833         (INTERNAL_VSYSCALL_NCS): Likewise.
14834         (INTERNAL_VSYSCALL_CALL): New macro.
14835         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
14836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14837         (INLINE_VSYSCALL): Remove macro.
14838         (INTERNAL_VSYSCALL): Remove macro.
14839         (INTERNAL_VSYSCALL_NCS): Remove macro.
14840         (INTERNAL_VSYSCALL_CALL): New macro.
14841         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
14842         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
14843         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14844         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
14845         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14847         (INLINE_VSYSCALL): Remove macro.
14848         (INTERNAL_VSYSCALL): Likewise.
14849         (INTERNAL_VSYSCALL_NCS): Likewise.
14850         (INTERNAL_VSYSCALL_CALL): New macro.
14851         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14852         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14853         PTR_DEMANGLE on vDSO pointer.
14854         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14855         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14856         macro.
14857         (INTERNAL_SYSCALL): Likewise.
14858         (INTERNAL_VSYSCALL_NCS): Remove macro.
14859         (INTERNAL_VSYSCALL_CALL): New macro.
14860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14861         Remove macro.
14862         (INTERNAL_VSYSCALL): Likewise.
14863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14864         sysdep-vdso.h instead of libc-vdso.h.
14865         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14866         definition.
14867         (INLINE_VSYSCALL): Likewise.
14868         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14869         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14870         definition.
14871         (INLINE_VSYSCALL): Likewise.
14872         (INTERNAL_VSYSCALL): Likewise.
14873         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14874         * sysdeps/unix/sysv/linux/timespec_get.c
14875         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14876         (timespec_get): Use ANSI prototype.
14877         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14878         and definition for Linux.
14880 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14882         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14883         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14885 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14887         [BZ #2981]
14888         [BZ #18410]
14889         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14890         for missing DT_PLTRELSZ.
14892 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14894         Remove obsolete aliases that broke 'locale -a'
14895         [BZ #18412]
14896         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14897         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14898         breaking some applications that use 'locale -a' output.
14899         Change the encoding of this file from Latin-1 to ASCII to avoid
14900         other potential problems with people grepping this file.
14902 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14904         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14905         -fasynchronous-unwind-tables.
14906         (CFLAGS-sendto.c): Likewise.
14907         (CFLAGS-sendmsg.c): Likewise.
14908         (CFLAGS-connect.c): Likewise.
14909         (CFLAGS-recvmsg.c): Likewise.
14910         (CFLAGS-recvfrom.c): Likewise.
14911         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14912         (SOCKETCALL): New macro: non-cancellable socketcall.
14913         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14914         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14915         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14916         * sysdeps/unix/sysv/linux/accept.c: New file.
14917         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14918         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14919         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14920         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14921         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14922         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14923         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14924         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14925         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14926         * sysdeps/unix/sysv/linux/send.c: Likewise.
14927         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14928         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14929         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14930         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14931         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14932         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14933         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14934         prototype.
14935         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14936         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14937         instead of __internal_xxx function.
14938         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14939         prototype.
14940         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14941         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14942         instead of __internal_xxx function.
14943         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14944         prototype.
14945         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14946         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14947         instead of __internal_xxx function.
14948         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14949         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14950         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14951         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14952         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14953         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14954         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14955         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14956         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14957         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14958         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14959         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14960         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14961         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14962         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14963         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14964         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14965         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14966         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14967         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14970         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14971         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14972         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14973         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14974         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14975         * sysdeps/unix/sysv/linux/send.S: Likewise.
14976         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14977         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14978         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14979         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14980         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14981         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14982         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14983         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14984         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14985         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14986         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14987         socketcall is implemented in GLIBC.
14989 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14991         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14992         (__fma): Ignore uninitialized warnings around packing.
14993         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14994         (__fmaf): Ignore uninitialized warnings around packing.
14995         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14996         (__fmal): Ignore uninitialized warnings around packing.
14998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14999         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15000         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15001         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15003         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15004         switch statement into default case.
15005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15007         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15008         a conditional in forcing "inexact".
15009         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15010         Likewise.
15012 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15014         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15015         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15016         for each INTERNAL_SYSCALL use.
15018 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15020         [BZ #438]
15021         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15022         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15023         variable.
15025         [BZ #18444]
15026         * string/basename.c (basename): Rename to __basename and define as
15027         weak alias of __basename.  Use libc_hidden_weak.
15028         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15029         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15030         __basename instead of basename.
15031         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15032         Remove variable.
15033         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15035 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15037         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15038         (_IO_JUMPS_FILE_plus): New.
15039         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15040         _IO_CAST_FIELD_ACCESS.
15041         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15042         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15043         * libio/freopen.c (freopen): Likewise.
15044         * libio/freopen64.c (freopen64): Likewise.
15045         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15046         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15047         * libio/iofwide.c (_IO_fwide): Likewise.
15048         * libio/memstream.c (open_memstream): Likewise.
15049         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15050         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15051         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15053 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15055         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15056         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15057         NADJ.
15058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15059         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15060         NADJ.
15061         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15062         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15063         NADJ.
15065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15066         (p == 4) case.
15068         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15069         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15070         Remove variable.
15071         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15072         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15073         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15075 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15077         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15078         Adjust jump table label generation macros.
15080 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15082         * stdio-common/vfprintf.c (vfprintf): Move local variables
15083         args_malloced, specs, specs_malloced, and the code after
15084         do_positional to the printf_positional function.
15085         (printf_positional): New function.
15087 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15089         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15090         function.
15091         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15092         STEP4_TABLE, process_arg): Move macro definitions
15093         out of the vfprintf function.  (Cosmetic change only.)
15095 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15097         * benchtests/Makefile (stdio-common-bench): Define.
15098         (benchset): Add stdio-common-bench.
15099         * sprintf-inputs: New file.
15100         * sprintf-source.c: New file.
15102 2015-05-21  Andreas Schwab  <schwab@suse.de>
15104         [BZ #13028]
15105         [BZ #17053]
15106         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15107         of struct __res_state.
15108         * resolv/res_send.c (__libc_res_nsend): Likewise.
15109         (get_nsaddr): New function.
15110         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15111         statp directly.
15113 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15115         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15116         -D_POSIX_C_SOURCE=199506L.
15118         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15120         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15121         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15122         Do not mention otherwise.
15123         [POSIX] (_XOPEN_VERSION): Do not expect.
15124         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15125         [POSIX] (_POSIX2_C_BIND): Likewise.
15126         [POSIX] (_POSIX2_VERSION): Likewise.
15127         [POSIX] (_XOPEN_XPG2): Likewise.
15128         [POSIX] (_XOPEN_XPG3): Likewise.
15129         [POSIX] (_XOPEN_XPG4): Likewise.
15130         [POSIX] (_XOPEN_UNIX): Likewise.
15131         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15132         [POSIX] (_POSIX_BARRIERS): Likewise.
15133         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15134         [POSIX] (_POSIX_CPUTIME): Likewise.
15135         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15136         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15137         [POSIX] (_POSIX_SHELL): Likewise.
15138         [POSIX] (_POSIX_SPAWN): Likewise.
15139         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15140         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15141         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15142         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15143         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15144         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15145         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15146         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15147         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15148         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15149         [POSIX] (_POSIX2_PBS): Likewise.
15150         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15151         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15152         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15153         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15154         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15155         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15156         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15157         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15158         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15159         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15160         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15161         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15162         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15163         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15164         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15165         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15166         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15167         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15168         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15169         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15170         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15171         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15172         [POSIX] (_SC_2_C_BIND): Likewise.
15173         [POSIX] (_SC_2_C_VERSION): Likewise.
15174         [POSIX] (_SC_2_PBS): Likewise.
15175         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15176         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15177         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15178         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15179         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15180         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15181         [POSIX] (_SC_BARRIERS): Likewise.
15182         [POSIX] (_SC_BASE): Likewise.
15183         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15184         [POSIX] (_SC_DEVICE_IO): Likewise.
15185         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15186         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15187         [POSIX] (_SC_FD_MGMT): Likewise.
15188         [POSIX] (_SC_FIFO): Likewise.
15189         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15190         [POSIX] (_SC_FILE_LOCKING): Likewise.
15191         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15192         [POSIX] (_SC_IOV_MAX): Likewise.
15193         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15194         [POSIX] (_SC_NETWORKING): Likewise.
15195         [POSIX] (_SC_PAGE_SIZE): Likewise.
15196         [POSIX] (_SC_PASS_MAX): Likewise.
15197         [POSIX] (_SC_PIPE): Likewise.
15198         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15199         [POSIX] (_SC_REGEXP): Likewise.
15200         [POSIX] (_SC_SHELL): Likewise.
15201         [POSIX] (_SC_SIGNALS): Likewise.
15202         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15203         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15204         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15205         [POSIX] (_SC_USER_GROUPS): Likewise.
15206         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15207         [POSIX] (_SC_STREAMS): Likewise.
15208         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15209         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15210         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15211         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15212         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15213         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15214         [POSIX] (_PC_FILESIZEBITS): Likewise.
15215         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15216         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15217         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15218         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15219         [POSIX] (uid_t): Likewise.
15220         [POSIX] (gid_t): Likewise.
15221         [POSIX] (off_t): Likewise.
15222         [POSIX] (pid_t): Likewise.
15223         [POSIX] (cuserid): Allow.
15224         (_SC_2_CHAR_TERM): Require constant.
15225         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15226         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15227         variable.
15229 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15231         * sysdeps/nacl/pthread-pids.h: New file.
15232         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15233         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15235         * nptl/pthread-pids.h: New file.
15236         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15237         * nptl/nptl-init.c: Include <pthread-pids.h>.
15238         (__pthread_initialize_minimal_internal):
15239         Call __pthread_initialize_pids instead of set_tid_address syscall.
15241         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15242         * sysdeps/posix/usleep.c: ... here.
15244 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15246         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15247         call_pselect6 object.
15248         [$(subdir) = io]: Remove call_sync_file_range object.
15249         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15250         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15251         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15252         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15254 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15256         * math/s_cproj.c: Add include "math_private.h".
15257         * math/s_cprojf.c: Likewise.
15258         * math/s_cprojl.c: Likewise.
15260 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15262         [BZ #18244]
15263         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15264         high mantissa bit when testing whether P is a NaN.
15265         * math/libm-test.inc (remainder_test_data): Add more tests.
15266         (remquo_test_data): Likewise.
15268         [BZ #18049]
15269         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15270         below -32, return the argument, with underflow if subnormal.
15271         * math/auto-libm-test-in: Add more tests of atanh.
15272         * math/auto-libm-test-out: Regenerated.
15274 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15276         [BZ #18434]
15277         * nptl/tst-sem15.c: New file.
15278         * nptl/Makefile (tests): Add it.
15279         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15280         s/<</>>/ to fix typo in EOVERFLOW check.
15281         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15283 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15285         * manual/strings.texi (envz_remove): Fix typo in safety
15286         annotations.
15288 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15289             Steve Ellcey  <sellcey@imgtec.com>
15291         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15292         in order to avoid strict alias warnings.
15293         (iruserok_af): Ditto for ra.
15295 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15297         [BZ #17581]
15298         * malloc/hooks.c
15299         (magicbyte): Convert to a function and avoid returning 0x01.
15300         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15301         (mem2chunk_check): Fix unsigned comparisons to zero.
15302         Hoist defs of sz and magic.
15304 2015-05-19  Richard Henderson  <rth@redhat.com>
15306         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15308         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15310 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15312         [BZ #16159]
15313         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15314         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15315         (reused_arena): Find a non-corrupt arena.
15316         (heap_trim): Pass arena to unlink.
15317         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15318         malloc_printerr.
15319         (top_check): Likewise.
15320         (free_check): Likewise.
15321         (realloc_check): Likewise.
15322         * malloc/malloc.c (malloc_printerr): Add arena argument.
15323         (unlink): Likewise.
15324         (munmap_chunk): Adjust.
15325         (ARENA_CORRUPTION_BIT): New macro.
15326         (arena_is_corrupt): Likewise.
15327         (set_arena_corrupt): Likewise.
15328         (sysmalloc): Use mmap if there are no usable arenas.
15329         (_int_malloc): Likewise.
15330         (__libc_malloc): Don't fail if arena_get returns NULL.
15331         (_mid_memalign): Likewise.
15332         (__libc_calloc): Likewise.
15333         (__libc_realloc): Adjust for additional argument to
15334         malloc_printerr.
15335         (_int_free): Likewise.
15336         (malloc_consolidate): Likewise.
15337         (_int_realloc): Likewise.
15338         (_int_memalign): Don't touch corrupt arenas.
15339         * malloc/tst-malloc-backtrace.c: New test case.
15341         * Makefile (summarize-tests): Fix return value on success.
15343         * manual/string.texi (Envz Functions): Add envz_remove.
15345 2015-05-18  Roland McGrath  <roland@hack.frob.com>
15347         * sysdeps/posix/opendir.c: Include <stdbool.h>.
15348         (invalid_name): New function, broken out of ...
15349         (__opendirat): ... here.  Call it.
15350         (need_isdir_precheck): New function, broken out of ...
15351         (__opendirat): ... here.  Call it.
15352         Use __fxstatat64, not __xstatat64.
15353         (opendir_oflags): New function, broken out of ...
15354         (__opendirat): ... here.  Call it.
15355         (opendir_tail): New function, broken out of ...
15356         (__opendirat): ... here.  Call it.
15357         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
15358         opendir_tail, rather than punting to __opendirat.
15359         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
15361 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15363         * .gitignore: Ignore generated *.pyc.
15365 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
15367         * include/stdio.h: Define __need_wint_t.
15368         * test-skeleton.c: Avoid `for' loop initial declaration.
15369         * nptl/tst-initializers1.c: Use test-skeleton.c.
15371 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15373         [BZ #18418]
15374         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
15376 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15378         [BZ #16352]
15379         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
15380         (__ieee754_atanh): Force underflow exception for results with
15381         small absolute value.
15382         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
15383         (__ieee754_atanhf): Force underflow exception for results with
15384         small absolute value.
15385         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
15386         (__ieee754_atanh): Force underflow exception for results with
15387         small absolute value.
15388         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
15389         (__ieee754_atanhf): Force underflow exception for results with
15390         small absolute value.
15391         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
15392         (__ieee754_atanhl): Force underflow exception for results with
15393         small absolute value.
15394         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
15395         (__ieee754_atanhl): Force underflow exception for results with
15396         small absolute value.
15397         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
15398         (__ieee754_atanhl): Force underflow exception for results with
15399         small absolute value.
15400         * math/auto-libm-test-in: Do not allow missing underflow
15401         exceptions from atanh.
15402         * math/auto-libm-test-out: Regenerated.
15404         [BZ #18221]
15405         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
15406         2**-28 as threshold for returning x or +/- 1/x.
15407         * math/auto-libm-test-in: Add more tests of tan.
15408         * math/auto-libm-test-out: Regenerated.
15410         [BZ #18220]
15411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15412         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
15413         * math/auto-libm-test-in: Add another test of lgamma.
15414         * math/auto-libm-test-out: Regenerated.
15416 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
15418         * stdio-common/printf_fp.c (___printf_fp): Use abs.
15419         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
15420         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
15421         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
15422         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
15423         (ADD2A): Use fabs.  (SUB2A): Use fabs.
15424         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
15425         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
15426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
15427         (log1): Use fabs.  (my_log2): Use fabs.
15428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
15429         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
15430         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
15431         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
15432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
15433         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
15434         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
15435         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
15436         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
15437         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
15438         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
15440 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
15442         [BZ #18217]
15443         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
15444         as threshold for returning 1 - x.
15445         * math/auto-libm-test-in: Add more tests of erfc.
15446         * math/auto-libm-test-out: Regenerated.
15448 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
15450         [BZ #18196]
15451         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
15452         threshold for large arguments.
15453         * math/auto-libm-test-in: Add another test of atan.
15454         * math/auto-libm-test-out: Regenerated.
15456         [BZ #16339]
15457         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
15458         (__log1p): Force underflow exception for results with small
15459         absolute value.
15460         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
15461         (__log1pf): Force underflow exception for results with small
15462         absolute value.
15463         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
15464         (__log1p): Force underflow exception for results with small
15465         absolute value.
15466         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
15467         (__log1pf): Force underflow exception for results with small
15468         absolute value.
15469         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
15470         (__log1pl): Force underflow exception for results with small
15471         absolute value.
15472         * math/auto-libm-test-in: Do not allow missing underflow
15473         exceptions from log1p.
15474         * math/auto-libm-test-out: Regenerated.
15476 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
15477             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15479         [BZ #16704]
15480         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
15482 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
15484         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
15485         (libmvec): New variable.
15486         * configure.ac: Added option for mathvec build.
15487         * configure: Regenerated.
15488         * mathvec/Depend: New file.
15489         * mathvec/Makefile: New file.
15490         * shlib-versions: Added libmvec.
15491         * math/Makefile: Added rule for libm.so installation.
15493         * bits/math-vector.h: New file.
15494         * bits/libm-simd-decl-stubs.h: New header.
15495         * math/Makefile (headers): Added new header
15496         libm-simd-decl-stubs.h.
15497         * math/math.h (__MATHCALL_VEC): New macro.
15499         * math/gen-libm-have-vector-test.sh: Script generates series of macros
15500         for conditions in testing functions.
15501         * math/Makefile: Added call of libm-have-vector-test.sh.
15502         * math/libm-test.inc (HAVE_VECTOR): New macros.
15504         * math/libm-test.inc: START refactored.
15505         * math/test-double.c (TEST_MATHVEC): Add define.
15506         * math/test-float.c: Likewise.
15507         * math/test-idouble.c: Likewise.
15508         * math/test-ifloat.c: Likewise.
15509         * math/test-ildoubl.c: Likewise.
15510         * math/test-ldouble.c: Likewise.
15511         * sysdeps/generic/math-tests-arch.h
15512         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
15513         architecture check.
15515         * math/test-double.c (FUNC_TEST): New macro.
15516         * math/test-float.c: Likewise.
15517         * math/test-idouble.c: Likewise.
15518         * math/test-ifloat.c: Likewise.
15519         * math/test-ildoubl.c: Likewise.
15520         * math/test-ldouble.c: Likewise.
15521         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
15523 2015-05-13  Roland McGrath  <roland@hack.frob.com>
15525         * sysdeps/nacl/fdopendir.c: New file.
15527         * dirent/scandir-tail.c: New file.
15528         * dirent/scandir64-tail.c: New file.
15529         * dirent/Makefile (routines): Add them.
15530         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
15531         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
15532         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
15533         [!SCANDIR] (SCANDIR_TAIL): New macro.
15534         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
15535         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
15536         (SCANDIRAT): Macro removed.
15537         (SCANDIR_TAIL): New macro.
15538         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
15539         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
15540         (SCANDIRAT): Just call __opendirat and __scandir_tail.
15541         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
15542         (READDIR): Macro removed.
15543         (SCANDIR_TAIL): New macro.
15544         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
15545         (SCANDIR_TAIL): New macro.
15547         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
15548         * dirent/scandir-cancel.c: ... to this new file.
15549         * dirent/Makefile (routines): Add it.
15550         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
15551         * sysdeps/unix/sysv/linux/i386/scandir64.c
15552         (SKIP_SCANDIR_CANCEL): Macro removed.
15553         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
15555         * dirent/tst-scandir.c: New file.
15556         * dirent/tst-scandir64.c: New file.
15557         * dirent/Makefile (tests): Add them.
15559 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15561         [BZ #18409]
15562         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
15564 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15566         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
15567         list.
15569 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
15571         * benchtests/bench-strcoll.c: New benchmark.
15572         * benchtests/Makefile: Generate locales and run benchmark.
15573         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
15574         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15575         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
15576         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
15577         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
15578         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
15579         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
15580         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
15581         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
15582         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
15583         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
15584         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
15585         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
15586         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
15587         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
15588         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
15589         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
15590         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
15591         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
15592         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
15593         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
15594         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
15595         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
15596         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
15598 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
15600         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
15601         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15603 2015-05-12  Roland McGrath  <roland@hack.frob.com>
15605         * posix/uname-values.h: New file.
15606         * posix/uname.c: Include that instead of <config-name.h>.
15607         * sysdeps/nacl/uname-values.h: New file.
15608         * sysdeps/arm/nacl/uname-values.h: New file.
15610 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
15612         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
15613         splitting into fields.
15615 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
15617         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
15618         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
15619         * locale/localeinfo.h: Add enum collation_encoding_type.
15620         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
15621         * programs/ld-collate.c (collate_output): Add encoding type info.
15622         * string/strcoll_l.c (STRDIFF): New function.
15623         * (STRCOLL): Use STRDIFF to skip over equal prefix.
15624         * wcsmbs/wcscoll_l.c: Define STRDIFF.
15626 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
15628         [BZ #18397]
15629         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
15630         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
15631         <fpu_control.h> instead of <math/fpu_control.c>.
15632         * sysdeps/mips/mips32/fpu/Makefile: New file.
15634 2015-05-11  Andreas Schwab  <schwab@suse.de>
15636         [BZ #18007]
15637         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
15638         nss_endgrent.
15639         (_nss_compat_endgrent): Call nss_endgrent.
15640         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
15641         nss_endpwent.
15642         (_nss_compat_endpwent): Call nss_endpwent.
15643         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
15644         needent, call nss_setspent only if non-zero.
15645         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
15646         (internal_endspent): Don't call nss_endspent.
15647         (_nss_compat_endspent): Call nss_endspent.
15648         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
15649         Remove.  All uses removed.
15650         (internal_setent): Remove parameter stayopen, add parameter
15651         stream.  Use it instead of global variable.
15652         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
15653         (internal_endent, internal_getent): Add parameter stream.  Use it
15654         instead of global variable.
15655         (CONCAT(_nss_files_end,ENTNAME))
15656         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
15657         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
15658         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
15659         uses removed.
15660         (internal_setent, internal_endent): Add parameter stream.  Use it
15661         instead of global variable.
15662         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
15663         stream.
15664         (get_next_alias): Add parameter stream.
15665         (_nss_files_getaliasent_r): Pass global stream.
15666         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
15667         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
15668         (_nss_files_gethostbyname4_r): Pass local stream to
15669         internal_setent, internal_getent and internal_endent.  Remove
15670         locking.
15672 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15674         * tst-strfmon1.c (tests): Update expected currency symbol.
15676 2015-05-08  Roland McGrath  <roland@hack.frob.com>
15678         * sysdeps/nacl/gethostname.c: New file.
15680 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
15682         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
15683         and sinh.
15684         * math/auto-libm-test-out: Regenerated.
15685         * sysdeps/i386/fpu/libm-test-ulps: Update.
15686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15688 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
15690         [BZ #18125]
15691         * stdlib/tst-setcontext3.c: New file.
15692         * stdlib/tst-setcontext3.sh: New file.
15693         * stdlib/Makefile (tests): Add tst-setcontext3.
15694         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
15695         to verify test program created output file.
15696         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
15697         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
15698         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
15699         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
15701 2015-05-06  Roland McGrath  <roland@hack.frob.com>
15703         [BZ #18383]
15704         * elf/tst-tlsalign.c: New file.
15705         * elf/tst-tlsalign-static.c: New file.
15706         * elf/tst-tlsalign-lib.c: New file.
15707         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
15708         (tests-static): Add tst-tlsalign-static.
15709         (modules-names): Add tst-tlsalign-lib.
15710         (test-xfail-tst-tlsalign): New variable.
15711         (test-xfail-tst-tlsalign-static): New variable.
15713         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
15714         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
15716 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
15718         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
15719         csqrt, erfc, sin and sincos.
15720         * math/auto-libm-test-out: Regenerated.
15721         * sysdeps/i386/fpu/libm-test-ulps: Update.
15722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15724 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15726         * sysdeps/aarch64/libm-test-ulps: Update.
15728 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
15730         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
15731         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
15732         * math/auto-libm-test-out: Regenerated.
15733         * sysdeps/i386/fpu/libm-test-ulps: Update.
15734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15736 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15738         [BZ #18265]
15739         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
15740         (wcsncpy): Likewise.
15742 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15744         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15745         Assume __ASSUME_FALLOCATE is always true.
15746         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15747         (__posix_fallocate64_l64): Likweise.
15748         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
15749         (posix_fallocate): Likewise.
15750         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
15751         (__posix_fallocate64_l64): Likewise.
15752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15753         [!__ASSUME_FALLOCATE]: Add comment.
15755 2015-05-05  Florian Weimer  <fweimer@redhat.com>
15757         * sysdeps/unix/sysv/linux/i386/Makefile
15758         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
15759         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
15760         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
15761         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15762         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15763         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
15764         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
15766 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
15768         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
15769         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
15770         tgamma.
15771         * math/auto-libm-test-out: Regenerated.
15772         * sysdeps/i386/fpu/libm-test-ulps: Update.
15773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15777         * math/auto-libm-test-in: Add more tests of tgamma.
15778         * math/auto-libm-test-out: Regenerated.
15779         * sysdeps/i386/fpu/libm-test-ulps: Update.
15780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15782         * math/auto-libm-test-in: Add more tests of tanh.
15783         * math/auto-libm-test-out: Regenerated.
15784         * sysdeps/i386/fpu/libm-test-ulps: Update.
15785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15787         * math/auto-libm-test-in: Add more tests of tan.
15788         * math/auto-libm-test-out: Regenerated.
15789         * sysdeps/i386/fpu/libm-test-ulps: Update.
15790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15792         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
15793         * math/auto-libm-test-out: Regenerated.
15794         * sysdeps/i386/fpu/libm-test-ulps: Update.
15795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15797         * math/auto-libm-test-in: Add another test of pow.
15798         * math/auto-libm-test-out: Regenerated.
15799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15801         * math/auto-libm-test-in: Add more tests of lgamma.
15802         * math/auto-libm-test-out: Regenerated.
15803         * sysdeps/i386/fpu/libm-test-ulps: Update.
15804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15806         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
15807         log1p.
15808         * math/auto-libm-test-out: Regenerated.
15809         * sysdeps/i386/fpu/libm-test-ulps: Update.
15810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812 2015-05-01  Mark Wielaard  <mjw@redhat.com>
15814         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
15815         Elf64_Chdr structs and ELFCOMPRESS constants.
15817 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
15819         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
15820         expm1.
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 erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15832         * config.h.in (HAVE_AARCH64_BE): Add.
15834 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
15836         * math/auto-libm-test-in: Add more tests of csqrt.
15837         * math/auto-libm-test-out: Regenerated.
15838         * sysdeps/i386/fpu/libm-test-ulps: Update.
15839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15841         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15842         * math/auto-libm-test-out: Regenerated.
15843         * sysdeps/i386/fpu/libm-test-ulps: Update.
15844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15846         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
15848 2015-04-29  Roland McGrath  <roland@hack.frob.com>
15850         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
15851         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15853         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15854         (euidaccess, eaccess): Define as weak aliases.
15856         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15857         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15858         but __suseconds_t is often 'long int' so some sources assume that
15859         type is being used (e.g. they use %ld to print tv_usec).
15861 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15863         [BZ #18007]
15864         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15865         (CVE-2014-8121)
15866         * nss/tst-nss-getpwent.c: New file.
15867         * nss/Makefile (tests): Add new test.
15869 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15871         [BZ #18346]
15872         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15873         exponents less than 48 as cases where high part of mantissa needs
15874         examining to determine whether argument is integral.
15875         * math/libm-test.inc (round_test_data): Add more tests.
15877 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15879         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15881 2015-04-27  David S. Miller  <davem@davemloft.net>
15883         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15884         __tls_get_addr.
15885         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15887 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15889         [BZ#18333]
15890         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15892 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15894         [BZ#18333]
15895         * time/tzset.c (parse_tzname): Return error on memory allocation
15896         failure.
15897         * test-skeleton.c (struct temp_name_list): Change type of name
15898         member to non-const.
15899         (add_temp_file): Create a copy of the file name.
15900         (delete_temp_files): Deallocate memory.
15901         (create_temp_file): Add comment.
15903 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15905         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15906         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15908 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15910         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15911         * sysdeps/arm/configure: Regenerated.
15913 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15915         [BZ #17715]
15916         * time/tzfile.c (__tzfile_read): Check for large values of
15917         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15918         * time/tzset.c (__tzstring_len): New function, based on the old
15919         __tzstring function.
15920         (__tzstring): Call __tzstring_len.
15921         (parse_tzname): New helper function extracted from
15922         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15923         the input string.
15924         (parse_offset): New helper function extracted from
15925         __tzset_parse_tz.  Replace switch with fallthrough with
15926         initialization before sscanf.
15927         (parse_rule): Likewise.
15928         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15929         new-style function definition.
15930         * timezone/Makefile (tests): Add tst-tzset.
15931         (tst-tzset.out): Dependencies on time zone files.
15932         (tst-tzset-ENV): Set TZDIR.
15933         (testdata/XT%): Copy crafted time zone files.
15934         * timezone/README: Mention crafted time zone files.
15935         * timezone/testdata/XT1, timezone/testdata/XT2,
15936         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15937         files.
15938         * timezone/tst-tzset.c: New test.
15940 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15942         * Makeconfig (+gccwarn): Remove -Winline.
15944 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15946         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15948 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15950         * NEWS: Mention sysconf() cache information support for s390.
15951         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15953 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15955         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15957         (__nearbyint): Likewise.
15958         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15959         (copysignl): Likewise.
15961 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15963         [BZ #18287]
15964         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15965         based on padding.  (CVE-2015-1781)
15967 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15969         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15970         libc-vdso.h.
15971         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15972         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15973         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15974         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15975         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15976         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15977         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15978         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15980         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15981         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15982         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15983         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15984         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15985         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15986         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15987         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15989         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15990         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15991         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15992         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15993         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15995 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15997         * stdlib/setenv.c (__add_to_environ):
15998         Dump core quickly if setenv (..., NULL, ...) is called.
15999         This time, do it the right way, and pacify GCC with a pragma.
16001 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16003         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16004         IMAP->l_prev cannot be null, and #if out the code for the contrary
16005         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16006         believe that NS (&_dl_ns[NSID]) could point outside the array.
16008         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16009         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16010         before using NSID as an index.
16012 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16014         [BZ #17825]
16015         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16016         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16017         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16019 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16021         Add preliminary port to Google Native Client on ARM.
16022         * abi-tags (.*-.*-nacl.*): New entry.
16023         * sysdeps/arm/nacl: New directory.
16024         * sysdeps/nacl: New directory.
16026 2015-04-16  David S. Miller  <davem@davemloft.net>
16028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16029         lowlevellock-futex.h
16031 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16033         * sysdeps/tile/configure.ac: New file.
16034         * sysdeps/tile/configure: Regenerated.
16036 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16038         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16039         conditionals for weak_alias and libc_hidden_weak.
16040         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16041         libc_hidden_weak and weak_alias.
16042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16043         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16044         and weak_alias for static one.
16046 2015-04-15  David S. Miller  <davem@davemloft.net>
16048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16050 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16052         [BZ #18206]
16053         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16054           Use signed comparision instead of substraction to avoid
16055           overflow bug.
16056         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16057           Take the sign of ret.
16058         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16059           Do not expect precise return values. Only the sign matters.
16060         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16061         * wcsmbs/test-wcsncmp.c: New File.
16062         * string/test-strncmp.c: Add wcsncmp support.
16064 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16066         [BZ #6792]
16067         * math/w_log1p.c: New file.
16068         * math/w_log1pf.c: Likewise.
16069         * math/w_log1pl.c: Likewise.
16070         * math/Makefile (libm-calls): Add w_log1p.
16071         * math/s_log1pl.c (log1pl): Remove weak_alias.
16072         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16073         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16074         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16075         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16076         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16077         [NO_LONG_DOUBLE] (log1pl): Likewise.
16078         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16079         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16080         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16081         (log1p): Remove long_double_symbol.
16082         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16083         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16084         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16085         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16086         remove weak_alias for corresponding log1p function.
16087         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16088         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16089         * sysdeps/ia64/fpu/w_log1p.c: New file.
16090         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16091         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16092         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16094 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16096         [BZ #18247]
16097         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16098         decimal exponent by 1.
16099         * stdlib/tst-strtod-round-data: Add more tests.
16100         * stdlib/tst-strtod-round.c (tests): Regenerated.
16102 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16104         * math/auto-libm-test-in: Add more tests of clog and clog10.
16105         * math/auto-libm-test-out: Regenerated.
16106         * sysdeps/i386/fpu/libm-test-ulps: Update.
16107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16109 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16111         * Makeconfig (module-cppflags): Exclude all .v.i files.
16112         (skip-module-cppflags): Variable removed.
16114         * configure.ac (libc_config_ok): Initialize before reading
16115         preconfigure scripts, not after.
16116         * configure: Regenerated.
16118         * test-skeleton.c (TIMEOUT): Move #define to top level.
16119         (main): Grok environment variable TEST_DIRECT.  If set, print
16120         test expectation details into that file and then behave as if
16121         given --direct.
16123 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16125         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16126         warning on 32-bit.
16128 2015-04-08  David S. Miller  <davem@davemloft.net>
16130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16134         * math/auto-libm-test-in: Add more tests of atanh.
16135         * math/auto-libm-test-out: Regenerated.
16136         * sysdeps/i386/fpu/libm-test-ulps: Update.
16137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16139         * math/auto-libm-test-in: Add more tests of atan.
16140         * math/auto-libm-test-out: Regenerated.
16141         * sysdeps/i386/fpu/libm-test-ulps: Update.
16142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16146         * elf/pldd.c (main): Rewrite to use struct
16147         scratch_buffer instead of extend_alloca.
16148         * elf/pldd-xx.c (find_maps): Likewise.
16149         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16150         <alloca.h>.
16151         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16152         scratch_buffer instead of extend_alloca.
16153         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16154         grp/compat-initgroups.c.
16155         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16156         Rewrite to use struct scratch_buffer instead of extend_alloca.
16157         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16158         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16160 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16162         * math/auto-libm-test-in: Add more tests of cbrt.
16163         * math/auto-libm-test-out: Regenerated.
16164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16166         * math/auto-libm-test-in: Add more tests of cabs.
16167         * math/auto-libm-test-out: Regenerated.
16168         * sysdeps/i386/fpu/libm-test-ulps: Update.
16169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16171         [BZ #18210]
16172         [BZ #18211]
16173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16174         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16175         computations.
16176         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16177         clog10.
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         [BZ #18197]
16183         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16184         (atan): Set FE_TONEAREST mode for internal computations.
16185         * math/auto-libm-test-in: Add more tests of atan.
16186         * math/auto-libm-test-out: Regenerated.
16188 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16190         [BZ #17930]
16191         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16193 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16195         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16197 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16199         * include/scratch_buffer.h: New file.
16200         * malloc/scratch_buffer_grow.c: Likewise.
16201         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16202         * malloc/scratch_buffer_set_array_size.c: Likewise.
16203         * malloc/tst-scratch_buffer.c: Likewise.
16204         * malloc/Makefile (routines): Add scratch_buffer_grow.
16205         (tests): Add test case.
16206         * malloc/Versions (GLIBC_PRIVATE): Export
16207         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16208         __libc_scratch_buffer_set_array_size.
16210 2015-04-06  Richard Henderson  <rth@redhat.com>
16212         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16213         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16215         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16216         unsigned int before printing.
16218 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16220         [BZ #17596]
16221         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16222         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16224 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16226         * include/libc-internal.h (libc_max_align_t): Define.
16228 2015-04-02  Andreas Schwab  <schwab@suse.de>
16230         [BZ #16850]
16231         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16233 2015-04-02  Mel Gorman  <mgorman@suse.de>
16235         [BZ #17195]
16236         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16237         as well as the main arena.
16239 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16241         [BZ #18185]
16242         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16243         sharing L2 cache to 2 for Silvermont/Knights Landing.
16245 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16247         [BZ #17711]
16248         * config.make.in (have-protected-data): New.
16249         * configure.ac: Check linker support for protected data symbol.
16250         * configure: Regenerated.
16251         * elf/Makefile (modules-names): Add tst-protected1moda and
16252         tst-protected1modb if $(have-protected-data) is yes.
16253         (tests): Add tst-protected1a and tst-protected1b if
16254         $(have-protected-data) is yes.
16255         ($(objpfx)tst-protected1a): New.
16256         ($(objpfx)tst-protected1b): Likewise.
16257         (tst-protected1modb.so-no-z-defs): Likewise.
16258         * elf/tst-protected1a.c: New file.
16259         * elf/tst-protected1b.c: Likewise.
16260         * elf/tst-protected1mod.h: Likewise.
16261         * elf/tst-protected1moda.c: Likewise.
16262         * elf/tst-protected1modb.c: Likewise.
16264 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16266         [BZ #17711]
16267         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16268         indicates it is called from do_lookup_x on relocation against
16269         protected data, skip the data definion in the executable from
16270         copy reloc.
16271         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16272         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16273         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16274         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16275         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16276         otherwise to 0.
16277         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16278         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16279         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16280         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16281         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16282         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16284 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16286         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16287         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16289 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16291         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16292         THREAD_SETMEM_NC.
16293         * sysdeps/x86_64/nptl/tls.h: Ditto.
16295 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16297         * dlfcn/tststatic.c (main): Converted to ...
16298         (do_test): ... this.
16299         (TEST_FUNCTION): New macro.
16300         Include test-skeleton.c.
16302 2015-03-26  Alan Modra  <amodra@gmail.com>
16304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16305         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16306         zero for undefined weak.
16307         (elf_machine_plt_conflict): Similarly.
16309 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16311         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16312         atanh.
16313         * math/auto-libm-test-out: Regenerated.
16314         * sysdeps/i386/fpu/libm-test-ulps: Update.
16315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16317         * math/auto-libm-test-in: Add another test of asin.
16318         * math/auto-libm-test-out: Regenerated.
16319         * sysdeps/i386/fpu/libm-test-ulps: Update.
16320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16322         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16323         Remove macro.
16324         (LLL_EBX_REG): Likewise.
16325         (LLL_ENTER_KERNEL): Likewise.
16327         * math/auto-libm-test-in: Add more tests of asin.
16328         * math/auto-libm-test-out: Regenerated.
16329         * sysdeps/i386/fpu/libm-test-ulps: Update.
16330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16332         [BZ #18138]
16333         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
16334         libc_do_syscall_args): New structure.
16335         (INTERNAL_SYSCALL_MAIN_0): New macro.
16336         (INTERNAL_SYSCALL_MAIN_1): Likewise.
16337         (INTERNAL_SYSCALL_MAIN_2): Likewise.
16338         (INTERNAL_SYSCALL_MAIN_3): Likewise.
16339         (INTERNAL_SYSCALL_MAIN_4): Likewise.
16340         (INTERNAL_SYSCALL_MAIN_5): Likewise.
16341         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
16342         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
16343         Replace conditional definitions by conditional definitions of ....
16344         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
16345         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
16346         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
16347         (libpthread-sysdep_routines): Add libc-do-syscall.
16348         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
16349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
16350         to __NR_futex not 240.
16352 2015-03-25  Alan Modra  <amodra@gmail.com>
16354         * NEWS: Advertise TLS optimization.
16355         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
16356         (DT_PPC_NUM): Increment.
16357         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
16358         (CHECK_STATIC_TLS): Use here.
16359         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
16360         TLS descriptors.
16361         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16362         * sysdeps/powerpc/dl-tls.c: New file.
16363         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
16364         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
16365         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
16366         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
16368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
16371 2015-03-25  Alan Modra  <amodra@gmail.com>
16373         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
16374         for overlapping .opd entries" to "support...".
16375         * sysdeps/powerpc/powerpc64/configure: Regenerate
16377 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16379         * math/auto-libm-test-in: Add more tests of acos.
16380         * math/auto-libm-test-out: Regenerated.
16381         * sysdeps/i386/fpu/libm-test-ulps: Update.
16382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16384         * math/auto-libm-test-in: Add more tests of expm1.
16385         * math/auto-libm-test-out: Regenerated.
16386         * sysdeps/i386/fpu/libm-test-ulps: Update.
16387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16389 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
16391         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16392         * math/auto-libm-test-out: Regenerated.
16393         * sysdeps/i386/fpu/libm-test-ulps: Update.
16394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16396         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16399         * math/auto-libm-test-in: Add more tests of log2.
16400         * math/auto-libm-test-out: Regenerated.
16401         * sysdeps/i386/fpu/libm-test-ulps: Update.
16402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16404 2015-03-23  Roland McGrath  <roland@hack.frob.com>
16406         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
16407         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
16408         _IO_IS_APPENDING bit in READ_WRITE instead.
16410 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16412         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
16413         (__determine_cpumask_size): Replace extend_alloca with a
16414         variable-length array.  Do not treat res == 0 as an error.
16416 2015-03-23  Florian Weimer  <fweimer@redhat.com>
16418         [BZ #18100]
16419         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
16420         and integer overflow.
16421         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
16422         (main): Add integer overflow tests.
16423         * manual/pattern.texi (Calling Wordexp): Document additional use
16424         for WRDE_SYNTAX.
16426 2015-03-23  Alan Modra  <amodra@gmail.com>
16428         * config.h.in: Remove HAVE_ASM_PPC_REL16.
16429         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
16430         and false branch of conditional.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16432         Likewise.
16434 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
16436         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
16437         libc-modules.h
16438         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
16439         unused declaration of _hurd_intr_rpc_msg_in_trap.
16440         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
16441         defined instead of whether it is non-zero.
16442         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
16443         input constraint instead of both input and output constraint.  Use ecx
16444         clobber instead of %ecx.
16445         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
16446         mutex_unlock): Use a statement expression instead of an expression list.
16447         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
16448         type to vm_size_t instead of vm_address_t.
16449         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
16450         defined instead of whether it is non-zero.
16451         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
16452         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
16453         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
16454         comparisons with mapaddr.
16455         * nscd/nscd-client.h: Include <time.h>.
16456         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
16457         9th parameter to __vm_region instead of int.
16458         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
16459         * scripts/check-local-headers.sh (exclude): Add device/,
16460         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
16461         cthreads.h.
16463 2015-03-19  Roland McGrath  <roland@hack.frob.com>
16465         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
16466         to account for alignment padding.
16467         * sysdeps/arm/memmove.S: Likewise.
16469 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
16471         * sysdeps/unix/sysv/linux/generic/README: New file.
16473 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #18138]
16476         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
16477         (futex_abstimed_wait)
16478         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
16479         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
16480         of lll_futex_timed_wait.
16482 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
16484         [BZ #17542]
16485         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
16487 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
16489         [BZ #17090]
16490         [BZ #17620]
16491         [BZ #17621]
16492         [BZ #17628]
16493         * NEWS: Update.
16494         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
16495         entries with Static TLS too.  Skip entries past the end of the
16496         allocated DTV, from Alan Modra.
16497         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
16498         Static TLS DTV entry set up from...
16499         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
16500         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
16501         * nptl/allocatestack.c (init_one_static_tls): ... and here...
16502         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
16503         for Static TLS.
16504         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
16505         that the slot we find is associated with the given map before
16506         using its generation count.
16507         * nptl_db/db_info.c: Include ldsodefs.h.
16508         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
16509         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
16510         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
16511         (link_map::l_tls_offset): New struct field.
16512         (dtv_t::counter): Likewise.
16513         (rtld_global): New struct.
16514         (_rtld_global): New rtld variable.
16515         (dl_tls_dtv_slotinfo_list): New rtld global field.
16516         (dtv_slotinfo_list): New struct.
16517         (dtv_slotinfo): Likewise.
16518         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
16519         (td_lookup): Rename to...
16520         (td_mod_lookup): ... this.  Use new mod parameter instead of
16521         LIBPTHREAD_SO.
16522         * nptl_db/td_thr_tlsbase.c: Include link.h.
16523         (dtv_slotinfo_list, dtv_slotinfo): New functions.
16524         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
16525         addresses even if the DTV is out of date or missing them.
16526         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
16527         index zero-length arrays.
16528         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
16529         (td_lookup): Make it a macro implemented in terms of...
16530         (td_mod_lookup): ... this declaration.
16531         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
16532         (DB_MAIN_VARIABLE): Likewise.
16534 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16536         [BZ #18134]
16537         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16539 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
16541         * stdlib/setenv.c (__add_to_environ): Revert previous change.
16543 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16545         [BZ #18128]
16546         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
16547         (atomic_add, atomic_increment_and_test)
16548         (atomic_decrement_and_test): Fix 64-bit arithmetic.
16550 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
16552         * stdlib/setenv.c (__add_to_environ):
16553         Dump core quickly if setenv (..., NULL, ...) is called.
16555 2015-03-13  Roland McGrath  <roland@hack.frob.com>
16557         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16558         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
16559         all the necessary asm magic in one place.
16560         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
16561         using those.
16563 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
16565         [BZ #14906]
16566         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
16567         traced file mtime. Use consistent log message.
16568         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
16569         (register_traced_file): Call install_watches. Always set mtime.
16570         (invalidate_cache): Iterate over all trace files. Call install_watches.
16571         (inotify_check_files): Don't inline. Handle watching parent
16572         directories and configuration file movement in and out.
16573         (handle_inotify_events): New function.
16574         (main_loop_poll): Call handle_inotify_events.
16575         (main_loop_epoll): Likewise.
16576         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
16577         (struct traced_file): Use array of inotify fds. Add parent directory,
16578         and basename.
16579         (struct database_dyn): Remove unused file_mtime.
16580         (init_traced_file): New inline function.
16581         (define_traced_file): New macro.
16582         * nss/nss_db/db-init.c: Use define_traced_file.
16583         (_nss_db_init): Use init_traced_file.
16584         * nss/nss_files/files-init.c: Use define_traced_file.
16585         (_nss_files_init): Use init_traced_file.
16587 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
16589         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
16590         [_LIBC]: Do not include <stdlib.h>.
16591         [!_LIBC] (abort): Remove declaration.
16592         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
16593         _FP_STATIC_ASSERT instead of conditionally calling abort.
16594         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
16595         (_FP_EXTEND_CNAN): Likewise.
16596         (FP_TRUNC): Likewise.
16597         (__FP_CLZ): Likewise.
16598         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
16600 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
16602         * manual/string.texi (XPG basename): Fix prototype.
16604 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16606         [BZ #18080]
16607         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
16608         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16609         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
16610         (__setcontext): Likewise.
16611         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
16612         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
16613         Call rt_sigprocmask syscall one time to set new signal mask
16614         and retrieve the current signal mask instead of two calls.
16615         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
16616         (__swapcontext): Likewise.
16617         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
16618         * stdlib/tst-setcontext2.c: New file.
16620 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16624 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
16626         [BZ #18093]
16627         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
16628         the wrong size.
16630 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16632         [BZ #18043]
16633         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
16635 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16637         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
16638         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
16639         Remove define.
16640         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
16641         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
16642         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
16643         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
16644         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16645         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
16646         define.
16647         * nptl_db/td_symbol_list.c (td_lookup): Remove
16648         HAVE_ASM_GLOBAL_DOT_NAME code.
16649         * sysdeps/powerpc/powerpc64/configure.ac: Remove
16650         HAVE_ASM_GLOBAL_DOT_NAME check.
16651         * sysdeps/powerpc/powerpc64/configure: Regenerate.
16652         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
16653         (DOT_LABEL): Remove define.
16654         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
16655         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
16656         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
16657         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
16658         (__TLS_GET_ADDR): Likewise.
16659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
16660         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
16662 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
16664         [BZ #18111]
16665         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
16666         (_FPU_SETCW): Initialize cw from fpsr before storing.
16667         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
16668         (fesetexceptflag): Rewrite using fpu_control.h.
16669         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
16671 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
16673         [BZ #18110]
16674         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
16675         asms.
16676         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16678 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
16680         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
16681         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
16682         abort.
16683         (_FP_FMA): Likewise.
16684         (_FP_DIV): Likewise.
16686 2015-03-10  Roland McGrath  <roland@hack.frob.com>
16688         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
16689         with 0 in that case.
16690         * Makefile (summarize-tests): New canned sequence, factored out of
16691         commands for targets tests and xtests.  Display summary lines that
16692         don't start with PASS: or XFAIL: rather than ones that do start with
16693         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
16694         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
16695         do start with ERROR: or FAIL:.
16696         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
16697         (except for [$(build-shared) = yes]).
16698         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
16699         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
16700         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
16701         * nptl/Makefile: Revert 2015-03-04 changes.
16702         [$(CXX) empty] (tests-unsupported): New variable.
16703         * debug/Makefile: Likewise.
16705         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
16706         gnulib file.  Replace __attribute with __attribute__ throughout.
16708 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
16710         * sysdeps/hppa/fpu/libm-test-ulps: Update.
16712 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16714         [BZ #18104]
16715         * math/auto-libm-test-in: Add another test of pow.
16716         * math/auto-libm-test-out: Regenerated.
16718 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16720         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
16721         $(config-cflags-nofma).
16723 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
16725         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
16726         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
16727         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
16728         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
16729         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
16730         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
16731         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
16732         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
16733         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
16734         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
16735         Add comment on closing #endif.
16737 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16739         * posix/wordexp.c (CHAR_IN_SET): New macro.
16740         (parse_param): Use it.
16742 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16744         * sysdeps/powerpc/fpu/libm-test-ulps: update.
16746 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16748         [BZ #18043]
16749         * posix/wordexp.c (parse_param): Fix buffer overflow.
16750         * posix/wordexp-test.c (test_case): Add test case.
16752 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16754         [BZ #18042]
16755         * posix/wordexp.c (parse_backtick): Fix off-by-one.
16756         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
16758 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16760         [BZ #18043]
16761         * posix/wordexp-test.c (test_case): Add test for BZ #18043
16762         (do_bz18043): Delete.
16763         (at_page_end): New.
16764         (testit): Refactor to have words at the edge of unreadable page.
16766 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16768         [BZ #16734]
16769         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
16770         Cleanup read-only streams as well.
16771         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
16773 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16775         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
16776         <bits/libc-lockP.h>
16778 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
16780         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
16781         on [__KERNEL__].
16782         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
16783         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
16784         * soft-fp/op-common.h (_FP_DECL): Likewise.
16786 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16788         * elf/ifuncdep2.c (global): Replace
16789         __attribute__((visibility("protected"))) with
16790         asm (".protected global").
16791         * elf/ifuncmod1.c (global): Likewise.
16792         * elf/ifuncmod5.c (global): Likewise.
16794 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
16796         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
16797         <asm/sfp-machine.h> instead of <sfp-machine.h>.
16799 2015-03-06  Roland McGrath  <roland@hack.frob.com>
16801         * manual/install.texi (Configuring and compiling):
16802         Document test-wrapper-env-only.
16803         * INSTALL: Regenerated.
16805 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16807         [BZ #18043]
16808         * posix/wordexp.c (parse_param): Fix buffer overflow.
16809         * posix/wordexp-test.c (do_bz18043): Add test case.
16811 2015-03-06  Vincent Bernat  <vincent@bernat.im>
16813         * time/tst-strptime2.c (do_test): Ensure failing tests are
16814         reported correctly.
16815         * time/tst-strptime3.c (do_test): Likewise.
16817 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
16819         Fix aio_error thread-safety.
16820         * sysdeps/pthread/aio_error.c: New file
16821         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
16822         synchronization.
16824 2015-03-06  Florian Weimer  <fweimer@redhat.com>
16826         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
16827         (group_number, vfprintf): Use it.
16828         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
16829         (JUMP, REF): Use it.
16830         (WORK_BUFFER_SIZE): New enum constant.
16831         (process_arg, vfprintf): Use it.
16833 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
16835         * manual/errno.texi (Error Messages): Complete example function
16836         by adding missing #define.
16837         (program_invocation_name): Add statement indicating GNU
16838         extension and reference which header file declares the variable.
16839         (program_invocation_short_name): Likewise.
16841 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
16843         * manual/errno.texi (Error Messages): Delete strerror ISO C89
16844         compatibility note.
16846 2015-03-05  Roland McGrath  <roland@hack.frob.com>
16848         * Makeconfig (test-wrapper-env-only): New variable.
16849         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
16850         then use that with $(test-wrapper-env-only) rather than using
16851         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16853 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16855         [BZ #18082]
16856         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16857         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16858         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16859         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16860         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16861         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16862         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16863         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16864         Likewise.
16865         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16866         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16867         Likewise.
16868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16869         Likewise.
16870         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16871         Likewise.
16872         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16873         Likewise.
16874         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16875         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16876         Likewise.
16877         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16878         Likewise.
16879         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16880         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16882 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16884         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16885         (ETH_ALEN): New macro.
16886         (struct ether_addr): Use it for length of ether_addr_octet.
16888         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16889         (setdb): Don't call __nss_configure_lookup for "rpc".
16890         (do_test): Don't call test_rpc.
16891         (output_rpcent, test_rpc): Functions moved ...
16892         * sunrpc/test-rpcent.c: ... to this new file.
16893         * sunrpc/Makefile (tests): Add it.
16895         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16896         __xpg_sigpause.
16897         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16898         * nptl/tst-signal6.c: Likewise.
16899         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16900         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16902         * configure.ac (libc_cv_cxx_link_ok): New check.
16903         Reset CXX to empty if it fails to link.
16904         * configure: Regenerated.
16905         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16906         bug-atexit3-lib only if $(CXX) is nonempty.
16907         * nptl/Makefile (tests): Likewise for tst-cancel24.
16908         (tests, tests-static): Likewise for tst-cancel24-static.
16909         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16910         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16911         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16912         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16914 2015-03-04  Andreas Schwab  <schwab@suse.de>
16916         [BZ #17631]
16917         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16918         for non-GCC compilers.
16919         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16920         Likewise.
16922 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16924         [BZ #17776]
16925         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16926         integer before bitwise and assembly operations.
16927         (feclearexcept): Likewise.
16928         * math/test-fenvinline.c: New file.
16929         * math/Makefile: Add test-fenvinline test.
16931 2015-03-03  Alan Modra  <amodra@gmail.com>
16933         [BZ #16512]
16934         * scripts/localplt.awk: Strip off symbol version.
16935         * NEWS: Mention bug fix.
16937 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16939         * sysdeps/pthread/timer_routines.c
16940         (timer_free_list, thread_free_list, thread_active_list): Make static.
16942 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16944         [BZ #17779]
16945         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16946         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16947         Undefine.
16948         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16949         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16950         Likewise.
16951         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16952         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16953         Likewise.
16955 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16957         [BZ #18036]
16958         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16959         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16961 2015-03-02  Andreas Schwab  <schwab@suse.de>
16963         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16964         variable name.
16966 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16968         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16969         Return error status.
16971 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16973         [BZ #15969]
16974         * locale/findlocale.c (_nl_find_locale): Introduce const
16975         version of loc_name and drop unsafe type casts.
16977 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16979         * dlfcn/tststatic2.c (main): Converted to ...
16980         (do_test): ... this.
16981         (TEST_FUNCTION): New macro.
16982         Include test-skeleton.c.
16984 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16986         [BZ #17711]
16987         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16988         (tests-pie): Add vismain.
16989         (CFLAGS-vismain.c): New.
16990         * elf/vismain.c: Add comments for PIE requirement.
16992 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16994         [BZ #18046]
16995         [BZ #18047]
16996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16997         0x1p-56L as threshold for just returning the argument.
16998         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16999         0x1p-32L as threshold for just returning the argument.
17000         * math/auto-libm-test-in: Add more tests of atanh.
17001         * math/auto-libm-test-out: Regenerated.
17002         * sysdeps/i386/fpu/libm-test-ulps: Update.
17003         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17005 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17007         * string/bcopy.c (bcopy): Call memmove for performance.
17009 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17011         * string/bzero.c (__bzero): Call memset for performance.
17013 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17015         [BZ #18068]
17016         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17017         to 00100000.
17019 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17021         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17023 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17025         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17026         (__kernel_standard): Use CSTR macro when setting exc.name.
17027         * sysdeps/ieee754/Makefile [$(subdir) = math]
17028         (CFLAGS-k_standard.c): Remove variable.
17030         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17031         setting p and q from "else if" to "else".
17032         (qzero): Likewise.
17033         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17034         (qone): Likewise.
17035         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17036         (qzerof): Likewise.
17037         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17038         (qonef): Likewise.
17039         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17040         (qzero): Likewise.
17041         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17042         (qone): Likewise.
17044         [BZ #18038]
17045         [BZ #18039]
17046         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17047         return pi/2 for arguments below 0x1p-113L.
17048         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17049         return pi/2 for arguments below 0x1p-106L.
17050         * math/auto-libm-test-in: Add more tests of acos.
17051         * math/auto-libm-test-out: Regenerated.
17053         [BZ #16351]
17054         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17055         (MO): New macro.
17056         (__ieee754_asin): Force underflow exception for results with small
17057         absolute value.
17058         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17059         (MO): New macro.
17060         (__ieee754_asinf): Force underflow exception for results with
17061         small absolute value.
17062         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17063         (__ieee754_asin): Force underflow exception for results with small
17064         absolute value.
17065         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17066         (__ieee754_asinf): Force underflow exception for results with
17067         small absolute value.
17068         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17069         (__ieee754_asinl): Force underflow exception for results with
17070         small absolute value.
17071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17072         (__ieee754_asinl): Force underflow exception for results with
17073         small absolute value.
17074         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17075         (__ieee754_asinl): Force underflow exception for results with
17076         small absolute value.
17077         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17078         Include <math.h>.
17079         * math/auto-libm-test-in: Do not mark underflow exceptions as
17080         possibly missing for bug 16351.
17081         * math/auto-libm-test-out: Regenerated.
17083         [BZ #18030]
17084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17085         of power of 2 down when low part has opposite sign.
17086         * math/libm-test.inc (logb_test_data): Add more tests.
17088 2015-02-26  Andreas Schwab  <schwab@suse.de>
17090         [BZ #18032]
17091         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17092         over collating symbol inside a bracket expression.  Minor cleanup.
17093         * posix/tst-fnmatch3.c (do_test): Add test case.
17095 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17097         [BZ #18029]
17098         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17099         Adjust exponent of power of 2 down when low part has opposite
17100         sign.
17101         * math/libm-test.inc (ilogb_test_data): Add more tests.
17103 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17105         [BZ #15969]
17106         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17107         the previous change.
17109         [BZ #15969]
17110         * locale/findlocale.c (_nl_find_locale): Retry archive search
17111         after alias expansion.
17113 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17115         * iconv/tst-iconv3.c (main): Converted to ...
17116         (do_test): ... this.
17117         (TEST_FUNCTION): New macro.
17118         Include test-skeleton.c.
17120         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17121         (convert): Make function static.
17122         (test_unalign): Likewise.  Add const to argument pointee types.
17123         (main): Replace with static function do_test.
17124         Print "Succeeded." only if RET is zero.
17125         (TEST_FUNCTION): New macro.
17126         Include test-skeleton.c.
17128         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17129         returns a null pointer.
17131 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17134         to __memcpy_ppc only for static builds.
17136 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17138         [BZ #18020]
17139         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17140         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17141         * math/auto-libm-test-in: Add more tests of asinh.
17142         * math/auto-libm-test-out: Regenerated.
17143         * sysdeps/i386/fpu/libm-test-ulps: Update.
17144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17146 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17148         [BZ #15850]
17149         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17150         and ip6_mtuinfo definitions here.
17151         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17152         in this define too.  Update comment.
17154 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17156         * elf/sprof.c (load_shobj): Tweak error message to match others.
17158 2015-02-24  Kevin Easton  <kevin@guarana.org>
17160         [BZ #16145] (partial fix)
17161         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17162         to reduce lock contention.
17164 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17166         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17167         (struct timex): Update time comment.
17168         (ADJ_SETOFFSET): Define.
17170 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17172         [BZ #18019]
17173         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17174         2**56 not 2**28 as threshold for log (2x) formula.
17175         * math/auto-libm-test-in: Add more tests of acosh.
17176         * math/auto-libm-test-out: Regenerated.
17177         * sysdeps/i386/fpu/libm-test-ulps: Update.
17178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17180 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17182         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17183         parenthesis around the buf assignment.
17184         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17186 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17188         [BZ #16783]
17189         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17190         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17191         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17192         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17193         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17194         * math/libm-test.inc (scalb_test_data): Add more tests.
17196 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17198         [BZ #17916]
17199         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17200         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17202 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17204         [BZ #17523]
17205         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17206         * io/bits/fcntl2.h (open): Use it.
17207         (openat): Likewise.
17208         * io/open.c (__libc_open): Likewise.
17209         * io/open64.c (__libc_open64): Likewise.
17210         * io/open64_2.c (__open64_2): Likewise.
17211         * io/open_2.c (__open_2): Likewise.
17212         * io/openat.c (__openat): Likewise.
17213         * io/openat64.c (__openat64): Likewise.
17214         * io/openat64_2.c (__openat64_2): Likewise.
17215         * io/openat_2.c (__openat_2): Likewise.
17216         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17217         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17218         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17219         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17220         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17221         (__open_nocancel): Likewise.
17222         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17223         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17224         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17226 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17228         [BZ #14841]
17229         * resolv/gethnamaddr.c (getanswer): Skip logging if
17230         RES_USE_DNSSEC is set.
17231         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17233 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17235         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17237 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17239         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17240         201304L, for Unicode 7.
17242 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17244         [BZ #17836]
17245         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17246         shared library.  Add gmon-start.os otherwise.
17247         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17248         $(objpfx)gmon-start.os if builing shared library.
17249         ($(objpfx)g$(static-start-installed-name)): Likewise.
17251 2015-02-23  Andreas Schwab  <schwab@suse.de>
17253         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17255 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17257         [BZ #17269]
17258         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17259         (enlarge_userbuf): Likewise.
17261 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17263         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17264         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17265         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17266         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17268 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17270         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17271         expression inside statement expression.
17273 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17275         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17276         <sysdeps/nptl/lowlevellock.h> and remove macros and
17277         functions that are now defined there.
17278         (SYS_futex): Remove.
17279         (lll_compare_and_swap): Remove.
17280         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17282 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17284         [BZ #17999]
17285         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17286         instead of scandirat.
17287         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17288         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17289         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17290         __scandirat.
17291         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17292         (__scandirat): Declare.  Use libc_hidden_proto.
17293         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17294         Remove variable.
17295         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17297 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17299         [BZ #15319]
17300         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17301         (MO): New macro.
17302         (__ieee754_atan2): For results with small absolute value, force
17303         underflow exception and remove excess range and precision from
17304         return value.
17305         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17306         (MO): New macro.
17307         (__ieee754_atan2f): For results with small absolute value, force
17308         underflow exception and remove excess range and precision from
17309         return value.
17310         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17311         (MO): New macro.
17312         (__atan): For results with small absolute value, force underflow
17313         exception and remove excess range and precision from return value.
17314         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17315         (MO): New macro.
17316         (__atanf): For results with small absolute value, force underflow
17317         exception and remove excess range and precision from return value.
17318         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17319         <math.h>.
17320         (__ieee754_atan2): Force underflow exception for results with
17321         small absolute value.
17322         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17323         <math_private.h>.
17324         (atan): Force underflow exception for results with small absolute
17325         value.
17326         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
17327         (__atanf): Force underflow exception for results with small
17328         absolute value.
17329         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
17330         <math.h>.
17331         (__atanl): Force underflow exception for results with small
17332         absolute value.
17333         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
17334         (__atanl): Force underflow exception for results with small
17335         absolute value.
17336         * sysdeps/x86/fpu/bits/mathinline.h
17337         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
17338         (__ieee754_atan2): Only define inline for long double.
17339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
17340         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
17341         * math/auto-libm-test-in: Do not mark underflow exceptions as
17342         possibly missing for bug 15319.  Add more tests of atan2.
17343         * math/auto-libm-test-out: Regenerated.
17344         * math/libm-test.inc (casin_test_data): Do not mark underflow
17345         exceptions as possibly missing for bug 15319.
17346         (casinh_test_data): Likewise.
17347         * sysdeps/i386/fpu/libm-test-ulps: Update.
17349 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
17351         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
17352         * sysdeps/mips/bits/endian.h: Fix comments.
17354 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17356         [BZ #17996]
17357         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
17358         (hdestroy_r): Likewise.
17359         (hsearch_r): Likewise.
17360         (__hcreate_r): Declare and use libc_hidden_proto.
17361         (__hdestroy_r): Likewise.
17362         (__hsearch_r): Likewise.
17363         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
17364         (hcreate): Call __hcreate_r instead of hcreate_r.
17365         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
17366         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
17367         as weak alias of __hcreate_r.
17368         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
17369         __hdestroy_r.
17370         (hsearch_r): Rename to __hsearch_r and define as weak alias of
17371         __hsearch_r.
17372         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
17373         Remove variable.
17374         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17375         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17376         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17377         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17379 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17381         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
17382         arena_lock into a single arena_get.
17384 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
17386         * dl-reloc.c: Inlucde libc-internal.h.
17387         (_dl_try_allocate_static_tls): Call ALIGN_UP.
17388         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
17389         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
17390         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
17391         (grow_heap): Likewise.
17392         * malloc/malloc.c: Include libc-internal.h.
17393         (do_check_malloc): Call powerof2.
17394         (sysmalloc): Use pagesize. Call ALIGN_UP.
17395         (systrim): Use pagesize.
17396         (mremap_chunk): Use pagesize. Call ALIGN_UP.
17397         (__libc_valloc): Use pagesize.
17398         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
17400 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17402         [BZ #17991]
17403         * include/sys/resource.h (__getrlimit64): Declare.  Use
17404         libc_hidden_proto.
17405         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
17406         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
17407         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
17408         getrlimit64.
17409         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
17410         __getrlimit64.
17411         [!getrlimit64] (getrlimit64): Define as weak alias of
17412         __getrlimit64.  Use libc_hidden_weak.
17413         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
17414         using __getrlimit64 not __new_getrlimit64.
17415         (__GI_getrlimit64): Likewise.
17416         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
17417         Likewise.
17418         (__GI_getrlimit64): Likewise.
17419         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
17420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
17421         (getrlimit): Add __getrlimit64 alias.
17422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
17423         Likewise.
17424         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
17425         Remove variable.
17426         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17427         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17429 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
17431         * libio/fileops.c: Add missing sys/mman.h
17432         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
17434 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
17436         * manual/math.texi (Errors in Math Functions): Clarify goals
17437         regarding inexact and underflow exceptions.
17439 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17441         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
17442         * sysdeps/mips/memset.S: Ditto.
17444 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
17446         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
17448 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17450         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
17451         (__v1longjmp): Remove versioned symbol.
17452         (__v1siglongjmp): Remove alias and versioned symbol.
17453         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
17454         (__v2siglongjmp): Likewise.
17456 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17458         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17460 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
17462         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
17464 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17466         [BZ #17987]
17467         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
17468         zero result does not depend on the sign resulting from
17469         subtraction.
17470         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17471         Likewise.
17472         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17473         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17474         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17475         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17476         * math/libm-test.inc (remquo_test_data): Add more tests.
17478 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
17480         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
17481         Problem reported by J William Piggott.
17483 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
17485         [BZ #17978]
17486         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
17487         products 4 * y and 2 * y where those would overflow.
17488         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17489         Likewise.
17490         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
17491         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
17492         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17493         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
17494         * math/libm-test.inc (remquo_test_data): Add more tests.
17496         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
17498         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
17499         [defined _COMPILING_NEWLIB].
17500         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
17501         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
17503         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
17504         [!defined __mips_isa_rev || __mips_isa_rev < 6].
17506 2015-02-16  Torvald Riegel  <triegel@redhat.com>
17508         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
17509         acquired.
17511 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
17513         [BZ #17792]
17514         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
17515         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
17516         HOST_STACK_END_ADDR): Likewise.
17518 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
17520         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
17521         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
17522         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
17524 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17526         * sysdeps/generic/c++-types.data: New file.
17527         * sysdeps/generic/ld.abilist: New file.
17528         * sysdeps/generic/libBrokenLocale.abilist: New file.
17529         * sysdeps/generic/libanl.abilist: New file.
17530         * sysdeps/generic/libc.abilist: New file.
17531         * sysdeps/generic/libcrypt.abilist: New file.
17532         * sysdeps/generic/libdl.abilist: New file.
17533         * sysdeps/generic/libm.abilist: New file.
17534         * sysdeps/generic/libpthread.abilist: New file.
17535         * sysdeps/generic/libresolv.abilist: New file.
17536         * sysdeps/generic/librt.abilist: New file.
17538 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17540         [BZ #17569]
17541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
17542         Compute absolute value of x as modified by fmod, not original
17543         value of x.
17544         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
17545         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
17546         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
17547         RUN_TEST_ffI_f1_mod8.
17548         (remquo_test_data): Add more tests.
17550 2015-02-13  Roland McGrath  <roland@hack.frob.com>
17552         * sysdeps/init_array/pt-crti.S: New file.
17554 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
17556         [BZ #17967]
17557         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
17558         __builtin_fmaf instead of relying on contraction of a * b + c.
17560 2015-02-12  J William Piggott  <elseifthen@gmx.com>
17562         [BZ #17969]
17563         * manual/time.texi: correct the zoneinfo path in the TZ Variable
17564         node.
17566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17568         [BZ #17964]
17569         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
17570         __builtin_fma instead of relying on contraction of a * b + c.
17572 2015-02-12  Roland McGrath  <roland@hack.frob.com>
17574         * Makeconfig (ASFLAGS): Add -Werror=undef.
17575         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
17576         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
17577         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
17579         * Makeconfig (after-link): New variable.
17580         (+link-pie, +link-pie-tests): Use it.
17581         (+link-static, +link-static-tests): Likewise.
17582         (+link, +link-tests): Likewise.
17583         * Makerules (build-module, build-module-asneeded): Likewise.
17584         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
17585         Likewise.
17586         * elf/Makefile ($(objpfx)ld.so): Likewise.
17588 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
17590         [BZ #17965]
17591         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
17592         both struct timeval and struct timespec.
17594 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
17596         [BZ #16560]
17597         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17598         and redefine.
17599         (__ieee754_exp2l): Do not multiply small fractional parts by
17600         M_LN2l.
17601         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
17602         small argument.
17603         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17604         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17605         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
17606         * math/auto-libm-test-in: Add more tests of exp2.
17607         * math/auto-libm-test-out: Regenerated.
17609 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17611         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
17612         unaligned path.
17614 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17616         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
17617         little endian.
17619 2015-02-12  Andreas Schwab  <schwab@suse.de>
17621         [BZ #15790]
17622         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17623         Filter out elision flags from value returned in kind.
17624         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
17625         * nptl/tst-pthread-mutexattr.c: New file.
17627 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17629         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
17630         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
17631         into gnu-gnu, and update comment to refer to abi-tags.
17633 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
17635         [BZ #15467]
17636         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
17637         (__sincos): Set errno to EDOM for infinite argument.
17638         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
17639         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
17640         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
17641         (__sincosl): Set errno to EDOM for infinite argument.
17642         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
17643         (__sincosl): Set errno to EDOM for infinite argument.
17644         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
17645         (__sincosl): Set errno to EDOM for infinite argument.
17646         * math/libm-test.inc (sincos_test_data): Test errno setting.
17648 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
17650         * string/strxfrm_l.c: Remove #define STRCMP.
17651         * string/strcoll_l.c: Remove #define STRLEN.
17652         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
17653         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
17655 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
17658         * sysdeps/mips/mips32/sfp-machine.h: ... here.
17659         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
17660         * sysdeps/mips/mips64/Makefile: ... here.
17661         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
17662         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
17663         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17664         * sysdeps/mips/mips64/sfp-machine.h: ... here.
17665         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
17666         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
17667         * sysdeps/mips/mips64/n64/Implies: Likewise.
17669 2015-02-10  Roland McGrath  <roland@hack.frob.com>
17671         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
17672         <sys/time.h>, <string.h>, and <errno.h>.
17673         (dest_offset, dest_address, value, zero): Remove unused variables.
17674         (ldouble): Remove typedef.
17675         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
17676         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
17677         1).  Fix code style.
17678         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
17679         (check): Function removed.
17680         (CHECK): New macro.
17681         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
17682         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
17683         Don't call set_sigaction_FP and remove_sigaction_FP here.
17684         (ldouble_test): Just use 'long double' as macro argument, no need for
17685         the 'ldouble' typedef.
17686         (do_test): Set up SIGFPE handler at start, using plain signal rather
17687         than sigaction.  Fix code style.
17689 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
17691         [BZ #17949]
17692         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
17693         jump label.
17695 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17697         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
17698         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17700         * sysdeps/powerpc/configure.ac: Remove file.
17701         * sysdeps/powerpc/configure: Likewise.
17703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17704         [sysdep_routines]: Remove wordcopy-power6 object.
17705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17706         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
17707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
17708         (__memmove_ppc32): Likewise.
17709         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
17710         file.
17711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
17712         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
17713         Remove preprocessor.
17715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
17716         [sysdep_routines]: Remove wide chars objects.
17717         [wcsmbs]: New rule for wide char objects.
17719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17720         Remove wordcopy-power6 obejct.
17721         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
17722         Use local call for wordcopy and memcpy symbols.
17723         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
17724         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
17725         implementation for loader.
17726         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
17728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17729         Remove wordcopy-power7 object.
17730         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
17731         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
17732         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
17733         (_wordcopy_fwd_dest_aligned): Likewise.
17734         (_wordcopy_bwd_aligned): Likewise.
17735         (_wordcopy_bwd_dest_aligned): Likewise.
17737         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
17738         Rewrite to call __memmove_ppc instead of include default
17739         implementation.
17741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17742         Remove wide chars objects.
17743         [wcsmbs]: New rule for wide char objects.
17745 2015-02-09  Andreas Schwab  <schwab@suse.de>
17747         [BZ #17912]
17748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17749         in terms of __O_DIRECTORY.
17751 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17753         * time/getdate.c: Include <stdbool.h>.
17754         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
17755         call PTR_MANGLE.
17756         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
17757         PTR_DEMANGLE.
17759 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
17761         Add ersatz _Static_assert on older C hosts
17762         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
17763         pre-C11 C platform that is not known to support _Static_assert.
17765 2015-02-07  Richard Braun  <rbraun@sceen.net>
17767         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
17768         sigstate.
17769         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
17771 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17773         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
17774         priority against unexistent AIO_PRIO_DELTA_MAX.
17775         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
17776         instead of int.
17777         * misc/fchflags.c (fchflags): Likewise.
17778         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
17779         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
17780         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
17781         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
17782         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
17783         Declare macros.
17784         [__USE_MISC] (chflags, fchflags): Declare functions.
17785         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
17786         EINVAL when nfds is greater than FD_SETSIZE.
17787         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
17788         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
17789         45.
17790         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
17791         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
17792         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
17793         MACH_RCV_TIMED_OUT.
17794         * hurd/hurd/signal.h (_hurd_self_sigstate,
17795         _hurd_critical_section_lock, _hurd_critical_section_unlock):
17796         Explicit casts from void *.
17797         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
17798         * abi-tags: Rename gnu-gnu os into gnu.
17800         [BZ #4719]
17801         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
17802         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
17803         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
17804         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
17805         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
17806         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
17808         [BZ #17944]
17809         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
17810         duplicates ADDR->sun_path with sockaddr LEN limitation.
17811         * sysdeps/mach/hurd/connect.c: Include <string.h>
17812         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
17813         * sysdeps/mach/hurd/sendmsg.c: Likewise.
17814         * sysdeps/mach/hurd/sendto.c: Likewise.
17815         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
17816         implementing it by hand.
17818 2015-02-06  Roland McGrath  <roland@hack.frob.com>
17820         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
17821         Use sfi_breg on ldr.
17822         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
17823         Likewise.
17825         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
17826         it's defined.
17827         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
17828         Test SIGSETXID only if it's defined.
17830         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
17832         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
17833         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
17835         * nptl/tst-align2.c: Moved ...
17836         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
17837         * nptl/Makefile (tests): Remove tst-align2.
17838         * sysdeps/unix/sysv/linux/Makefile
17839         [$(subdir) = nptl] (tests): Add tst-align-clone.
17840         * nptl/tst-getpid1.c: Moved ...
17841         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
17842         * nptl/tst-getpid2.c: Moved ...
17843         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
17844         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
17845         * sysdeps/unix/sysv/linux/Makefile
17846         [$(subdir) = nptl] (tests): ... here.
17847         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
17848         * sysdeps/unix/sysv/linux/Makefile
17849         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
17851         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17852         Drop trailing \n from perror argument.  Use return rather than exit.
17854         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17855         on [SA_SIGINFO].
17856         * nptl/tst-cancel21.c (do_test): Likewise.
17857         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17858         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17859         [!SA_SIGINFO]: Make it a stub test.
17861         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17862         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17864         * posix/tst-getlogin.c: Move to ...
17865         * login/tst-getlogin.c: ... here.
17866         * posix/Makefile (tests): Move tst-getlogin to ...
17867         * login/Makefile (tests): ... here.
17869         * libio/tst-atime.c (do_test): Move local variables SV and E
17870         inside [ST_NOATIME] conditional.
17872         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17874         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17876         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17877         (wait_code): New function replaces macro.
17878         Call nanosleep rather than syscall.
17880         * nptl/pt-system.c: Rewritten.  Put everything under
17881         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17882         Use IFUNC to redirect when possible.
17884         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17885         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17886         Use IFUNC to redirect when possible.
17888         * nptl/pt-fork.c: Rewritten.  Put everything under
17889         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17890         Use IFUNC to redirect when possible.
17891         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17894         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17895         unconditionally nowadays.  This included the only reference to
17896         __vdso_clock_gettime that appears outside libc proper.
17897         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17898         Remove version set (containing only __vdso_clock_gettime).
17899         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17900         Add attribute_hidden.
17901         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17902         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17903         libc_hidden_data_def.
17904         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17905         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17907         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17908         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17909         setrpcent, and getrpcport to ...
17910         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17911         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17912         getrpcbynumber_r, and getrpcent_r to ...
17913         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17914         * inet/getrpcbyname.c: Moved ...
17915         * sunrpc/getrpcbyname.c: ... here.
17916         * inet/getrpcbyname_r.c: Moved ...
17917         * sunrpc/getrpcbyname_r.c: ... here.
17918         * inet/getrpcbynumber.c: Moved ...
17919         * sunrpc/getrpcbynumber.c: ... here.
17920         * inet/getrpcbynumber_r.c: Moved ...
17921         * sunrpc/getrpcbynumber_r.c: ... here.
17922         * inet/getrpcent.c: Moved ...
17923         * sunrpc/getrpcent.c: ... here.
17924         * inet/getrpcent_r.c: Moved ...
17925         * sunrpc/getrpcent_r.c: ... here.
17926         * inet/Makefile (routines): Move those to ...
17927         * sunrpc/Makefile (routines): ... here.
17928         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17929         the $(subdirs) list.
17930         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17931         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17932         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17933         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17935         * elf/Makefile (routines): Include $(all-dl-routines), not just
17936         $(dl-routines).
17937         (rtld-routines): Likewise.  Use = rather than :=.
17938         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17939         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17940         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17941         * sysdeps/arm/Makefile: Likewise.
17942         * sysdeps/i386/Makefile: Likewise.
17943         * sysdeps/x86_64/Makefile: Likewise.
17944         * sysdeps/hppa/Makefile [$(subdir) = elf]
17945         (sysdep_routines, sysdep-rtld-routines): Don't add
17946         $(sysdep-dl-routines) to these.
17947         * sysdeps/ia64/Makefile: Likewise.
17948         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17949         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17950         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17951         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17952         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17953         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17954         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17955         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17956         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17957         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17958         these; sysdep-dl-routines alone is enough.
17960 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17962         [BZ #17932]
17963         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17964         where multiplication results in zero and third argument is finite
17965         and nonzero.
17966         * math/auto-libm-test-in: Add more tests of fma.
17967         * math/auto-libm-test-out: Regenerated.
17969         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17970         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17971         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17972         (_FP_CMP_EQ): Likewise.
17973         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17975         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17976         extra argument CHECK_NAN.  Redefine as wrapper around
17977         _FP_EXTEND_CNAN.
17979 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17981         * version.h (RELEASE): Set to "stable".
17982         (VERSION): Set to "2.21"
17983         * include/features.h (__GLIBC_MINOR__): Set to 21.
17985         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17987 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17988             Paul Eggert  <eggert@cs.ucla.edu>
17990         [BZ #16618]
17991         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17992         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17993         size in bytes. Store needed elements in wpmax. Use needed size
17994         in bytes for extend_alloca.
17996 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17998         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17999         binutls 2.25, and texinfo 5.2.
18000         * INSTALL: Regenerate.
18001         * sysdeps/nios2/configure: Regenerate.
18002         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18003         * manual/contrib.texi: Update.
18004         * po/be.po: Update.
18005         * po/bg.po: Update.
18006         * po/ca.po: Update.
18007         * po/cs.po: Update.
18008         * po/da.po: Update.
18009         * po/de.po: Update.
18010         * po/el.po: Update.
18011         * po/eo.po: Update.
18012         * po/es.po: Update.
18013         * po/fi.po: Update.
18014         * po/fr.po: Update.
18015         * po/gl.po: Update.
18016         * po/hr.po: Update.
18017         * po/hu.po: Update.
18018         * po/ia.po: Update.
18019         * po/id.po: Update.
18020         * po/it.po: Update.
18021         * po/ja.po: Update.
18022         * po/ko.po: Update.
18023         * po/lt.po: Update.
18024         * po/nb.po: Update.
18025         * po/nl.po: Update.
18026         * po/pl.po: Update.
18027         * po/pt_BR.po: Update.
18028         * po/ru.po: Update.
18029         * po/rw.po: Update.
18030         * po/sk.po: Update.
18031         * po/sl.po: Update.
18032         * po/sv.po: Update.
18033         * po/tr.po: Update.
18034         * po/uk.po: Update.
18035         * po/vi.po: Update.
18036         * po/zh_CN.po: Update.
18037         * po/zh_TW.po: Update.
18039         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18040         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18041         * sysdeps/hppa/dl-irel.h: Remove #warning.
18042         * sysdeps/hppa/entry.h: Provide prototype for
18043         __canonicalize_funcptr_for_compare and cast argument.
18044         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18045         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18046         * sysdeps/hppa/sotruss-lib.c: New file.
18047         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18048         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18049         (atomic_compare_and_exchange_bool_acq): Likewise.
18050         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18051         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18053         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18054         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18055         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18057 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18059         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18060         called function in non-PIC case.
18062 2015-01-31  David S. Miller  <davem@davemloft.net>
18064         * sysdeps/sparc/sparc32/bits/atomic.h
18065         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18066         unlock not after it.
18067         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18068         volatile register usage warnings from the compiler.
18070         * sysdeps/sparc/nptl/sem_init.c: Delete.
18071         * sysdeps/sparc/nptl/sem_post.c: Delete.
18072         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18073         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18074         * sysdeps/sparc/sparc32/sem_init.c: New file.
18075         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18076         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18077         padding explicitly initialized.
18078         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18079         padding for in-semaphore spinlock.
18080         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18081         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18082         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18083         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18084         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18085         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18086         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18087         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18088         version.
18089         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18090         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18092 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18094         [BZ #17801]
18095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18096         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18097         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18098         New.
18099         (index_AVX_Fast_Unaligned_Load): Likewise.
18100         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18101         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18102         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18103         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18104         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18105         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18106         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18107         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18108         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18110 2015-01-29  Andreas Schwab  <schwab@suse.de>
18112         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18114 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18116         [BZ #17892]
18117         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18119 2015-01-28  Martin Sebor  <msebor@redhat.com>
18121         * math/README.libm-test: Clarify. Add "How to read the test output."
18123 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18125         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18126         Define to 0.
18128 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18130         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18131         (__HAVE_64B_ATOMICS): Define to 0.
18133 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18135         [BZ #17885]
18136         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18137         value to set as new flag.
18139         [BZ #16576]
18140         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18141         and use _ARCH_PPCSQ instead.
18142         (__ieee754_sqrt): Likewise.
18143         (__ieee754_sqrtf): Likewise.
18144         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18145         _ARCH_PPCSQ is defined.
18146         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18147         fsqrt instruction.
18148         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18149         _ARCH_PPCSQ is defined.
18150         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18151         fsqrts instruction.
18152         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18154 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18156         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18157         bug (GCC BZ #64739).
18159 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18161         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18162         Mark _retval as used.
18163         (lll_futex_wake_unlock): Likewise.
18164         (lll_futex_timed_wait_requeue_pi): Likewise.
18166         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18167         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18168         register variables.
18170         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18171         libm_hidden_def.
18173         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18174         (__bswap_64): Mark as __always_inline.
18176 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18178         [BZ #15378]
18179         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18180         when none of the search directories exist.
18182 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18184         [BZ #17869]
18185         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18186         power8 in .machine directive.
18188         [BZ #17868]
18189         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18190         set dependency from opd value.
18192 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18195         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18196         architecture.
18198 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18200         [BZ #17870]
18201         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18202         with uint64_t.
18203         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18204         (uint64_t) 1.
18205         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18206         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18207         Replace 1UL with (uint64_t) 1.
18208         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18209         int with uint64_t.
18211 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18213         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18214         (if_freenameindex): Likewise.
18216         * resource/getrlimit64.c: Add missing libc_hidden_def.
18218 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18220         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18221         __label__.
18222         (_FP_FMA): Likewise.
18223         (_FP_TO_INT_ROUND): Likewise.
18224         (_FP_FROM_INT): Likewise.
18226 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18228         [BZ #16418]
18229         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18230         Make code racy and cancel safe.
18232 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18234         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18235         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18236         attribution.
18238         * pwd/tst-getpw.c: Rewrite.
18240         [BZ #17702]
18241         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18242         (modules-names): Add moddummy1 and moddummy2.
18243         ($(objpfx)tst-rec-dlopen): Define.
18244         * dlfcn/moddummy1.c: New file.
18245         * dlfcn/moddummy2.c: New file.
18246         * dlfcn/tst-rec-dlopen.c: New file.
18247         * elf/dl-cache.c (_dl_load_cache_lookup):
18248         Return char*. Copy result with alloca/strcpy/strdup.
18249         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18250         returns char*. Free cached. If not saving realname
18251         free cached.
18252         * elf/dl-open.c (dl_open_worker): Do not assert that
18253         _r_debug->r_state is RT_CONSISTENT.
18254         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18255         returns char*.
18257 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18258             Carlos O'Donell  <carlos@redhat.com>
18260         [BZ #12674]
18261         * nptl/sem_waitcommon.c: New file.
18262         * nptl/sem_wait.c: Include sem_waitcommon.c.
18263         (__sem_wait_cleanup, do_futex_wait): Remove.
18264         (__new_sem_wait): Adapt.
18265         (__new_sem_trywait): New function.
18266         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18267         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18268         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18269         (sem_timedwait): Adapt.
18270         * nptl/sem_post.c (__new_sem_post): Adapt.
18271         (futex_wake): New function.
18272         (__old_sem_post): Add release MO fence.
18273         * nptl/sem_open.c (sem_open): Adapt.
18274         * nptl/sem_init.c (__new_sem_init): Adapt.
18275         (futex_private_if_supported): New function.
18276         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18277         (__old_sem_getvalue): Add using previous code.
18278         * sysdeps/nptl/internaltypes.h: Adapt.
18279         * nptl/tst-sem13.c (do_test): Adapt.
18280         * nptl/tst-sem11.c (main): Adapt.
18281         * nptl/sem_trywait.c: Remove.
18282         * nptl/DESIGN-sem.txt: Remove.
18283         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18284         (gen-as-const-headers): Remove structsem.sym.
18285         * nptl/structsem.sym: Remove.
18286         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18287         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18288         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18289         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18290         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18291         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18292         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18293         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18294         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18295         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18296         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18297         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18298         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18299         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18300         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18301         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18302         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18303         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18304         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18305         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18306         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18307         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18309 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18311         * INSTALL: Regenerated.
18313         * po/libc.pot: Regenerated.
18315 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18316             Sandra Loosemore  <sandra@codesourcery.com>
18317             Andrew Jenner  <andrew@codesourcery.com>
18318             Joseph Myers  <joseph@codesourcery.com>
18319             Nathan Sidwell  <nathan@codesourcery.com>
18321         * NEWS: Mention new Nios II port.
18322         * sysdeps/nios2/Implies: New file.
18323         * sysdeps/nios2/Makefile: New file.
18324         * sysdeps/nios2/Subdirs: New file.
18325         * sysdeps/nios2/Versions: New file.
18326         * sysdeps/nios2/__longjmp.S: New file.
18327         * sysdeps/nios2/abort-instr.h: New file.
18328         * sysdeps/nios2/backtrace.c: New file.
18329         * sysdeps/nios2/bits/endian.h: New file.
18330         * sysdeps/nios2/bits/fenv.h: New file.
18331         * sysdeps/nios2/bits/link.h: New file.
18332         * sysdeps/nios2/bits/setjmp.h: New file.
18333         * sysdeps/nios2/bsd-_setjmp.S: New file.
18334         * sysdeps/nios2/bsd-setjmp.S: New file.
18335         * sysdeps/nios2/configure: New generated file.
18336         * sysdeps/nios2/configure.ac: New file.
18337         * sysdeps/nios2/crti.S: New file.
18338         * sysdeps/nios2/crtn.S: New file.
18339         * sysdeps/nios2/dl-init.c: New file.
18340         * sysdeps/nios2/dl-machine.h: New file.
18341         * sysdeps/nios2/dl-sysdep.h: New file.
18342         * sysdeps/nios2/dl-tls.h: New file.
18343         * sysdeps/nios2/dl-trampoline.S: New file.
18344         * sysdeps/nios2/gccframe.h: New file.
18345         * sysdeps/nios2/gmp-mparam.h: New file.
18346         * sysdeps/nios2/jmpbuf-offsets.h: New file.
18347         * sysdeps/nios2/jmpbuf-unwind.h: New file.
18348         * sysdeps/nios2/ldsodefs.h: New file.
18349         * sysdeps/nios2/libc-tls.c: New file.
18350         * sysdeps/nios2/libm-test-ulps: New file.
18351         * sysdeps/nios2/machine-gmon.h: New file.
18352         * sysdeps/nios2/math-tests.h: New file.
18353         * sysdeps/nios2/math_private.h: New file.
18354         * sysdeps/nios2/memusage.h: New file.
18355         * sysdeps/nios2/nptl/Makefile: New file.
18356         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
18357         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
18358         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
18359         * sysdeps/nios2/nptl/pthreaddef.h: New file.
18360         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
18361         * sysdeps/nios2/nptl/tls.h: New file.
18362         * sysdeps/nios2/preconfigure: New file.
18363         * sysdeps/nios2/s_fma.c: New file.
18364         * sysdeps/nios2/s_fmaf.c: New file.
18365         * sysdeps/nios2/setjmp.S: New file.
18366         * sysdeps/nios2/sfp-machine.h: New file.
18367         * sysdeps/nios2/sotruss-lib.c: New file.
18368         * sysdeps/nios2/stackguard-macros.h: New file.
18369         * sysdeps/nios2/stackinfo.h: New file.
18370         * sysdeps/nios2/start.S: New file.
18371         * sysdeps/nios2/sysdep.h: New file.
18372         * sysdeps/nios2/tls-macros.h: New file.
18373         * sysdeps/nios2/tst-audit.h: New file.
18374         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
18375         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
18376         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
18377         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
18378         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
18379         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
18380         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
18381         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
18382         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
18383         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
18384         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
18385         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
18386         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
18387         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
18388         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
18389         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
18390         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
18391         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
18392         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
18393         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
18394         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
18395         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
18396         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
18397         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
18398         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
18399         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
18400         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
18401         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
18402         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
18403         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
18404         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
18405         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
18406         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
18407         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
18408         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
18409         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
18410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
18411         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
18412         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
18413         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
18414         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
18415         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
18416         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
18417         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
18419 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18421         [BZ #17844]
18422         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
18423         (getutent): Use weak_alias in non SHARED case
18424         and default_symbol_version in SHARED case.
18425         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
18426         (getutent_r, pututline): Likewise.
18427         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
18428         (getutid): Likewise.
18429         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
18430         (getutid_r): Likewise.
18431         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
18432         (getutline): Likewise.
18433         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
18434         (getutline_r): Likewise.
18435         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
18436         (updwtmp): Likewise.
18438 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18440         [BZ #17848]
18441         * sysdeps/s390/s390-32/memcmp.S
18442         (memcmp_g5): Rename to __memcmp_g5.
18443         * sysdeps/s390/s390-32/memcpy.S
18444         (memcpy_g5): Rename to __memcpy_g5.
18445         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18446         (memcpy_mvcle) Rename to __memcpy_mvcle.
18447         * sysdeps/s390/s390-32/memset.S
18448         (memset_g5): Rename to __memset_g5.
18449         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18450         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18451         and use prefixed functions.
18452         * sysdeps/s390/s390-32/multiarch/memcmp.S
18453         (memcmp_z196): Rename to __memcmp_z196.
18454         (memcmp_z10): Rename to __memcmp_z10.
18455         (memcmp): Set alias to __memcmp_g5.
18456         (bcmp): Set alias to __memcmp_g5.
18457         * sysdeps/s390/s390-32/multiarch/memcpy.S
18458         (memcpy_z196): Rename to __memcpy_z196.
18459         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18460         (memcpy_z10): Rename to __memcpy_z10.
18461         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18462         (memcpy): Set alias to __memcpy_g5.
18463         * sysdeps/s390/s390-32/multiarch/memset.S
18464         (memset_z196): Rename to __memset_z196.
18465         Jump to __memset_mvcle instead of memset_mvcle.
18466         (memset_z10): Rename to __memset_z10.
18467         Jump to __memset_mvcle instead of memset_mvcle.
18468         (memset_mvcle) Rename to __memset_mvcle.
18469         (memset): Set alias to __memset_g5.
18470         * sysdeps/s390/s390-64/memcmp.S
18471         (memcmp_z900): Rename to __memcmp_z900.
18472         * sysdeps/s390/s390-64/memcpy.S
18473         (memcpy_z900): Rename to __memcpy_z900.
18474         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18475         (memcpy_mvcle) Rename to __memcpy_mvcle.
18476         * sysdeps/s390/s390-64/memset.S
18477         (memset_z900): Rename to __memset_z900.
18478         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
18479         (IFUNC_RESOLVE): Prefix ifunc-resolve function
18480         and use prefixed functions.
18481         * sysdeps/s390/s390-64/multiarch/memcmp.S
18482         (memcmp_z196): Rename to __memcmp_z196.
18483         (memcmp_z10): Rename to __memcmp_z10.
18484         (memcmp): Set alias to __memcmp_z900.
18485         (bcmp): Set alias to __memcmp_z900.
18486         * sysdeps/s390/s390-64/multiarch/memcpy.S
18487         (memcpy_z196): Rename to __memcpy_z196.
18488         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18489         (memcpy_z10): Rename to __memcpy_z10.
18490         Jump to __memcpy_mvcle instead of memcpy_mvcle.
18491         (memcpy): Set alias to __memcpy_z900.
18492         * sysdeps/s390/s390-64/multiarch/memset.S
18493         (memset_z196): Rename to __memset_z196.
18494         Jump to __memset_mvcle instead of memset_mvcle.
18495         (memset_z10): Rename to __memset_z10.
18496         Jump to __memset_mvcle instead of memset_mvcle.
18497         (memset_mvcle) Rename to __memset_mvcle.
18498         (memset): Set alias to __memset_z900.
18500 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
18502         [BZ #17748]
18503         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
18504         __fesetenv instead of fesetenv.
18506 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
18509         macro.
18511 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18513         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
18514         regression on LE.
18516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
18517         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
18518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18519         strncmp-power8 object.
18520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18521         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
18522         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
18523         * NEWS: Update.
18525 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18528         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
18529         trailing byte check.
18531 2015-01-13  David S. Miller  <davem@davemloft.net>
18533         * include/signal.h (__sigreturn): Guard with __USE_MISC.
18535 2015-01-13  Roland McGrath  <roland@hack.frob.com>
18537         * login/logout.c (logout): Use memset rather than bzero.
18538         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
18539         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
18540         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
18541         (_gethtbyaddr): Likewise.
18542         * locale/programs/simple-hash.c (bcopy): Macro removed.
18544 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18547         Add strcmp-power8 object.
18548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18549         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
18550         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
18551         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
18552         __strcmp_power8 implementation.
18553         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
18554         * NEWS: Update.
18556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18557         Add strncpy-power8 and stpncpy-power8 objects.
18558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18559         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
18560         implementations.
18561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
18562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
18563         __stpncpy_power8 implementation.
18564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
18565         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
18566         __strncpy_power8 implementation.
18567         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
18568         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
18569         * NEWS: Update.
18571         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
18572         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
18573         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
18575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18576         strncat-power8 object.
18577         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
18578         __strcat_power8 implementation.
18579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18580         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
18581         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
18582         optimized strcat for power8.
18584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
18585         strcpy-power8 and stpcpy-power8 objects.
18586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18587         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
18588         implementations.
18589         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
18590         multiarch stpcpy implementation for POWER8.
18591         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
18592         multiarch strcpy implementation for POWER8.
18593         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
18594         __strcpy_power8 function.
18595         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
18596         stpcpy for POWER8.
18597         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
18598         strcpy for POWER8.
18599         * NEWS: Update.
18601 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
18603         [BZ #16009]
18604         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
18605         weights and rules. Use do_xfrm_cached if data fits in cache,
18606         do_xfrm otherwise.  Moved former main loop to...
18607         * (do_xfrm_cached): New function.
18608         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
18609         find_idx, find_position and stack_push.
18610         * (find_idx): New function.
18611         * (find_position): Likewise.
18612         * localedata/sort-test.sh: Added test run for do_xfrm.
18613         * localedata/xfrm-test.c (main): Added command line option
18614         -nocache to run the test with strings that are too large for
18615         the STRXFRM cache.
18617 2015-01-13  Torvald Riegel  <triegel@redhat.com>
18619         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
18620         variable to lll_futex_wake call, not the value itself.
18622 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
18624         [BZ #17803]
18625         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
18626         twom64.  Adjust value to 0x1p-64L.
18627         (__scalblnl): Only return standard underflowing result for K <=
18628         -64 not K <= -63; adjust exponent for underflowing result by 64
18629         not 63.
18630         * math/libm-test.inc (scalbn_test_data): Add more tests.
18631         (scalbln_test_data): Likewise.
18633         [BZ #17834]
18634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
18635         0x1p63L.
18636         (__scalblnl): Get new exponent of adjusted subnormal value from ES
18637         not HX.
18638         * math/libm-test.inc (scalbn_test_data): Add more tests.
18639         (scalbln_test_data): Likewise.
18641 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18642             Stefani Seibold  <stefani@seibold.net>
18644         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
18645         (sysdep_routines): Add dl-vdso here, ...
18646         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
18647         (sysdep_routines): ... not here.
18648         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
18649         fallback when vDSO is not presented.
18650         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18651         Define with libc_hidden_proto/libc_hidden_data_def definitions.
18652         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
18653         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
18654         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
18655         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
18656         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
18657         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
18658         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
18659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
18660         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
18661         fallback configurable symbol when vDSO is not available.
18662         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
18663         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
18664         be able to redefine fallback symbol when vDSO is not available.
18665         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
18666         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
18668 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18670         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
18671         (TLS_INIT_TP): Add tm_capable initialization.
18672         (TLS_DEFINE_INIT_TP): Likewise.
18673         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
18674         TCB.
18675         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
18676         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
18677         calculation.
18678         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
18679         transactoion is lock elision is built and TCB tm_capable is set.
18680         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
18681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18682         (INTERNAL_SYSCALL_NCS): Likewise.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18684         (INTERNAL_SYSCALL_NCS): Likewise.
18685         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
18687         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
18688         for powerpc.
18689         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18690         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
18691         and remove it for 32 bits case.
18692         [pthread_rwlock_t] (__rwelision): New field for lock elision.
18693         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
18694         initialization.
18695         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
18696         Disable lock elision with rdlocks if elision is not available.
18698         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
18699         (sysdep_routines): Add lock elision objects.
18700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18701         [pthread_mutex_t] (__spins): Rework to add lock elision field.
18702         [pthread_mutex_t] (__elision): Add field.
18703         [__PTHREAD_SPINS]: Adjust to init lock elision field.
18704         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
18705         elision definitions for powerpc.
18706         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
18707         implementation of lock elision for powerpc.
18708         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
18709         implementation of timed lock elision for powerpc.
18710         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
18711         implementation of trylock with lock elision for powerpc.
18712         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
18713         implementaion of unlock for lock elision for powerpc.
18714         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
18715         automatic enable lock elision for mutexes.
18716         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
18717         transaction execution definitions for powerpc.
18718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
18719         definitions.
18720         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
18721         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
18722         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
18723         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
18724         * NEWS: Update.
18726 2015-01-09  Roland McGrath  <roland@hack.frob.com>
18728         * sysdeps/posix/shm-directory.c: Use <> rather than ""
18729         for #include of <shm-directory.h>.
18731 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
18733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
18734         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
18736 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
18738         [BZ #17791]
18739         * NEWS: Mention bug fix.
18740         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
18741         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
18742         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
18744 2015-01-09  Torvald Riegel <triegel@redhat.com>
18746         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
18748 2015-01-09  Torvald Riegel <triegel@redhat.com>
18750         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
18752 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18754         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
18755         pointer and cast to uintptr_t.
18757 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18759         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
18760         removed.
18761         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
18763 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
18765         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
18766         of 0.
18768 2015-01-08  Roland McGrath  <roland@hack.frob.com>
18770         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
18771         <nptl/pthreadP.h> instead.
18772         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
18774         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
18775         already defined.
18776         [__SIGRTMIN] (init): Function removed.
18777         [__SIGRTMIN] (initialized): Variable removed.
18778         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
18779         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
18780         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
18781         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
18782         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
18783         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
18784         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
18785         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
18786         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
18787         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
18788         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
18789         * sysdeps/nptl/allocrtsig.c: New file.
18790         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
18791         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
18792         * sysdeps/generic/testrtsig.h: File removed.
18794         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
18795         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
18797         * nptl/nptl-init.c (pthread_functions): Conditionalize
18798         .ptr__nptl_setxid initialization on [SIGSETXID].
18800         * sysdeps/nptl/sys/procfs.h: New file.
18801         * nptl_db/Makefile (headers): Add it.
18802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
18804         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
18805         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
18806         * nptl/pthread_attr_setaffinity.c: Include it.
18807         * nptl/pthread_setattr_default_np.c: Likewise.
18808         * nptl/check-cpuset.h: New file.
18810 2015-01-08  Richard Henderson  <rth@redhat.com>
18812         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
18813         (CFLAGS-tst-execstack-prog.c): Likewise.
18814         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
18816 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
18817             Sandra Loosemore  <sandra@codesourcery.com>
18818             Andrew Jenner  <andrew@codesourcery.com>
18819             Joseph Myers  <joseph@codesourcery.com>
18820             Nathan Sidwell  <nathan@codesourcery.com>
18822         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
18823         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
18824         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
18825         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
18826         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18827         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
18828         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
18829         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
18830         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
18831         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
18832         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
18833         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
18834         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
18835         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
18836         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
18837         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
18838         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
18840 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18842         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
18843         timespec struct member in syscall macro.
18844         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18845         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
18846         first timeval struct member in syscall macro.
18847         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
18849 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
18851         [BZ #17748]
18852         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18853         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18854         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18855         __feupdateenv and define as weak alias of __feupdateenv.  Use
18856         libm_hidden_weak.
18857         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18858         libm_hidden_def.
18859         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18860         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18861         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18862         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18863         libm_hidden_def.
18864         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18865         __feupdateenv and define as weak alias of __feupdateenv.  Use
18866         libm_hidden_weak.
18867         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18868         libm_hidden_def.
18869         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18870         __feupdateenv and define as weak alias of __feupdateenv.  Use
18871         libm_hidden_weak.
18872         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18873         libm_hidden_def.
18874         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18875         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18876         (__feupdateenv): Likewise.
18877         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18878         __feupdateenv and define as weak alias of __feupdateenv.  Use
18879         libm_hidden_weak.
18880         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18881         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18882         libm_hidden_def.
18883         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18884         function.
18885         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18886         libm_hidden_def.
18887         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18888         __feupdateenv instead of feupdateenv.
18889         (default_libc_feupdateenv_test): Likewise.
18890         (libc_feresetround_ctx): Likewise.
18892 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18894         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18895         prototype.
18897 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18899         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18900         COLL_SYM in a couple of places to avoid uninitialized variable
18901         wanings on tilegx gcc 4.8.2.
18903 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18905         * sysdeps/aarch64/strcpy.S: New file.
18906         * sysdeps/aarch64/stpcpy.S: New file.
18907         * NEWS: Updated.
18909 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18911         * sysdeps/aarch64/strrchr.S: New file.
18912         * NEWS: Updated.
18914 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18916         [BZ #17658]
18917         * stdlib/setenv.c: Fix memory leak when setting large,
18918         duplicate string.
18920 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18922         [BZ #17273]
18923         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18924         and tabs from buffer before parsing fstab entry.
18925         * misc/tst-mntent.c (main): Add test for mount entry with
18926         trailing spaces and tabs.
18928 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #17748]
18931         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18932         * math/fesetround.c (fesetround): Rename to __fesetround and
18933         define as weak alias of __fesetround.  Use libm_hidden_weak.
18934         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18935         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18936         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18937         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18938         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18939         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18940         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18941         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18942         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18943         __fesetround_inline.
18944         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18945         __fesetround_inline instead of __fesetround.
18946         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18947         __fesetround and define as weak alias of __fesetround.  Use
18948         libm_hidden_weak.  Call __fesetround_inline instead of
18949         __fesetround.
18950         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18951         __fesetround and define as weak alias of __fesetround.  Use
18952         libm_hidden_weak.
18953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18954         Likewise.
18955         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18957         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18958         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18959         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18960         __fesetround and define as weak alias of __fesetround.  Use
18961         libm_hidden_weak.
18962         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18963         __fesetround instead of fesetround.
18964         (default_libc_feholdexcept_setround): Likewise.
18965         (libc_feholdsetround_ctx): Likewise.
18966         (libc_feholdsetround_noex_ctx): Likewise.
18968         [BZ #17748]
18969         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18970         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18971         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18972         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18973         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18974         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18975         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18976         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18977         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18978         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18979         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18980         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18981         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18982         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18983         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18984         libm_hidden_def.
18985         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18986         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18987         Likewise.
18988         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18989         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18990         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18991         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18992         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18993         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18994         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18995         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18996         __fesetenv instead of fesetenv.
18997         (libc_feresetround_noex_ctx): Likewise.
18998         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18999         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19000         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19001         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19002         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19003         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19004         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19005         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19006         (__feupdateenv): Likewise.
19007         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19008         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19009         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19010         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19012 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19014         [BZ #17806]
19015         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19016         addresses have been freed.
19018 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19020         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19021         and nservall.
19023 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19025         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19026         Clean up check_pf allocation pattern. addresses
19028 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19030         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19031         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19032         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19033         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19034         * nptl/pthread_join.c (pthread_join): Likewise.
19035         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19036         * sysdeps/posix/waitid.c (__waitid): Likewise.
19037         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19038         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19039         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19040         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19042         Likewise.
19043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19044         (__libc_pread64): Likewise.
19045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19046         (__libc_pwrite): Likewise.
19047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19048         (__libc_pwrite64): Likewsie.
19049         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19050         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19051         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19052         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19053         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19054         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19055         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19057         Likewise.
19058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19059         (__libc_pread64): Likewise.
19060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19061         Likewise.
19062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19063         (__libc_pwrite64): Likewise.
19064         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19065         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19066         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19067         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19068         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19069         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19070         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19071         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19072         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19073         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19074         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19075         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19076         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19077         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19078         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19079         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19080         Likewise.
19082 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19084         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19085         (CFLAGS-test-double.c): Likewise.
19086         (CFLAGS-test-ldouble.c): Likewise.
19087         (CPPFLAGS-test-ifloat.c): Likewise.
19088         (CPPFLAGS-test-idouble.c): Likewise.
19089         (CPPFLAGS-test-ildoubl.c): Likewise.
19090         (CFLAGS-test-test-fenv.c): Remove variable.
19091         (CFLAGS-test-misc.c): Likewise.
19093 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19095         [BZ #17797]
19096         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19097         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19098         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19099         CLOCKS_PER_SEC == 1000000.
19100         * time/clocktest.c (main): Replace %ld with %jd and cast to
19101         intmax_t.
19103 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19105         * sysdeps/generic/unwind-resume.h: New file.
19106         * sysdeps/gnu/unwind-resume.c: Include it.
19107         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19108         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19109         argument list.
19110         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19111         global rather than static.
19112         (_Unwind_Resume): Update user.
19113         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19114         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19115         rather than static.  Add __attribute__ ((cold)).
19116         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19117         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19118         * sysdeps/arm/arm-unwind-resume.S: New file.
19119         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19120         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19121         * sysdeps/arm/Makefile [$(subdir) = csu]
19122         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19123         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19124         Add rt-arm-unwind-resume.
19125         [$(subdir) = nptl]
19126         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19127         Add pt-arm-unwind-resume.
19128         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19129         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19131 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19133         [BZ #17748]
19134         * include/fenv.h (__feholdexcept): Declare.  Use
19135         libm_hidden_proto.
19136         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19137         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19138         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19139         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19140         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19141         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19142         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19143         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19144         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19145         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19146         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19147         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19148         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19149         (feholdexcept): Likewise.
19150         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19151         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19152         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19153         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19154         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19155         __feholdexcept instead of feholdexcept.
19156         (default_libc_feholdexcept_setround): Likewise.
19158 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19160         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19161         to avoid using stl/str to align destination.
19163 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19165         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19167 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19169         [BZ #17796]
19170         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19171         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19172         Define as weak alias not strong alias.
19174 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19176         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19177         bltzal with addiupc.
19178         (RTLD_START): Ditto.
19180 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19182         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19183         for __vdso_* functions in declarations.
19184         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19185         definitions.
19186         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19187         INTERNAL_VSYSCALL): Use struct return types to check for error.
19189         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19190         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19191         function with cast from llround().
19192         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19193         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19194         Define.
19196 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19198         [BZ #17793]
19199         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19200         Define as weak alias not strong alias.
19202         [BZ #17635]
19203         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19204         ...
19205         * ctype/ctype-extn.c: ... here.
19206         (__isblank_l): Move to ...
19207         * ctype/ctype-c99_l.c: ... here.  New file.
19208         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19209         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19210         Remove variable.
19211         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19212         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19213         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19214         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19215         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19217         [BZ #17777]
19218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19219         (posix_fadvise64): Define as weak alias not strong alias.
19220         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19221         (posix_fallocate64): Likewise.
19222         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19223         Remove variable.
19224         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19225         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19226         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19227         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19228         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19230 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19232         [BZ #16191]
19233         * NEWS: Mention bug fix.
19234         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19235         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19236         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19237         (HOST_STACK_END_ADDR): Likewise.
19239 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19241         [BZ #17748]
19242         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19243         * math/fegetround.c (fegetround): Rename to __fegetround and
19244         define as weak alias of __fegetround.  Use libm_hidden_weak.
19245         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19246         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19247         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19248         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19249         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19250         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19251         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19252         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19253         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19254         Undefine after rather than before function definition; use
19255         parentheses around function name in definition.
19256         (__fegetround): Also undefine macro after function definition.
19257         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19258         __fegetround and define as weak alias of __fegetround.  Use
19259         libm_hidden_weak.  Do not undefine as macro.
19260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19261         Likewise.
19262         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19263         __fegetround and define as weak alias of __fegetround.  Use
19264         libm_hidden_weak.
19265         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19266         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19267         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19268         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19269         __fegetround and define as weak alias of __fegetround.  Use
19270         libm_hidden_weak.
19271         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19272         __fegetround instead of fegetround.
19274         [BZ #17782]
19275         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19276         Condition macro definition on [__USE_MISC].
19278         [BZ #17781]
19279         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19280         (struct sigaction): Change type of sa_flags field to int.
19282         [BZ #17780]
19283         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19284         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19285         __glibc_reserved0.
19287         * nptl/version.c (banner): Use single year in copyright notice.
19289         * NEWS: Update copyright dates.
19290         * catgets/gencat.c (print_version): Likewise.
19291         * csu/version.c (banner): Likewise.
19292         * debug/catchsegv.sh: Likewise.
19293         * debug/pcprofiledump.c (print_version): Likewise.
19294         * debug/xtrace.sh (do_version): Likewise.
19295         * elf/ldconfig.c (print_version): Likewise.
19296         * elf/ldd.bash.in: Likewise.
19297         * elf/pldd.c (print_version): Likewise.
19298         * elf/sotruss.sh: Likewise.
19299         * elf/sprof.c (print_version): Likewise.
19300         * iconv/iconv_prog.c (print_version): Likewise.
19301         * iconv/iconvconfig.c (print_version): Likewise.
19302         * locale/programs/locale.c (print_version): Likewise.
19303         * locale/programs/localedef.c (print_version): Likewise.
19304         * login/programs/pt_chown.c (print_version): Likewise.
19305         * malloc/memusage.sh (do_version): Likewise.
19306         * malloc/memusagestat.c (print_version): Likewise.
19307         * malloc/mtrace.pl: Likewise.
19308         * manual/libc.texinfo: Likewise.
19309         * nptl/version.c (banner): Likewise.
19310         * nscd/nscd.c (print_version): Likewise.
19311         * nss/getent.c (print_version): Likewise.
19312         * nss/makedb.c (print_version): Likewise.
19313         * posix/getconf.c (main): Likewise.
19314         * scripts/test-installation.pl: Likewise.
19315         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19317 2015-01-02  Will Newton  <will.newton@linaro.org>
19319         * sysdeps/arm/armv7/configure: Removed.
19320         * sysdeps/arm/armv7/configure.ac: Likewise.
19322 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19324         * All files with FSF copyright notices: Update copyright dates
19325         using scripts/update-copyrights.
19326         * intl/plural.c: Regenerated.
19327         * locale/programs/charmap-kw.h: Likewise.
19328         * locale/programs/locfile-kw.h: Likewise.
19330 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19332         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
19334 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19336         [BZ #17748]
19337         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
19338         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
19339         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19340         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19341         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19342         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
19343         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19344         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
19345         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19346         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19347         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19348         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19349         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19350         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19351         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
19352         libm_hidden_def.
19353         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
19354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
19355         Likewise.
19356         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
19357         define as weak alias of __fegetenv.  Use libm_hidden_weak.
19358         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19359         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
19360         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
19361         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19362         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
19363         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
19364         __fegetenv instead of fegetenv.
19365         (libc_feholdsetround_noex_ctx): Likewise.
19367 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19369         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
19370         (Elf_MIPS_ABIFlags_v0): New structure.
19371         (EF_MIPS_FP64): Define.
19372         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
19373         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
19374         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
19375         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
19376         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
19377         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
19378         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
19379         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
19380         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
19381         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
19382         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
19383         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
19384         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
19385         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
19386         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
19387         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
19388         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
19389         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
19390         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
19391         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
19392         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
19393         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
19394         field.
19395         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
19396         EF_MIPS_FP64.
19397         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
19398         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
19399         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
19400         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
19401         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
19402         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
19403         * sysdeps/mips/tst-abi-interlink.c: Likewise.
19404         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
19405         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
19406         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
19407         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
19408         record the current FP ABI extension.
19409         (mips-mode-switch): Define to show if kernel headers support mode
19410         switching.
19411         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19412         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
19413         supported SYSV ABI version to 3.
19414         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
19415         feature.
19417 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19418             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19420         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
19421         path.
19422         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
19424 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
19426         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
19427         __fegetround and redefine to call __fegetround.  Remove condition
19428         on [!__NO_MATH_INLINES].
19429         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
19430         function.
19431         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
19432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19433         Remove macro.
19434         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
19435         instead of <fenv_libc.h>.
19436         (__llrintl): Call fegetround instead of __fegetround.
19437         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
19438         instead of <fenv_libc.h>.
19439         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19440         (__lrintl): Call fegetround instead of __fegetround.
19441         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
19442         instead of <fenv_libc.h>.
19443         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19444         (__rintl): Call fegetround instead of __fegetround.
19446 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19448         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
19449         arrays.
19451 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19453         [BZ #17775]
19454         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
19455         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
19456         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
19458 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19460         * sysdeps/i386/tls-macros.h: Include <features.h>.
19461         (TLS_LE): Use non-PIC version for GCC >= 5.0.
19462         (TLS_IE): Likewise.
19463         (TLS_LD): Likewise.
19464         (TLS_GD): Likewise.
19465         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
19466         define for GCC >= 5.0.
19468 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
19470         * math/test-fenv.c (test_single_exception, set_single_exc,
19471         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
19472         feexcp_mask_test, feenable_test, fe_single_test): Add
19473         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
19474         case where they are not used.
19475         * math/libm-test.inc: Likewise.
19476         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
19477         unused in the absence of FP rounding/exception support.
19478         * stdio-common/tst-printf-round.c: Likewise.
19479         * stdlib/tst-strtod-round.c: Likewise.
19480         * stdlib/tst-strtod-underflow.c: Likewise.
19482 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
19484         [BZ #17723]
19485         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19486         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
19487         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19489         libm_hidden_weak.
19490         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
19491         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19492         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
19493         libm_hidden_def.
19494         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19495         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19496         libm_hidden_weak.
19497         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
19498         Likewise.
19499         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19500         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19501         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19502         libm_hidden_weak.
19503         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19504         libm_hidden_def.
19505         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
19507         (__feraiseexcept): Likewise.
19508         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
19509         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
19510         libm_hidden_weak.
19511         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
19512         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
19513         libm_hidden_def.
19514         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
19515         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
19516         Use libm_hidden_def.
19517         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
19518         libm_hidden_def.
19519         (feraiseexcept): Define as weak not strong alias.  Use
19520         libm_hidden_weak.
19521         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
19522         New inline function.  Factored out of ...
19523         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
19524         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
19525         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
19526         feraiseexcept.
19527         * math/w_acos.c (__acos): Likewise.
19528         * math/w_asin.c (__asin): Likewise.
19529         * math/w_ilogb.c (__ilogb): Likewise.
19530         * math/w_j0.c (y0): Likewise.
19531         * math/w_j1.c (y1): Likewise.
19532         * math/w_jn.c (yn): Likewise.
19533         * math/w_log.c (__log): Likewise.
19534         * math/w_log10.c (__log10): Likewise.
19535         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
19536         * sysdeps/aarch64/fpu/math_private.h
19537         (libc_feupdateenv_test_aarch64): Likewise.
19538         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19539         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
19540         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
19541         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19542         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19543         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19544         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
19545         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19546         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19547         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19549 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
19551         [BZ #17732]
19552         * io/test-utime.c (main): Replace %ld with %jd and cast to
19553         intmax_t.
19554         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
19555         * nptl/tst-mutex5.c: Include <stdint.h>.
19556         (do_test): Replace %ld with %jd and cast to intmax_t.
19557         * posix/tst-regex.c (run_test): Likewise.
19558         (run_test_backwards): Likewise.
19559         * rt/tst-clock.c: Include <stdint.h>.
19560         (clock_test): Replace %ld with %jd and cast to intmax_t.
19561         * rt/tst-cpuclock1.c: Include <stdint.h>.
19562         (do_test): Replace %lu with %ju and cast to uintmax_t.
19563         * rt/tst-cpuclock2.c: Include <stdint.h>.
19564         (do_test): Replace %lu with %ju and cast to uintmax_t.
19565         * rt/tst-mqueue1.c: Include <stdint.h>.
19566         (check_attrs): Replace %ld with %jd and cast to intmax_t.
19567         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
19568         intmax_t.
19569         * rt/tst-mqueue4.c (do_test): Likewise.
19570         * rt/tst-timer4.c: Include <stdint.h>.
19571         (check_ts): Replace %ld with %jd and cast to intmax_t.
19572         (do_test): Likewise.
19573         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
19574         and cast to intmax_t.
19575         * sysdeps/pthread/tst-timer.c (main): Likewise.
19576         * time/clocktest.c (main): Likewise.
19577         * time/tst-posixtz.c (do_test): Likewise.
19578         * timezone/tst-timezone.c (main): Likewise.
19580 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19581             H.J. Lu  <hongjiu.lu@intel.com>
19583         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
19584         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
19585         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
19586         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
19587         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
19588         version if bit_Fast_Unaligned_Load is set.
19589         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19590         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19591         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19592         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19593         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19594         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19596         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
19597         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
19598         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
19599         to 4.
19600         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
19601         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
19602         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
19603         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
19605 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
19607         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
19608         instead of #if to avoid a Wundef warning.
19609         * stdlib/tst-limits.c (do_test): Likewise.
19611         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
19612         parallel other exception macros.
19613         (fegetenv): Convert from macro to extern inline so that it applies
19614         retroactively to inline functions already seen by the compiler.
19615         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
19617         * posix/Makefile (before-compile): Use $(objpfx) for
19618         posix-conf-vars-def.h.
19620 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19622         * posix/getconf.c (main): Use size_t for type of I.
19623         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
19624         NSPEC.
19626         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
19627         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
19628         * posix/posix-envs.def: Likewise.
19629         * sysdeps/posix/sysconf.c: Likewise.
19630         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
19631         (specs): Remove array.
19632         * scripts/gen-posix-conf-vars.awk: Support generation of specs
19633         array.
19635         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
19636         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
19637         (__sysconf): Use CONF_IS_* macros.
19639         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
19640         ($(objpfx)posix-conf-vars-def.h): New target.
19641         * posix/posix-conf-vars.list: New file.
19642         * posix/posix-conf-vars.h: New file.
19643         * posix/confstr.c: Include posix-conf-vars.h.
19644         (confstr): Use CONF_IS_* macros.
19645         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
19646         CONF_IS_* macros.
19647         * scripts/gen-posix-conf-vars.awk: New file.
19649 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
19651         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
19652         fegetround): Add no-op macros to avoid linknamespace issues.
19654         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
19655         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
19657         * sysdeps/unix/sysv/linux/tile/sysdep.h
19658         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
19659         assembly-specific section to avoid a redefinition warning.
19661         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
19662         long before casting to pointer to avoid a cast warning.
19664 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
19666         * sysdeps/tile/tilegx/Implies: New file.
19668 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
19670         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
19672 2014-12-23  Florian Weimer  <fweimer@redhat.com>
19674         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
19676 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
19679         not define.
19680         * sysdeps/unix/sysv/linux/utimes.c: Do not include
19681         <kernel-features.h>.
19682         (__utimes) [__NR_utimes]: Make code unconditional.
19683         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
19684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19685         (__ASSUME_UTIMES): Do not undefine.
19686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19687         (__ASSUME_UTIMES): Likewise.
19688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19689         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
19690         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
19691         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
19693 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19695         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
19697 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
19699         [BZ #17747]
19700         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
19701         alias to weak alias for j0l, y0l.
19702         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
19703         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
19705         [BZ #17746]
19706         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
19707         conversion.
19709 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19711         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
19712         to zero if not already defined.
19714 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19716         [BZ #17724]
19717         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
19718         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
19719         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
19720         (char *) casts added.
19721         * sysdeps/ieee754/k_standardf.c: New file.
19722         * sysdeps/ieee754/k_standardl.c: Likewise.
19723         * math/Makefile (libm-support): Remove k_standard.
19724         (libm-calls): Add k_standard.
19726 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19728         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19729         Optimize to avoid an unnecessary FPCR read.
19731 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19733         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19734         Optimize to reduce FPCR/FPSR accesses.
19736 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19738         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
19739         Call libc_fetestexcept_aarch64.
19741 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
19743         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
19744         Call libc_fesetround_aarch64.
19746 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #17733]
19749         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
19750         (__bind): Do not define as weak alias.
19751         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
19752         define.
19753         (__getsockname): Do not define as weak alias.
19755 2014-12-22  Will Newton  <will.newton@linaro.org>
19757         * manual/install.texi: Document that we require bison 2.7
19758         or above.
19759         * INSTALL: Regenerate.
19760         * configure.ac: Use AC_CHECK_PROG_VER instead of
19761         AC_PATH_PROG when checking for bison and check for
19762         version 2.7 or above.
19763         * configure: Regenerate.
19765 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
19767         [BZ #17745]
19768         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
19769         * sysdeps/tile/ffsll.c (ffsll): To here.
19771         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
19773 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19775         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
19776         if not defined.
19777         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
19778         definition.
19779         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19780         hidden ___tls_get_addr.
19781         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
19782         hidden __tls_get_addr.
19783         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
19784         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
19785         Likewise.
19787 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
19789         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
19790         _dl_init call.
19792 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
19794         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
19795         from "call _dl_init@PLT".
19796         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
19798 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
19800         * manual/search.texi: (Array Sort Function): Clarify stable sorting
19801         guarantees.
19803 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
19805         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
19807 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19809         [BZ #17744]
19810         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
19811         strnlen.
19813 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19815         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
19816         of multu on MIPSr6.
19817         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
19818         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
19819         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
19820         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
19821         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
19823 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
19825         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
19826         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
19827         (PTR_SUBU): Use subu for mips32r6/mips64r6.
19828         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
19829         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
19830         mips32r6/mips64r6.
19831         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
19833 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
19835         * string/strncat.c (STRNCAT): Simplify implementation.
19837 2014-12-19  David S. Miller  <davem@davemloft.net>
19839         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
19840         access the quad as both a long double and as a series of 4 words.
19842         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
19843         link_map->l_info array access.
19845 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
19847         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
19849         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
19850         * math/atest-exp2.c (TIMEOUT): Likewise.
19851         * math/atest-sincos.c (TIMEOUT): Likewise.
19853 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19855         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19856         -Wno-error with -fno-builtin-lround.
19858 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19860         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19861         Contains futex constants and functions moved over from ...
19862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19863         <lowlevellock-futex.h>.
19864         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19865         (lll_timedwait_tid): Add comments and parentheses around macro
19866         arguments.
19868 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19870         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19871         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19872         (__lll_private_flag): Remove.
19873         (lll_futex_wait): Likewise.
19874         (lll_futex_timed_wait): Likewise.
19875         (lll_futex_wake): Likewise.
19876         (lll_futex_requeue): Likewise.
19877         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19878         (__lll_timedwait_tid): Spell out argument names.
19879         (lll_timedwait_tid): Add comments and parentheses around macro
19880         arguments.
19881         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19882         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19884 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19886         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19887         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19889         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19890         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19891         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19892         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19893         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19894         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19895         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19896         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19897         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19898         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19899         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19900         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19901         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19902         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19903         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19904         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19906 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19908         * sysdeps/x86_64/x32/Makefile: New file.
19910 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19912         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19913         1L with (mp_limb_t) 1.
19915 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19917         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19918         * nptl/libc_pthread_init.c: ... here.
19919         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19920         * nptl/register-atfork.c: ... here.
19922         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19923         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19924         Use assert_perror to check its return value.
19925         (__gai_create_helper_thread): Likewise.
19927         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19929         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19931 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19933         [BZ #17725]
19934         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19935         __profil_counter.
19936         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19937         Likewise.
19938         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19939         Likewise.
19940         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19941         Likewise.
19942         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19943         (profil_counter): Likewise.
19944         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19945         (profil_counter): Likewise.
19946         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19947         Likewise.
19948         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19949         Likewise.
19950         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19951         (profil_counter): Likewise.
19952         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19953         Likewise.
19954         [!__profil_counter] (profil_counter): Define as weak alias of
19955         __profil_counter.
19956         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19957         (profil_counter): Rename to __profil_counter.
19958         [!__profil_counter] (profil_counter): Define as weak alias of
19959         __profil_counter.
19960         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19961         (profil_counter): Rename to __profil_counter.
19962         [!__profil_counter] (profil_counter): Define as weak alias of
19963         __profil_counter.
19964         * sysdeps/posix/profil.c: Update comment referring to
19965         profil_counter.
19966         (__profil): Use __profil_counter instead of profil_counter.
19967         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19968         __profil_counter.  Use __profil_counter_ushort and
19969         __profil_counter_uint in definitions.
19970         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19971         instead of profil_counter_uint and profil_counter_ushort.
19973         [BZ #17722]
19974         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19975         define as weak alias of __inet_makeaddr.
19976         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19977         as weak alias of __inet_addr.
19978         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19979         as weak alias of __inet_pton.  Use libc_hidden_weak.
19980         * include/arpa/inet.h (__inet_pton): Declare.  Use
19981         libc_hidden_proto.
19982         (inet_makeaddr): Don't use libc_hidden_proto.
19983         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19984         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19985         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19986         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19987         Remove variable.
19988         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19989         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19991 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19993         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19995 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19997         * stdio-common/bug-vfprintf-nargs.c (do_test):
19998         Cast value to intptr_t to avoid format warning
19999         for usage with PRIdPTR printing macro.
20001 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20003         * libio/tst-widetext.c (do_test):
20004         Use format type %td instead of %Zd for ptrdiff_t
20005         in order to avoid format warning.
20007 2014-12-17  Andreas Schwab  <schwab@suse.de>
20009         * nscd/mem.c (gc): Add size_t cast to match printf format.
20011 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20013         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20014         (init): Apply PTR_MANGLE to pointers before storing them.
20015         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20016         before using them.
20018 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #17719]
20021         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20022         define as weak alias of __memrchr.
20023         (__memrchr): Do not define as strong alias of memrchr.
20024         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20025         Remove variable.
20026         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20027         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20028         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20030         [BZ #17717]
20031         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20032         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20033         (if_indextoname): Rename to __if_indextoname and define as weak
20034         alias of __if_indextoname.  Use libc_hidden_weak.
20035         (if_freenameindex): Rename to __if_freenameindex and define as
20036         weak alias of __if_freenameindex.
20037         (if_nameindex): Rename to __if_nameindex and define as weak alias
20038         of __if_nameindex.
20039         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20040         __if_nametoindex and define as weak alias of __if_nametoindex.
20041         Use libc_hidden_weak.
20042         (if_freenameindex): Rename to __if_freenameindex and define as
20043         weak alias of __if_freenameindex.
20044         (if_nameindex): Rename to __if_nameindex and define as weak alias
20045         of __if_nameindex.
20046         (if_indextoname): Rename to __if_indextoname and define as weak
20047         alias of __if_indextoname.  Use libc_hidden_weak.
20048         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20049         __if_nametoindex and define as weak alias of __if_nametoindex.
20050         Use libc_hidden_weak.
20051         (if_freenameindex): Rename to __if_freenameindex and define as
20052         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20053         (if_nameindex_netlink): Use __if_freenameindex instead of
20054         if_freenameindex.
20055         (if_nameindex): Rename to __if_nameindex and define as weak alias
20056         of __if_nameindex.  Use libc_hidden_weak.
20057         (if_indextoname): Rename to __if_indextoname and define as weak
20058         alias of __if_indextoname.  Use libc_hidden_weak.
20059         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20060         libc_hidden_proto.
20061         [!_ISOMAC] (__if_freenameindex): Likewise.
20062         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20063         if_nametoindex.
20064         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20065         variable.
20066         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20067         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20068         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20069         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20070         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20071         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20072         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20074         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20075         Remove variable.
20076         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20077         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20079 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20081         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20082         subscript above bounds'
20084         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20085         bounds.
20087 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20089         * libio/tst-fopenloc.c: Use test-skeleton.c.
20091         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20092         (entry): Rename to ITEM.
20093         (do_test, comp): Adjust.
20095         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20097 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20099         * string/tester.c: Include <libc-internal.h>.
20100         (test_memset): Ignore -Wmemset-transposed-args.
20102 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20104         * misc/tst-mntent2.c (do_test): Fix warning.
20106 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20108         * elf/tst-unique4lib.cc(a): Mark as used.
20110 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20112         [BZ #17630]
20113         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20114         names.
20116 2014-12-16  Allan McRae  <allan@archlinux.org>
20118         * stdio-common/Makefile (tests): Re-add bug26.
20120 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20122         [BZ #17657]
20123         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20124         static array.
20126 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20128         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20129         (__lll_lock_wait): Likewise.
20130         (__lll_timedlock_wait): Likewise.
20131         (__lll_timedwait_tid): Likewise.
20132         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20133         (__lll_robust_timedlock_wait): Likewise.
20134         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20135         (lll_cond_trylock): Likewise.
20136         (__lll_lock): Likewise.
20137         (__lll_robust_lock): Likewise.
20138         (__lll_cond_lock): Likewise.
20139         (lll_robust_cond_lock): Likewise.
20140         (__lll_timedlock): Likewise.
20141         (__lll_robust_timedlock): Likewise.
20142         (__lll_unlock): Likewise.
20143         (__lll_robust_unlock): Likewise.
20144         (lll_wait_tid): Likewise.
20145         (lll_timedwait_tid): Likewise.
20147 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20149         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20151 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20153         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20155 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20157         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20158         * stdio-common/tst-sprintf.c: Likewise.
20160 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20162         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20164 2014-12-15  Jeff Law  <law@redhat.com>
20166         [BZ #16617]
20167         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20168         on the heap.  (CVE-2012-3406)
20169         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20170         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20171         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20173 2014-12-15  Will Newton  <will.newton@linaro.org>
20175         * manual/install.texi: Bump required version of texinfo
20176         to 4.7 from 4.5.
20177         * INSTALL: Regenerated.
20178         * configure.ac: Check for makeinfo version 4.7 and above.
20179         * configure: Regenerated.
20181 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20183         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20184         PREFIX, string constant to insert between directory and name.
20185         * sysdeps/posix/shm_open.c: Update caller.
20186         * sysdeps/posix/shm_unlink.c: Likewise.
20187         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20188         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20189         (SEM_SHM_PREFIX): New macro.
20190         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20191         [$(have-thread-library) = no].
20192         * nptl/Makefile (libpthread-routines): Add shm-directory.
20193         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20194         * sysdeps/nptl/shm-directory.h: New file.
20195         * sysdeps/posix/shm-directory.c
20196         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20197         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20198         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20199         INTERNAL_SYSCALL.
20200         (__where_is_shmfs): Function removed.
20201         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20202         Variables removed.
20203         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20204         Use SHM_GET_NAME.
20205         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20207         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20208         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20209         unconditional for use inside libpthread.
20210         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20212 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20214         * nptl/pthread_getaffinity.c: New file.
20215         * nptl/pthread_setaffinity.c: New file.
20216         * nptl/pthread_getname.c: New file.
20217         * nptl/pthread_setname.c: New file.
20219         * nptl/pthread_create.c (START_THREAD_DEFN)
20220         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20222 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20225         * resolv/res_send.c (send_vc): Disable warning resplen may
20226         be used uninitialized.
20228 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20230         * nptl/tst-mutex6.c
20231         (ATTR_NULL): New define checks ATTR against NULL.
20232         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20233         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20235 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20237         [BZ #17581]
20238         * malloc/hooks.c
20239         (mem2mem_check): Revert my previous change.
20240         (malloc_check_get_size): Revert my previous change.
20241         (mem2chunk_check): Revert my previous change.
20243 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20245         * sysdeps/posix/shm-directory.c: New file.
20246         * sysdeps/posix/shm-directory.h: New file.
20247         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20248         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20249         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20250         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20251         Transmute EPERM to EACCES.
20252         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20253         from ...
20254         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20255         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20257 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20259         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20260         pointer and cast to uintptr_t.
20261         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20262         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20263         Add cast to avoid warning.
20264         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20266 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20268         * nptl/semaphore.h: Move to ...
20269         * sysdeps/pthread/semaphore.h: ... here.
20270         * Makefile (installed-headers): Change nptl/semaphore.h to
20271         sysdeps/pthread/semaphore.h.
20273 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20275         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20276         generated error format strings.
20278         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20279         -Wformat-extra-args warnings for scanf formats.
20280         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20281         test of zero-length format (duh).
20282         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20283         corner-case scanf format test.
20284         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20285         generated fprintf format string.
20286         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20287         corner-case sprintf format tests.
20288         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20289         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20290         -Wformat-extra-args warnings throughout.
20291         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20292         (CFLAGS-scanf4.c): Likewise.
20293         (CFLAGS-scanf7.c): Likewise.
20294         (CFLAGS-tst-sprintf.c): Likewise.
20295         (CFLAGS-tst-printf.c): Likewise.
20296         (CFLAGS-tst-printfsz.c): Likewise.
20298 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20300         * include/cpio.h: New file.
20301         * include/fmtmsg.h: Likewise.
20303         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20304         corresponding format argument to size_t.
20305         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20306         arguments.
20307         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20308         corresponding format argument to size_t.
20309         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20310         arguments.
20311         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20312         corresponding format argument to size_t.
20313         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20314         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20315         (CFLAGS-tst-mbswcs2.c): Likewise.
20316         (CFLAGS-tst-mbswcs3.c): Likewise.
20317         (CFLAGS-tst-mbswcs4.c): Likewise.
20318         (CFLAGS-tst-mbswcs5.c): Likewise.
20319         (CFLAGS-tst-trans.c): Likewise.
20321 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20323         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20324         rather than assuming they won't contain any '%'s.
20326 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
20328         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
20329         inhibit_loop_to_libcall to avoid recursive calls.
20330         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
20331         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
20333 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20335         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
20336         prototype.
20338 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20340         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
20341         integer value instead of boolean.
20343 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
20345         * malloc/malloc.c: Fix powerof2 check.
20347 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20349         * locale/programs/locfile.h (maybe_swap_uint32):
20350         Remove inline and add unused attribute.
20352 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20354         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20355         Truncating assembler expression to a .long expression.
20357 2014-12-11  Andreas Schwab  <schwab@suse.de>
20359         * elf/rtld.c (struct map_args): Constify str member.
20360         (do_preload): Constify fname argument.
20362 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
20365         constants definition.
20367 2014-12-11  Andreas Schwab  <schwab@suse.de>
20369         [BZ #16657]
20370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
20371         FORCE_ELISION instead of DO_ELISION.
20372         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
20373         Remove.
20374         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
20375         Likewise.
20377         * iconvdata/gconv-modules: Remove duplicate entry.
20379 2014-12-11  Will Newton  <will.newton@linaro.org>
20381         Merge gettext 0.19.3 into intl/.
20383         This involves a number of cosmetic changes to comments
20384         and ANSI function definitions and prototypes throughout
20385         all the files. The gettext copyright header is used but
20386         with the date ranges taken from the glibc copy.
20388         * NEWS: Add gettext merge to 2.21.
20389         * intl/bindtextdom.c: Switch to gettext copyright.
20390         Use ANSI definitions and prototypes.
20391         Use gl_* locking primitives rather than __libc_* ones.
20392         Use __builtin_expect rather than __glibc_likely/unlikely.
20393         * intl/dcgettext.c: Switch to gettext copyright.
20394         Use ANSI definitions and prototypes.
20395         * intl/dcigettext.c: Switch to gettext copyright.
20396         Use ANSI definitions and prototypes.
20397         (INTDIV0_RAISES_SIGFPE): New define.
20398         Use gl_* locking primitives rather than __libc_* ones.
20399         Include eval-plural.h instead of plural-eval.c.
20400         Use __builtin_expect rather than __glibc_likely/unlikely.
20401         * intl/dcngettext.c: Switch to gettext copyright.
20402         Use ANSI definitions and prototypes.
20403         * intl/dgettext.c: Likewise.
20404         * intl/dngettext.c: Likewise.
20405         * intl/plural-eval.c: Renamed to...
20406         * intl/eval-plural.h: ...this.
20407         * intl/explodename.c: Switch to gettext copyright.
20408         Use ANSI definitions and prototypes.
20409         (_nl_explode_name): Use strchr instead of __rawmemchr.
20410         * intl/finddomain.c: Switch to gettext copyright.
20411         Use ANSI definitions and prototypes.
20412         Use gl_* locking primitives rather than __libc_* ones.
20413         (_nl_find_domain): Use malloc rather than alloca for
20414         allocation of temporary locale name.
20415         * intl/gettext.c: Switch to gettext copyright.
20416         Use ANSI definitions and prototypes.
20417         * intl/gettextP.h: Switch to gettext copyright.
20418         Use ANSI definitions and prototypes.
20419         Use gl_* locking primitives rather than __libc_* ones.
20420         * intl/gmo.h: Switch to gettext copyright.
20421         (struct sysdep_string): Move struct segment_pair outside of
20422         struct definition.
20423         * intl/hash-string.c: Use ANSI definitions and prototypes.
20424         * intl/hash-string.h: Switch to gettext copyright.
20425         Use ANSI definitions and prototypes.
20426         * intl/l10nflist.c: Switch to gettext copyright.
20427         Use ANSI definitions and prototypes.
20428         (_nl_normalize_codeset): Avoid integer overflow.
20429         * intl/loadinfo.h: Switch to gettext copyright.
20430         Use ANSI definitions and prototypes.
20431         (LIBINTL_DLL_EXPORTED): New define.
20432         (PATH_SEPARATOR): New define.
20433         * intl/loadmsgcat.c: Switch to gettext copyright.
20434         * intl/localealias.c: Switch to gettext copyright.
20435         Use ANSI definitions and prototypes.
20436         (_nl_expand_alias): Use PATH_SEPARATOR.
20437         * intl/ngettext.c: Switch to gettext copyright.
20438         Use ANSI definitions and prototypes.
20439         * intl/plural-exp.c: Likewise.
20440         * intl/plural-exp.h: Switch to gettext copyright.
20441         Use ANSI definitions and prototypes.
20442         (struct expression): Move definition of enum operator outside
20443         of struct definition.
20444         * intl/plural.c: Regenerate.
20445         * intl/plural.y: Switch to gettext copyright.
20446         Use ANSI definitions and prototypes.
20447         Port to bison 3.0.
20448         * intl/textdomain.c: Switch to gettext copyright.
20449         Use ANSI definitions and prototypes.
20450         Use gl_* locking primitives rather than __libc_* ones.
20452 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
20454         * debug/warning-nop.c: Add used atrribute.
20456 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20458         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
20460         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
20461         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
20462         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
20464 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20467         [BZ #17634]
20468         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
20469         Undefine after defining function.  Define as weak alias of
20470         __wcschr.  Use libc_hidden_weak.
20471         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
20472         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
20473         (libc_hidden_def): Also define __GI___wcschr alias.
20474         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
20475         __wcschr and define as weak alias of __wcschr.
20476         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
20477         __wcschr.
20478         [!WCSCHR] (DEFAULT_WCSCHR): Define.
20479         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
20480         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
20481         libc_hidden_weak.  Do not use libc_hidden_def.
20482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
20483         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
20484         __GI___wcschr alias.
20485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
20486         [IS_IN (libc)] (wcschr): Define as macro expanding to
20487         __redirect_wcschr.
20488         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
20489         [IS_IN (libc)] (__wcschr_power6): Likewise.
20490         [IS_IN (libc)] (__wcschr_power7): Likewise.
20491         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
20492         instead of wcschr.
20493         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
20494         __libc_wcschr.
20495         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
20496         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
20497         __wcschr and define as weak alias of __wcschr.  Use
20498         libc_hidden_builtin_def.
20499         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
20500         as weak alias of __wcschr.  Use libc_hidden_weak.
20501         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
20502         wcschr.
20503         * time/era.c (_nl_init_era_entries): Likewise.
20504         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
20505         variable.
20506         (test-xfail-XPG3/time.h/linknamespace): Likewise.
20507         (test-xfail-XPG4/time.h/linknamespace): Likewise.
20509 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20511         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
20512         format for long int variable.
20514 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
20516         [BZ #10672]
20517         * manual/search.texi: (Array Sort Function): Remove claim how to make
20518         qsort stable.
20520 2014-12-10  Andreas Schwab  <schwab@suse.de>
20522         [BZ #12847]
20523         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
20524         user-controlled locks.
20526 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
20528         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
20529         register.
20531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
20533         * configure.ac (--disable-werror): New configure option.
20534         (enable_werror): New AC_SUBST.
20535         * configure: Regenerated.
20536         * config.make.in (enable-werror): New variable.
20537         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
20538         -Wno-error=undef.
20539         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
20540         * manual/install.texi (Configuring and compiling): Document
20541         --disable-werror.
20542         * INSTALL: Regenerated.
20543         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
20544         (CFLAGS-tst-chk2.c): Likewise.
20545         (CFLAGS-tst-chk3.c): Likewise.
20546         (CFLAGS-tst-chk4.cc): Likewise.
20547         (CFLAGS-tst-chk5.cc): Likewise.
20548         (CFLAGS-tst-chk6.cc): Likewise.
20549         (CFLAGS-tst-lfschk1.c): Likewise.
20550         (CFLAGS-tst-lfschk2.c): Likewise.
20551         (CFLAGS-tst-lfschk3.c): Likewise.
20552         (CFLAGS-tst-lfschk4.cc): Likewise.
20553         (CFLAGS-tst-lfschk5.cc): Likewise.
20554         (CFLAGS-tst-lfschk6.cc): Likewise.
20556         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
20557         (main): Disable -Wdeprecated-declarations around calls to
20558         register_printf_function.
20560         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
20561         (do_test): Disable -Wdiv-by-zero around some calls to
20562         fwrite_unlocked and fread_unlocked.
20564         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
20565         (DIAG_POP_NEEDS_COMMENT): Likewise.
20566         (_DIAG_STR1): Likewise.
20567         (_DIAG_STR): Likewise.
20568         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
20569         * stdio-common/bug21.c: Include <libc-internal.h>.
20570         (do_test): Disable -Wformat around call to sscanf.
20571         * stdio-common/scanf14.c: Include <libc-internal.h>.
20572         (main): Disable -Wformat around some calls to scanf functions.
20574 2014-12-09  Torvald Riegel  <triegel@redhat.com>
20576         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
20578 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20580         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
20581         stack variable alignment.
20583 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
20585         [BZ #17682]
20586         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
20587         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
20588         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
20589         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
20590         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
20591         __getrlimit instead of getrlimit.
20592         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
20593         __gettimeofday instead of gettimeofday.
20594         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20595         Likewise.
20596         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20597         Likewise.
20598         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
20599         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
20600         Remove variable.
20601         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
20602         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
20604 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20606         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
20607         for wide-character tests.
20609 2014-12-04  Roland McGrath  <roland@hack.frob.com>
20611         * io/openat64.c: #include <libc-internal.h>
20612         (__openat64): Prototypify.  Use ignore_value on MODE.
20613         * io/openat.c: Likewise.
20614         * misc/reboot.c: #include <libc-internal.h>
20615         (reboot): Prototypify.  Use ignore_value on HOWTO.
20616         * misc/ptrace.c: #include <libc-internal.h>
20617         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
20619 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
20621         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
20622         XPG4, UNIX98 and XOPEN2K.
20623         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
20624         Remove variable.
20625         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
20627 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20629         * libio/fileops.c: Use ISO C style for function definitions.
20630         * libio/iofopen.c: Likewise.
20631         * libio/wfileops.c: Likewise.
20633         [BZ #17653]
20634         * libio/fileops.c (_IO_new_file_underflow): Unset cached
20635         offset on EOF.
20636         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20637         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
20638         (fgets_func): Function pointer to fgets and fgetws.
20639         (do_ftell_test): Add test to verify ftell value after read
20640         EOF.
20641         (do_test): Set fgets_func.
20643         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
20644         O_TRUNC flag for w and w+ modes.
20645         (do_rewind_test): Likewise.
20646         (do_ftell_test): Likewise.
20647         (do_write_test): Likewise.
20649         [BZ #17647]
20650         * libio/fileops.c (do_ftell): Seek only when there are
20651         unflushed writes.
20652         * libio/wfileops.c (do_ftell_wide): Likewise.
20653         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
20654         test case.
20655         (do_one_test): Call it.
20657 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
20659         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
20660         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
20661         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
20662         Remove variable.
20663         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
20664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
20665         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
20667 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20669         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
20670         Remove variable.
20671         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
20673         [BZ #17668]
20674         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
20675         as weak alias of __getifaddrs.  Use libc_hidden_weak.
20676         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20677         __freeifaddrs.  Use libc_hidden_weak.
20678         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
20679         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
20680         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20681         __freeifaddrs.  Use libc_hidden_weak.
20682         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
20683         __getifaddrs and define as weak alias of __getifaddrs.  Use
20684         libc_hidden_weak.
20685         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
20686         __freeifaddrs.  Use libc_hidden_weak.
20687         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
20688         Remove variable.
20689         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
20690         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
20692 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
20694         [BZ #17601]
20695         * sysdeps/mips/start.S (__start): Use indirect jump to call
20696         __libc_start_main.
20698 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
20700         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
20702         * nptl/tst-mutex1.c: Include <stdbool.h>.
20703         [!ATTR] (ATTR_NULL): New macro.
20704         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
20705         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
20706         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
20708         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
20709         to char *.
20711         [BZ #17665]
20712         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
20713         Change conditional to [__USE_MISC].
20715         [BZ #17664]
20716         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
20717         fgets_unlocked.
20718         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
20719         __fgets_unlocked.
20720         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
20721         fgets_unlocked.
20722         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
20723         Remove variable.
20724         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
20725         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
20726         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
20727         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
20728         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
20729         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
20730         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
20731         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
20732         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
20734         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
20736 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20738         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20739         Remove strpbrk objects.
20740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20741         (__libc_ifunc_impl_list): Remove strpbrk implementation.
20742         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
20743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
20744         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
20745         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
20747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20748         Remove strcspn objects.
20749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20750         (__libc_ifunc_impl_list): Remove strcspn implementation.
20751         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
20752         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
20753         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
20754         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
20756         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20757         Remove strspn objetcs.
20758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20759         (__libc_ifunc_impl_list): Remove strspn implementation.
20760         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
20761         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20762         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
20763         * sysdeps/powerpc/powerpc64/strspn.S: New file.
20765 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
20767         [BZ #17581]
20768         * malloc/hooks.c
20769         (mem2mem_check): Add a terminator to the chain of checking blocks.
20770         (malloc_check_get_size): Use it here.
20771         (mem2chunk_check): Ditto.
20773 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20775         * sysdeps/powerpc/powerpc64/strtok.S: New file.
20776         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
20778 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
20780         * bits/ioctl-types.h: Indent preprocessor directives correctly.
20782         * nptl/nptl-init.c: Include libc-internal.h.
20783         (__pthread_initialize_minimal_internal): Use ROUND_UP.
20785         * elf/ldconfig.c (search_dir): Expand comment.
20787 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
20789         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
20790         variable.
20791         (linknamespace-symlist-stdlibs-tests): Likewise.
20792         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
20793         instead of $(objpfx)symlist-stdlibs.
20794         (linknamespace-libs-isoc): New variable.
20795         (linknamespace-libs): Use $(linknamespace-libs-isoc).
20796         (linknamespace-libs-ISO): New variable.
20797         (linknamespace-libs-ISO99): Likewise.
20798         (linknamespace-libs-ISO11): Likewise.
20799         (linknamespace-libs-XPG3): Likewise.
20800         (linknamespace-libs-XPG4): Likewise.
20801         (linknamespace-libs-POSIX): Likewise.
20802         (linknamespace-libs-UNIX98): Likewise.
20803         (linknamespace-libs-XOPEN2K): Likewise.
20804         (linknamespace-libs-POSIX2008): Likewise.
20805         (linknamespace-libs-XOPEN2K8): Likewise.
20806         ($(objpfx)symlist-stdlibs): Replace by
20807         $(linknamespace-symlist-stdlibs-tests).  Use
20808         $(linknamespace-libs-$*) as set of libraries.
20809         ($(linknamespace-header-tests)): Update dependencies.  Use
20810         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
20811         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
20812         * conform/linknamespace.pl: Remove comment about considering
20813         definitions of symbols from irrelevant libraries.
20815 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
20817         [BZ #13862]
20818         * elf/dl-tls.c: Include <atomic.h>.
20819         (oom): Remove #ifdef SHARED/#endif.
20820         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
20821         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
20822         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
20823         big enough.
20824         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
20825         * nptl/Makefile (tests): Add tst-stack4.
20826         (modules-names): Add tst-stack4mod.
20827         ($(objpfx)tst-stack4): New.
20828         (tst-stack4mod.sos): Likewise.
20829         ($(objpfx)tst-stack4.out): Likewise.
20830         ($(tst-stack4mod.sos)): Likewise.
20831         (clean): Likewise.
20832         * nptl/tst-stack4.c: New file.
20833         * nptl/tst-stack4mod.c: Likewise.
20835 2014-11-27  J. Brown  <jb999@gmx.de>
20837         * sysdeps/x86/bits/string.h: Add recent CPUs.
20839 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20841         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
20842         sigblock.
20844         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
20845         feof.
20847         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
20848         variable.
20850 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20852         * nscd/connections.c: Include libc-internal.h because of macro
20853         usage ignore_value.
20855 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20857         * string/bits/string3.h (__warn_memset_zero_len): Don't
20858         declare for gcc newer than 5.0.
20859         (memset): Don't test for zero-length __LEN for gcc newer than
20860         5.0.
20862 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20864         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20865         size_t for %zu format.
20867         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20868         difference, not %ju.
20870 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20872         * include/libc-internal.h (ignore_value): New macro.
20873         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20874         with ignore_value.
20876         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20877         definition.
20879         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20880         pthread_cleanup_push to void *.
20882         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20883         Undefine.
20885         [BZ #16619]
20886         [BZ #16740]
20887         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20888         instead of 1L << 52.
20890         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20891         * libio/bug-rewind2.c (do_test): Likewise.
20893         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20894         * debug/test-strcpy_chk-ifunc.c: Likewise.
20895         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20896         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20897         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20898         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20899         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20900         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20901         * Rules [$(multi-arch) = no] (tests): Do not filter out
20902         $(tests-ifunc).
20903         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20904         * debug/Makefile (tests-ifunc): Remove variable.
20905         (tests): Do not add $(tests-ifunc).
20906         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20907         (tests): Do not add $(tests-ifunc).
20908         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20909         [TEST_IFUNC]: Remove conditionals.
20910         * string/test-string.h (TEST_IFUNC): Remove macro.
20911         [TEST_IFUNC]: Remove conditionals.
20913         * string/test-strchr.c [!WIDE] (L): New macro.
20914         [WIDE] (L): Likewise.
20915         (check1): Use CHAR instead of char.  Use L on string and character
20916         constants.
20918 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20920         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20921         tests.
20922         * sysdeps/powerpc/bits/atomic.h
20923         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20924         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20925         (atomic_exchange_and_add_acq): Likewise.
20926         (atomic_exchange_and_add_rel): Likewise.
20927         * sysdeps/powerpc/powerpc32/bits/atomic.h
20928         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20929         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20930         * sysdeps/powerpc/powerpc64/bits/atomic.h
20931         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20932         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20934 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20936         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20937         Change synchronization of __sched_fifo_min_prio and
20938         __sched_fifo_max_prio.
20939         * nptl/pthread_mutexattr_getprioceiling.c
20940         (pthread_mutexattr_getprioceiling): Likewise.
20941         * nptl/pthread_mutexattr_setprioceiling.c
20942         (pthread_mutexattr_setprioceiling): Likewise.
20943         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20944         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20945         Likewise.
20947 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20949         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20950         void.
20952 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20954         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20955         third argument const.
20957 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20959         fnmatch: work around GCC compiler warning bug with uninit var
20960         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20961         This works around a bug with x86-64 GCC 4.9.2 and earlier
20962         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20963         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20964         used uninitialized in this function [-Wmaybe-uninitialized]".
20966 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20968         * posix/bug-regex31.c (main): Return RES not 0.
20970 2014-11-25  Anton Blanchard <anton@samba.org>
20972         * sysdeps/powerpc/bits/atomic.h
20973         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20975 2014-11-24  Sterling Augustine  <saugustine@google.com>
20977         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20979 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20981         [BZ #17608]
20982         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20984 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20986         [BZ #17633]
20987         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20988         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20989         variable.
20990         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20991         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20993 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20995         * string/strncpy.c (strncpy): Improve performance by using memset.
20997 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20999         * string/strcpy.c (strcpy):
21000         Improve performance by using strlen and memcpy.
21002 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21004         * string/strcoll_l.c (get_next_seq): __always_inline.
21005         * string/strcoll_l.c (do_compare): __always_inline.
21007 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21009         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21010         defined.
21011         * include/mqueue.h: Likewise.
21012         * include/stdlib.h: Likewise.
21014         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21015         (get_null_defines): Adjust.
21016         * sunrpc/Makefile: Adjust comment.
21017         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21018         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21019         (CFLAGS-interp.c): Likewise.
21020         (CFLAGS-ldconfig.c): Likewise.
21021         (CPPFLAGS-.os): Likewise.
21022         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21023         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21024         * extra-modules.mk (extra-modules.mk): Likewise.
21025         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21026         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21027         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21028         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21029         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21030         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21031         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21032         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21033         * iconvdata/Makefile (CPPFLAGS): Likewise.
21034         (cpp-srcs-left): Add libof for all iconvdata routines.
21035         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21036         * include/assert.h: Likewise.
21037         * include/ctype.h: Likewise.
21038         * include/errno.h: Likewise.
21039         * include/libc-symbols.h: Likewise.
21040         * include/math.h: Likewise.
21041         * include/netdb.h: Likewise.
21042         * include/resolv.h: Likewise.
21043         * include/stdio.h: Likewise.
21044         * include/stdlib.h: Likewise.
21045         * include/string.h: Likewise.
21046         * include/sys/stat.h: Likewise.
21047         * include/wctype.h: Likewise.
21048         * intl/l10nflist.c: Likewise.
21049         * libidn/idn-stub.c: Likewise.
21050         * libio/libioP.h: Likewise.
21051         * nptl/libc_multiple_threads.c: Likewise.
21052         * nptl/pthreadP.h: Likewise.
21053         * posix/regex_internal.h: Likewise.
21054         * resolv/res_hconf.c: Likewise.
21055         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21056         * sysdeps/arm/memmove.S: Likewise.
21057         * sysdeps/arm/sysdep.h: Likewise.
21058         * sysdeps/generic/_itoa.h: Likewise.
21059         * sysdeps/generic/symbol-hacks.h: Likewise.
21060         * sysdeps/gnu/errlist.awk: Likewise.
21061         * sysdeps/gnu/errlist.c: Likewise.
21062         * sysdeps/i386/i586/memcpy.S: Likewise.
21063         * sysdeps/i386/i586/memset.S: Likewise.
21064         * sysdeps/i386/i686/memcpy.S: Likewise.
21065         * sysdeps/i386/i686/memmove.S: Likewise.
21066         * sysdeps/i386/i686/mempcpy.S: Likewise.
21067         * sysdeps/i386/i686/memset.S: Likewise.
21068         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21069         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21070         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21071         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21072         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21073         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21074         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21075         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21076         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21078         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21079         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21080         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21081         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21082         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21083         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21084         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21085         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21086         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21093         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21094         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21096         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21097         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21098         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21099         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21100         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21101         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21103         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21104         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21105         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21108         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21109         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21111         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21114         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21115         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21116         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21118         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21119         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21120         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21121         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21122         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21123         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21124         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21125         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21126         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21127         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21128         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21129         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21130         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21131         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21132         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21133         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21134         * sysdeps/posix/closedir.c: Likewise.
21135         * sysdeps/posix/opendir.c: Likewise.
21136         * sysdeps/posix/readdir.c: Likewise.
21137         * sysdeps/posix/rewinddir.c: Likewise.
21138         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21139         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21140         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21141         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21142         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21145         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21146         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21147         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21148         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21149         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21150         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21151         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21152         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21153         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21154         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21155         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21156         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21158         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21159         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21160         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21163         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21166         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21173         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21174         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21175         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21176         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21177         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21178         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21179         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21180         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21182         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21183         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21184         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21185         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21186         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21187         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21188         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21189         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21193         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21195         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21196         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21197         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21198         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21199         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21201         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21202         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21203         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21204         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21205         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21206         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21207         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21208         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21209         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21210         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21211         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21212         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21213         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21214         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21215         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21216         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21217         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21218         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21220         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21222         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21225         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21226         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21227         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21228         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21229         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21230         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21232         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21233         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21234         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21236         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21237         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21239         * sysdeps/unix/alpha/sysdep.S: Likewise.
21240         * sysdeps/unix/alpha/sysdep.h: Likewise.
21241         * sysdeps/unix/make-syscalls.sh: Likewise.
21242         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21244         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21245         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21247         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21248         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21249         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21250         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21251         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21252         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21253         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21256         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21257         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21258         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21259         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21260         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21261         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21262         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21263         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21264         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21265         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21266         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21267         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21268         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21271         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21280         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21281         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21283         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21284         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21285         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21286         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21289         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21292         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21293         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21294         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21295         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21297         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21298         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21300         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21301         * sysdeps/x86_64/memcpy.S: Likewise.
21302         * sysdeps/x86_64/memmove.c: Likewise.
21303         * sysdeps/x86_64/memset.S: Likewise.
21304         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21305         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21306         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21307         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21308         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21311         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21312         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21313         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21316         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21317         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21318         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21319         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21321         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21322         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21323         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21324         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
21325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21326         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21327         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21328         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21329         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21330         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21331         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
21332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21333         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21334         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
21335         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21336         * sysdeps/x86_64/strcmp.S: Likewise.
21338         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
21340         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
21341         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
21342         * elf/rtld-Rules: Likewise.
21343         * elf/setup-vdso.h: Likewise.
21344         * include/assert.h: Likewise.
21345         * include/bits/stdlib-float.h: Likewise.
21346         * include/errno.h: Likewise.
21347         * include/sys/stat.h: Likewise.
21348         * include/unistd.h: Likewise.
21349         * sysdeps/aarch64/setjmp.S: Likewise.
21350         * sysdeps/alpha/setjmp.S: Likewise.
21351         * sysdeps/arm/__longjmp.S: Likewise.
21352         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
21353         * sysdeps/arm/setjmp.S: Likewise.
21354         * sysdeps/arm/sysdep.h: Likewise.
21355         * sysdeps/generic/_itoa.h: Likewise.
21356         * sysdeps/generic/dl-sysdep.h: Likewise.
21357         * sysdeps/generic/ldsodefs.h: Likewise.
21358         * sysdeps/i386/dl-tls.h: Likewise.
21359         * sysdeps/i386/setjmp.S: Likewise.
21360         * sysdeps/m68k/setjmp.c: Likewise.
21361         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
21362         * sysdeps/mach/hurd/opendir.c: Likewise.
21363         * sysdeps/posix/getcwd.c: Likewise.
21364         * sysdeps/posix/opendir.c: Likewise.
21365         * sysdeps/posix/profil.c: Likewise.
21366         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21367         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21368         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21369         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21370         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
21372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21373         * sysdeps/s390/dl-tls.h: Likewise.
21374         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21375         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21376         * sysdeps/sh/sh3/setjmp.S: Likewise.
21377         * sysdeps/sh/sh4/setjmp.S: Likewise.
21378         * sysdeps/unix/alpha/sysdep.h: Likewise.
21379         * sysdeps/unix/arm/sysdep.S: Likewise.
21380         * sysdeps/unix/i386/sysdep.S: Likewise.
21381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21382         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21383         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21384         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21386         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21387         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21389         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21390         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21391         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21392         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21396         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21399         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21400         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21401         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21404         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21405         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21409         * sysdeps/x86_64/setjmp.S: Likewise.
21411         * include/math.h: Use IS_IN instead of IS_IN_libm.
21412         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
21413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21414         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21415         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21416         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21417         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21418         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21419         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21420         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21421         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21422         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
21423         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
21424         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
21425         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
21426         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
21427         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
21428         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
21429         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
21430         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
21431         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
21432         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
21433         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
21434         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
21435         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
21436         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
21437         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
21438         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
21439         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
21440         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
21441         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
21442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
21443         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21444         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
21446         Likewise.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
21448         Likewise.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
21450         Likewise.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
21452         Likewise.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
21454         Likewise.
21455         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21456         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
21457         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
21462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
21463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
21464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
21465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
21466         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
21467         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
21468         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21469         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21470         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21471         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21472         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21473         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21474         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21475         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
21476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
21477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
21478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
21479         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
21480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21481         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
21483         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
21484         * nptl/pthreadP.h: Likewise.
21485         * nptl_db/structs.def: Likewise.
21486         * sysdeps/arm/sysdep.h: Likewise.
21487         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21488         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21489         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
21490         * sysdeps/unix/alpha/sysdep.h: Likewise.
21491         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21492         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21498         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21500         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21501         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21502         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21503         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21504         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21509         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21512         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21513         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21515         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
21516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21518         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
21519         * nptl/pthreadP.h: Likewise.
21520         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21521         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21522         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21523         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21525         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21527         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21528         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21529         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21530         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21531         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21533         Likewise.
21534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21535         Likewise.
21536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21538         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21541         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21542         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21543         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21545         * dlfcn/dladdr.c: Use IS_IN.
21546         * dlfcn/dladdr1.c: Likewise.
21547         * dlfcn/dlclose.c: Likewise.
21548         * dlfcn/dlerror.c: Likewise.
21549         * dlfcn/dlinfo.c: Likewise.
21550         * dlfcn/dlmopen.c: Likewise.
21551         * dlfcn/dlopen.c: Likewise.
21552         * dlfcn/dlsym.c: Likewise.
21553         * dlfcn/dlvsym.c: Likewise.
21555         * include/ifaddrs.h: Use IS_IN.
21556         * inet/check_pf.c: Likewise.
21557         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21558         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
21560         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
21561         IS_IN_ldconfig.
21562         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21563         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
21565         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
21566         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
21567         IS_IN (libc).
21569         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
21571         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
21572         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21573         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21574         * include/libc-symbols.h (IS_IN_LIB): New macro.
21575         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
21576         * include/netdb.h: Likewise.
21577         * include/stap-probe.h: Remove all uses of IN_LIB.
21579         * Makeconfig (module-cppflags-real): Define MODULE_NAME
21580         instead of IN_MODULE.
21581         * include/libc-symbols.h (IN_MODULE): Define using
21582         MODULE_NAME.
21583         (PASTE_NAME, PASTE_NAME1): New macros.
21584         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
21585         of IN_LIB.
21586         (STAP_PROBE_ASM): Likewise.
21588 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21590         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
21591         __mach_init in dlopened libc.
21593 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
21595         * sysdeps/arm/preconfigure.ac: Delete EABI check.
21596         * sysdeps/arm/preconfigure: Regenerate.
21598 2014-11-21  Roland McGrath  <roland@hack.frob.com>
21600         * nptl/pthread_create.c (__pthread_create_2_1): Set
21601         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
21602         when copying values from IATTR into PD.
21604 2014-11-21  Will Newton  <will.newton@linaro.org>
21605             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
21607         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
21608         Refactor inline-asm.  Also add comment.
21610         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
21611         ElfW macro instead of hardcoded Elf64 types.
21612         (la_aarch64_gnu_pltenter): Likewise.
21613         * sysdeps/aarch64/dl-machine.h
21614         (elf_machine_runtime_setup): Use ElfW(Addr).
21616         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
21617         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
21618         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
21619         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
21620         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
21621         (R_AARCH64_TLS_DTPMOD64): Rename to ..
21622         (R_AARCH64_TLS_DTPMOD): This.
21623         (R_AARCH64_TLS_DTPREL64): Rename to ...
21624         (R_AARCH64_TLS_DTPREL): This.
21625         (R_AARCH64_TLS_TPREL64): Rename to ...
21626         (R_AARCH64_TLS_TPREL): This.
21627         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
21628         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
21629         R_AARCH64_TLS_TPREL64.
21630         (elf_machine_rela): Likewise.
21632 2014-11-21  Torvald Riegel  <triegel@redhat.com>
21634         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
21635         by setting it to 0.  64b atomics are not supported currently.
21637 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21639         [BZ #16469]
21640         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
21641         search domain names.
21643 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21645         [BZ #16469]
21646         * NEWS: Update.
21647         * resolv/res_query.c (__libc_res_nquerydomain): Retain
21648         trailing dot.
21649         * posix/tst-getaddrinfo5.c: New.
21650         * posix/Makefile (tests): Add it.
21652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21654         [BZ #14498]
21655         * NEWS: Fixed.
21656         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21657         after parsing line but before break_if_match.
21658         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
21659         if there is a protocol mismatch.
21661 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
21663         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
21664         because the potential race is on the user-supplied stream.
21666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21668         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
21669         string literal if not passed a buffer.
21670         * manual/job.texi (ctermid): Update reasoning, note deviation
21671         from posix, suggest mtasurace when not passed a buffer, for
21672         future non-preliminary safety notes.
21674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21676         * manual/users.texi (cuserid): Fix MT-Safety note for the case
21677         of not passing it a buffer.
21678         Reported by Peng Haitao.
21680 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
21682         * manual/Makefile ($(objpfx)stamp-summary): Require
21683         check-safety.sh to pass.
21684         * manual/check-safety.sh: Wish for verification that every
21685         @deftypefn and @deftypefun is followed by a @safety remark.
21687 2014-11-20  Roland McGrath  <roland@hack.frob.com>
21689         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
21691         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
21692         PTHREAD_CANCEL_ASYNCHRONOUS.
21693         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
21694         send SIGCANCEL.
21696         * nptl/default-sched.h: New file.
21697         * sysdeps/unix/sysv/linux/default-sched.h: New file.
21698         * nptl/pthread_create.c: Include it.
21699         (__pthread_create_2_1): Use collect_default_sched instead of making
21700         Linux syscalls here directly.
21702 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21704         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
21705         __pthread_once): Use C11 atomics.
21707 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21709         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
21711 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21713         * include/atomic.h (__atomic_link_error, __atomic_check_size,
21714         atomic_thread_fence_acquire, atomic_thread_fence_release,
21715         atomic_thread_fence_seq_cst, atomic_load_relaxed,
21716         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
21717         atomic_compare_exchange_weak_relaxed,
21718         atomic_compare_exchange_weak_acquire,
21719         atomic_compare_exchange_weak_release,
21720         atomic_exchange_acquire, atomic_exchange_release,
21721         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
21722         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
21723         atomic_fetch_and_acquire,
21724         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
21726 2014-11-20  Torvald Riegel  <triegel@redhat.com>
21728         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
21729         USE_ATOMIC_COMPILER_BUILTINS): Define.
21730         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21732         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
21733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21734         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
21735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21736         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
21737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21738         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
21739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21740         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
21741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21742         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
21743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21744         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
21745         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21746         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21747         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21748         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21749         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21750         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
21751         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21752         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
21753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21754         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
21755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21756         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
21757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21758         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
21759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21760         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
21761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21762         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
21763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21764         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21765         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21766         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
21767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21768         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
21769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
21771 2014-11-19  Roland McGrath  <roland@hack.frob.com>
21773         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
21774         the sched_priority value here.  It was already checked when the user
21775         called pthread_attr_setschedparam.
21777         * nptl/tst-bad-schedattr.c: New file.
21778         * nptl/Makefile (tests): Add it.
21780 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
21781             Florian Weimer  <fweimer@redhat.com>
21782             Joseph Myers  <joseph@codesourcery.com>
21783             Adam Conrad  <adconrad@0c3.net>
21784             Andreas Schwab  <schwab@suse.de>
21785             Brooks  <bmoses@google.com>
21787         [BZ #17625]
21788         * wordexp-test.c (__dso_handle): Add prototype.
21789         (__register_atfork): Likewise.
21790         (__app_register_atfork): New function.
21791         (registered_forks): New global.
21792         (register_fork): New function.
21793         (test_case): Add 3 new tests for WRDE_CMDSUB.
21794         (main): Call __app_register_atfork.
21795         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
21796         fork count is non-zero fail the test.
21797         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
21798         is set.
21799         (parse_dollars): Remove check for WRDE_NOCMD.
21800         (parse_dquote): Likewise.
21802 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21804         * Makeconfig (built-modules): List non-library modules to be
21805         built.
21806         (module-cppflags): Include libc-modules.h for
21807         everything except shlib-versions.v.i.
21808         (CPPFLAGS): Use it.
21809         (before-compile): Add libc-modules.h.
21810         ($(common-objpfx)libc-modules.h,
21811         $(common-objpfx)libc-modules.stmp): New targets.
21812         (common-generated): Add libc-modules.h and libc-modules.stmp.
21813         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
21814         * include/libc-symbols.h: Don't include libc-modules.h.
21815         * include/libc-modules.h: Remove file.
21816         * scripts/gen-libc-modules.awk: New script to generate
21817         libc-modules.h.
21818         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
21819         Depend on libc-modules.stmp.
21821         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
21823         * Makeconfig (in-module): Get value of libof set for the
21824         translation unit.
21825         (CPPFLAGS): Use $(in-module).
21826         * Makerules: Don't suffix routine names for nonlib.
21827         * include/libc-modules.h: New file.
21828         * include/libc-symbols.h: Include libc-modules.h
21829         (IS_IN): New macro to replace IS_IN_* macros.
21830         * elf/Makefile: Set libof-* for each routine.
21831         * elf/rtld-Rules: Likewise.
21832         * extra-modules.mk: Likewise.
21833         * iconv/Makefile: Likewise.
21834         * iconvdata/Makefile: Likewise.
21835         * locale/Makefile: Likewise.
21836         * malloc/Makefile: Likewise.
21837         * nss/Makefile: Likewise.
21838         * sysdeps/gnu/Makefile: Likewise.
21839         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
21840         * sysdeps/unix/sysv/linux/Makefile: Likewise.
21841         * sysdeps/s390/s390-64/Makefile: Likewise.
21842         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
21843         CPPFLAGS for nscd instead of nonlib.
21845 2014-11-18  Roland McGrath  <roland@hack.frob.com>
21847         * nptl/createthread.c: New file.
21849         * nptl/createthread.c: Moved ...
21850         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21852         * nptl/createthread.c: Add proper top-line comment.
21853         (do_clone): Folded into ...
21854         (create_thread): ... here.  Take new arguments STOPPED_START and
21855         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21856         increment __nptl_threads, do event-reporting logic, do
21857         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21858         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21859         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21860         just send SIGCANCEL.
21861         * nptl/pthread_create.c: Forward-declare create_thread before
21862         including createthread.c.
21863         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21864         declaration, and new macro START_THREAD_SELF to replace argument.
21865         Remove return statement.
21866         (report_thread_creation): New function.
21867         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21868         synchronization logic, and __nptl_nthreads increment here, around
21869         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21870         PD->parent_cancelhandling here, before create_thread.  When
21871         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21872         __deallocate_stack, and ENOMEM translation here.
21874 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21876         [BZ #17616]
21877         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21878         (mptwo): Rename to __mptwo.
21879         (__inv): Use __mptwo instead of mptwo.
21880         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21881         (mptwo): Rename to __mptwo.
21882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21883         of mpone and __mptwo instead of mptwo.
21884         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21885         instead of mpone.
21886         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21887         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21888         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21889         of mpone and __mptwo instead of mptwo.
21890         (__mpranred): Use __mpone instead of mpone.
21891         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21892         variable.
21893         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21894         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21895         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21896         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21897         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21898         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21899         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21900         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21901         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21902         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21903         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21904         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21905         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21906         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21907         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21908         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21909         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21910         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21911         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21913 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21915         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21916         replace BSD Handler xref with BSD Signal Handling.
21918 2014-11-17  Richard Henderson  <rth@redhat.com>
21920         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21921         (_FP_PACK_RAW_2): Remove.
21922         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21923         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21924         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21925         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21926         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21927         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21928         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21929         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21930         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21931         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21932         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21933         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21934         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21935         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21936         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21937         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21939 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21941         * signal/signal.h [__USE_MISC]
21942         (struct sigvec): Remove type.
21943         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21944         (sigvec): Remove declaration.
21945         * sysdeps/posix/sigvec.c: Moved ...
21946         * signal/sigvec.c: ... here, replacing old file.
21947         (struct sigvec): New type, copied from old signal.h definition.
21948         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21949         (__sigvec): Convert definition to prototype.
21950         (sigvec): Replace weak_alias with compat_symbol.
21951         * signal/Versions (libc: GLIBC_2.21): New version set.
21952         * include/signal.h: Remove __sigvec declaration.
21953         * sysdeps/unix/bsd/sigvec.c: Remove file.
21954         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21955         * manual/signal.texi (BSD Handler): Remove subsection.
21956         Move siginterrupt up to ...
21957         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21958         (Blocking in BSD): Fold subsection into its parent.
21959         * NEWS: Mention sigvec removal.
21961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21963         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21964         (DLA_FMS): Make definition conditional only on [__FMA4__].
21965         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21966         definition.
21968         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21969         Make definition conditional only on [PROF].
21970         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21971         definition.
21972         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21973         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21975         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21976         !__GNUC__].
21977         * include/signal.h (__sigpause): Move declaration above call to
21978         libc_hidden_proto.
21979         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21980         variable.
21981         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21982         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21984 2014-11-14  David S. Miller  <davem@davemloft.net>
21986         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21987         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21989 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21991         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21992         * configure: Regenerated.
21993         * manual/install.texi (Tools for Compilation): Document a
21994         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21995         compiler verified to work.
21996         * INSTALL: Regenerated.
21998         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21999         redeclare with asm name.
22000         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22001         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22002         including <string.h>.
22003         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22004         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22005         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22006         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22007         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22009         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22011 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22013         * stdlib/strtol.c (__strtol): Use prototype definition.
22015         [BZ #17594]
22016         * stdlib/strtol.c (SYM__): New macro.
22017         (SYM__1): Likewise.
22018         (__strtol): Likewise.
22019         (strtol): Rename to __strtol and define as weak alias of
22020         __strtol.  Use libc_hidden_weak.
22022 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22024         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22025         Use numbered labels in inline assembly.
22027 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22029         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22030         Add setjmp LIBC_PROBE.
22031         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22032         Likewise.
22033         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22034         Add longjmp, longjmp_target LIBC_PROBE.
22035         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22036         Likewise.
22038 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22041         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22042         to get rid of unused variable warning.
22044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22046         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22047         Check for unwind_backtrace ==  NULL only in SHARED case.
22048         (__backchain_backtrace): Compile only in SHARED case.
22049         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22050         Likewise.
22051         (__backchain_backtrace): Declare as static.
22053 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22055         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22056         (__libc_multiple_threads_ptr): Variable moved ...
22057         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22059 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22061         * conform/GlibcConform.pm: New file.
22062         * conform/conformtest.pl: Use GlibcConform module.
22063         * conform/linknamespace.pl: New file.
22064         * conform/list-header-symbols.pl: Likewise.
22065         * conform/Makefile (linknamespace-symlists-base): New variable.
22066         (linknamespace-symlists-tests): Likewise.
22067         (linknamespace-header-base): Likewise.
22068         (linknamespace-header-tests): Likewise.
22069         (tests-special): Add new tests.
22070         ($(linknamespace-symlists-tests)): New rule.
22071         (linknamespace-libs): New variable.
22072         ($(objpfx)symlist-stdlibs): New rule.
22073         ($(linknamespace-header-tests)): Likewise.
22074         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22075         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22076         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22077         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22078         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22079         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22080         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22081         (test-xfail-ISO/math.h/linknamespace): Likewise.
22082         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22083         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22084         (test-xfail-ISO/time.h/linknamespace): Likewise.
22085         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22086         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22087         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22088         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22089         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22090         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22091         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22092         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22093         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22094         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22095         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22096         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22097         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22098         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22099         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22100         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22101         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22102         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22103         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22104         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22105         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22106         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22107         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22108         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22109         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22110         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22111         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22112         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22113         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22114         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22115         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22116         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22117         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22118         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22119         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22120         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22121         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22122         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22123         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22124         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22125         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22126         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22127         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22128         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22129         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22130         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22131         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22132         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22133         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22134         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22135         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22136         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22137         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22138         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22139         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22140         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22141         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22142         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22143         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22144         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22145         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22146         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22147         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22148         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22149         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22150         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22151         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22152         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22153         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22154         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22155         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22156         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22157         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22158         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22159         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22160         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22161         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22162         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22163         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22164         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22165         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22166         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22167         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22168         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22169         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22170         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22171         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22172         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22173         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22174         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22175         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22176         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22177         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22178         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22179         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22180         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22181         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22182         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22183         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22184         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22185         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22186         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22187         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22188         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22189         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22190         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22191         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22192         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22193         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22194         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22195         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22196         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22198         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22199         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22200         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22201         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22202         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22203         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22204         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22205         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22206         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22207         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22208         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22209         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22210         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22211         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22212         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22213         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22214         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22215         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22216         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22217         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22218         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22219         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22220         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22221         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22222         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22223         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22224         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22225         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22226         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22227         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22228         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22229         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22230         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22231         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22232         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22233         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22234         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22236         [BZ #17589]
22237         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22238         of fgets_unlocked.
22240         [BZ #17585]
22241         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22242         (memmem): Rename to __memmem and define as weak alias of
22243         __memmem.  Use libc_hidden_weak.
22244         (__memmem): Use libc_hidden_def.
22245         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22246         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22247         memmem.
22249         [BZ #17582]
22250         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22251         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22252         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22253         and define as weak alias of __fgets_unlocked.  Use
22254         libc_hidden_weak.
22255         (__fgets_unlocked): Use libc_hidden_def.
22256         * include/stdio.h (__fgets_unlocked): Declare.  Use
22257         libc_hidden_proto.
22258         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22259         __fgets_unlocked instead of fgets_unlocked.
22260         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22261         (GET_NPROCS_CONF_PARSER): Likewise.
22262         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22263         (GET_NPROCS_CONF_PARSER): Likewise.
22265         [BZ #17574]
22266         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22267         weak alias of __wmemset.  Use libc_hidden_weak.
22268         (__wmemset): Use libc_hidden_def.
22269         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22270         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22271         of wmemset.
22273         [BZ #17573]
22274         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22275         with asm name __mempcpy.
22276         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22278         [BZ #17572]
22279         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22280         and define as weak alias of __rawmemchr.
22281         (__rawmemchr): Do not define as strong alias of rawmemchr.
22283         [BZ #17571]
22284         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22285         alias of __qsort_r.
22286         (qsort): Call __qsort_r instead of qsort_r.
22287         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22288         (__qsort_r): Declare.  Call libc_hidden_proto.
22289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22290         instead of qsort_r.
22291         * nscd/gai.c (__qsort_r): Define to qsort_r.
22292         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22293         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22294         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22296         [BZ #17570]
22297         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22298         define as weak alias of __malloc_info.
22300         [BZ #17584]
22301         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22302         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22303         (__rewinddir): Use libc_hidden_def.
22304         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22305         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22306         (__rewinddir): Use libc_hidden_def.
22307         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22308         weak alias of __rewinddir.  Don't use libc_hidden_def.
22309         (__rewinddir): Use libc_hidden_def.
22310         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22311         (__rewinddir): Use libc_hidden_proto.
22312         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22313         rewinddir.
22314         (__getcwd): Use __rewinddir instead of rewinddir.
22316         [BZ #17583]
22317         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22318         alias of __fileno.  Use libc_hidden_weak.
22319         (__fileno): Use libc_hidden_def.
22320         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22321         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22322         alias of __ftello.
22323         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22324         __ftello.
22325         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
22326         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
22327         libc_hidden_def.
22328         (fread_unlocked): Don't use libc_hidden_ver.
22329         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
22330         and define as weak alias of __fread_unlocked.  Don't use
22331         libc_hidden_def.
22332         (__fread_unlocked): Use libc_hidden_def.
22333         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
22334         (ftello): Don't use libc_hidden_proto.
22335         (__ftello): Declare.  Use libc_hidden_proto.
22336         (fread_unlocked): Don't use libc_hidden_proto.
22337         (__fread_unlocked): Declare.  Use libc_hidden_proto.
22338         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
22339         and __ftello instead of fileno, fread_unlocked and ftello.
22341 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22343         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
22344         GOT12.
22345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22346         Likewise.
22347         (_dl_start_user): Likewise.
22348         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
22350 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
22351             Siddhesh Poyarekar  <siddhesh@redhat.com>
22353         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
22354         Move argv and envp down instead of moving argc up.
22355         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
22357 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
22359         [BZ #17506]
22360         * test-skeleton.c (main): Return successful if one of
22361         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22362         * string/tst-strcoll-overflow.c: Define expected status.
22364 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
22366         [BZ #17475]
22367         * locale/iso-639.def: Define Bhili and Tulu language codes.
22369 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
22371         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
22373 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
22375         [BZ #17555]
22376         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
22378 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22380         * configure.ac: Updated check of minimal required version to
22381         2.22.
22382         * manual/install.texi (Tools for Compilation): Updated version
22383         number.
22384         * configure: Regenerated.
22385         * INSTALL: Likewise.
22387 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
22389         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
22390         __tls_get_addr.
22392 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
22394         * include/sys/wait.h (__libc_waitpid): Remove declaration.
22395         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
22396         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22397         libc_hidden_weak.
22398         (waitpid): Define as alias of __waitpid.
22399         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
22400         __waitpid.
22401         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22402         libc_hidden_weak.
22403         (waitpid): Define as alias of __waitpid.
22404         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
22405         __libc_waitpid alias.
22406         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
22407         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22408         Likewise.
22409         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
22410         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
22411         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
22412         alias.
22413         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
22414         __waitpid.
22415         (__waitpid): Don't define as alias.  Use libc_hidden_def not
22416         libc_hidden_weak.
22417         (waitpid): Define as alias of __waitpid.
22419 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
22421         * manual/llio.texi: Add comment that write safety has been
22422         fixed in Linux.
22424         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
22425         (localplt-build-dso): Add elf/ld.so.
22426         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
22427         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
22428         and free for ld.so.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
22430         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
22431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
22432         Likewise.
22433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22434         Likewise.
22435         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
22436         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
22437         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
22438         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
22439         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22440         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
22441         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
22442         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22443         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
22445         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22447 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
22449         [BZ #14132]
22450         * include/libc-symbols.h (INTUSE): Remove macro.
22451         (INTDEF): Likewise.
22452         (INTVARDEF): Likewise.
22453         (_INTVARDEF): Likewise.
22454         (INTDEF2): Likewise.
22455         (INTVARDEF2): Likewise.
22456         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
22457         rtld_hidden_def instead of INTVARDEF.
22458         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
22459         (_dl_starting_up_internal): Remove declaration.
22460         (_dl_starting_up): Use rtld_hidden_proto.
22461         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
22462         declaration.
22463         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
22464         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
22465         _dl_starting_up.
22466         * elf/dl-writev.h (_dl_writev): Likewise.
22467         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
22468         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
22469         _dl_starting_up_internal.
22471 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22473         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22474         test-skeleton.c.
22476 2014-11-05  Will Newton  <will.newton@linaro.org>
22478         * benchtests/Makefile: (bench-malloc): Add malloc thread
22479         scalability benchmark.
22480         * benchtests/bench-malloc-threads.c: New file.
22482 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
22484         * sysdeps/aarch64/strchrnul.S: New file.
22486 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22488         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
22489         definition.
22490         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22491         Likwise.
22492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22493         Likewise.
22494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22495         Likewise.
22496         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22497         Likewise.
22498         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22499         Likewise.
22501 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
22503         * catgets/test-gencat.c: Use test-skeleton.c.
22504         * catgets/tst-catgets.c: Likewise.
22505         * csu/tst-empty.c: Likewise.
22506         * elf/tst-audit2.c: Likewise.
22507         * elf/tst-global1.c: Likewise.
22508         * elf/tst-pathopt.c: Likewise.
22509         * elf/tst-piemod1.c: Likewise.
22510         * elf/tst-tls10.c: Likewise.
22511         * elf/tst-tls11.c: Likewise.
22512         * elf/tst-tls12.c: Likewise.
22513         * gnulib/tst-gcc.c: Likewise.
22514         * iconvdata/tst-e2big.c: Likewise.
22515         * iconvdata/tst-loading.c: Likewise.
22516         * iconv/tst-iconv1.c: Likewise.
22517         * iconv/tst-iconv2.c: Likewise.
22518         * inet/test-inet6_opt.c: Likewise.
22519         * inet/tst-gethnm.c: Likewise.
22520         * inet/tst-network.c: Likewise.
22521         * inet/tst-ntoa.c: Likewise.
22522         * intl/tst-codeset.c: Likewise.
22523         * intl/tst-gettext2.c: Likewise.
22524         * intl/tst-gettext3.c: Likewise.
22525         * intl/tst-ngettext.c: Likewise.
22526         * intl/tst-translit.c: Likewise.
22527         * io/test-stat.c: Likewise.
22528         * libio/test-fmemopen.c: Likewise.
22529         * libio/tst-freopen.c: Likewise.
22530         * libio/tst-sscanf.c: Likewise.
22531         * libio/tst-ungetwc1.c: Likewise.
22532         * libio/tst-ungetwc2.c: Likewise.
22533         * libio/tst-widetext.c: Likewise.
22534         * localedata/tst-ctype.c: Likewise.
22535         * localedata/tst-digits.c: Likewise.
22536         * localedata/tst-leaks.c: Likewise.
22537         * localedata/tst-mbswcs1.c: Likewise.
22538         * localedata/tst-mbswcs2.c: Likewise.
22539         * localedata/tst-mbswcs3.c: Likewise.
22540         * localedata/tst-mbswcs4.c: Likewise.
22541         * localedata/tst-mbswcs5.c: Likewise.
22542         * localedata/tst-setlocale.c: Likewise.
22543         * localedata/tst-trans.c: Likewise.
22544         * localedata/tst-wctype.c: Likewise.
22545         * localedata/tst-xlocale1.c: Likewise.
22546         * login/tst-grantpt.c: Likewise.
22547         * malloc/tst-calloc.c: Likewise.
22548         * malloc/tst-malloc.c: Likewise.
22549         * malloc/tst-mallocstate.c: Likewise.
22550         * malloc/tst-mcheck.c: Likewise.
22551         * malloc/tst-mtrace.c: Likewise.
22552         * malloc/tst-obstack.c: Likewise.
22553         * math/atest-exp2.c: Likewise.
22554         * math/atest-exp.c: Likewise.
22555         * math/atest-sincos.c: Likewise.
22556         * math/test-matherr.c: Likewise.
22557         * math/test-misc.c: Likewise.
22558         * math/test-powl.c: Likewise.
22559         * math/tst-definitions.c: Likewise.
22560         * misc/tst-dirname.c: Likewise.
22561         * misc/tst-efgcvt.c: Likewise.
22562         * misc/tst-fdset.c: Likewise.
22563         * misc/tst-hsearch.c: Likewise.
22564         * misc/tst-mntent2.c: Likewise.
22565         * nptl/tst-sem7.c: Likewise.
22566         * nptl/tst-sem8.c: Likewise.
22567         * nptl/tst-sem9.c: Likewise.
22568         * nss/test-netdb.c: Likewise.
22569         * posix/tst-fnmatch.c: Likewise.
22570         * posix/tst-getlogin.c: Likewise.
22571         * posix/tst-gnuglob.c: Likewise.
22572         * posix/tst-mmap.c: Likewise.
22573         * pwd/tst-getpw.c: Likewise.
22574         * resolv/tst-inet_ntop.c: Likewise.
22575         * rt/tst-timer.c: Likewise.
22576         * stdio-common/test-fseek.c: Likewise.
22577         * stdio-common/test-popen.c: Likewise.
22578         * stdio-common/test-vfprintf.c: Likewise.
22579         * stdio-common/tst-cookie.c: Likewise.
22580         * stdio-common/tst-fileno.c: Likewise.
22581         * stdio-common/tst-gets.c: Likewise.
22582         * stdio-common/tst-obprintf.c: Likewise.
22583         * stdio-common/tst-perror.c: Likewise.
22584         * stdio-common/tst-sprintf2.c: Likewise.
22585         * stdio-common/tst-sprintf3.c: Likewise.
22586         * stdio-common/tst-sprintf.c: Likewise.
22587         * stdio-common/tst-swprintf.c: Likewise.
22588         * stdio-common/tst-tmpnam.c: Likewise.
22589         * stdio-common/tst-unbputc.c: Likewise.
22590         * stdio-common/tst-wc-printf.c: Likewise.
22591         * stdlib/tst-environ.c: Likewise.
22592         * stdlib/tst-fmtmsg.c: Likewise.
22593         * stdlib/tst-limits.c: Likewise.
22594         * stdlib/tst-rand48-2.c: Likewise.
22595         * stdlib/tst-rand48.c: Likewise.
22596         * stdlib/tst-random2.c: Likewise.
22597         * stdlib/tst-random.c: Likewise.
22598         * stdlib/tst-strtol.c: Likewise.
22599         * stdlib/tst-strtoll.c: Likewise.
22600         * stdlib/tst-tls-atexit.c: Likewise.
22601         * stdlib/tst-xpg-basename.c: Likewise.
22602         * string/test-ffs.c: Likewise.
22603         * string/tst-bswap.c: Likewise.
22604         * string/tst-inlcall.c: Likewise.
22605         * string/tst-strtok.c: Likewise.
22606         * string/tst-strxfrm.c: Likewise.
22607         * sysdeps/x86_64/tst-audit10.c: Likewise.
22608         * sysdeps/x86_64/tst-audit3.c: Likewise.
22609         * sysdeps/x86_64/tst-audit4.c: Likewise.
22610         * sysdeps/x86_64/tst-audit5.c: Likewise.
22611         * time/tst-ftime_l.c: Likewise.
22612         * time/tst-getdate.c: Likewise.
22613         * time/tst-mktime3.c: Likewise.
22614         * time/tst-mktime.c: Likewise.
22615         * time/tst-posixtz.c: Likewise.
22616         * time/tst-strptime2.c: Likewise.
22617         * time/tst-strptime3.c: Likewise.
22618         * wcsmbs/tst-btowc.c: Likewise.
22619         * wcsmbs/tst-mbrtowc.c: Likewise.
22620         * wcsmbs/tst-mbsrtowcs.c: Likewise.
22621         * wcsmbs/tst-wchar-h.c: Likewise.
22622         * wcsmbs/tst-wcpncpy.c: Likewise.
22623         * wcsmbs/tst-wcrtomb.c: Likewise.
22624         * wcsmbs/tst-wcsnlen.c: Likewise.
22625         * wcsmbs/tst-wcstof.c: Likewise.
22627 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
22629         [BZ #14132]
22630         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
22631         INTDEF.
22632         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
22633         declaration.
22634         (_dl_mcount): Use rtld_hidden_proto.
22635         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
22636         _dl_mcount.
22637         * elf/rtld.c (_rtld_global_ro): Likewise.
22639         [BZ #14132]
22640         * elf/dl-init.c (_dl_init): Don't use INTDEF.
22641         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
22642         of _dl_init_internal.
22643         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
22644         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
22645         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
22646         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
22647         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
22648         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
22649         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
22650         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
22651         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
22652         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
22653         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
22654         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
22655         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22656         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22657         * sysdeps/tile/dl-start.S (_start): Likewise.
22658         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
22659         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
22661         [BZ #14132]
22662         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
22663         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
22664         (rtld_progname): Make macro definition unconditional.
22665         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
22666         INTDEF.
22667         (dlmopen_doit): Do not use INTUSE with _dl_argv.
22668         (dl_main): Likewise.
22669         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22670         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
22671         instead of _dl_argv_internal.
22672         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22673         __GI__dl_argv instead of INTUSE(_dl_argv).
22674         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
22675         __GI__dl_argv instead of _dl_argv_internal.
22677         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
22678         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
22679         macro.
22680         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
22681         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
22682         New macro.
22683         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
22684         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
22685         macro.
22686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
22687         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
22689 2014-11-04  Andreas Schwab  <schwab@suse.de>
22691         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
22693 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22695         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
22696         mtvsrd instruction in binary form.
22698 2014-11-03  Andreas Schwab  <schwab@suse.de>
22700         [BZ #17522]
22701         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
22702         for less than MB_LEN_MAX use a local buffer of that size.
22703         * libio/tst-fputws.c: New file.
22704         * libio/Makefile (tests): Add tst-fputws.
22706 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
22708         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
22709         the size of the fpu_fr.fpu_dregs[] array.
22711 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
22713         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22714         (__nanosleep): Do not define as alias.
22715         (nanosleep): Define as alias of __nanosleep.
22716         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
22717         __libc_nanosleep name.
22719 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22721         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
22722         install.texi in comment.
22724 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22726         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22727         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
22728         ... add here and use lwsync or sync ...
22729         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
22730         ... and add here using lwsync.
22732 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
22734         * elf/dl-machine-reject-phdr.h: New file.
22735         * elf/dl-load.c: #include that.
22736         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
22737         if that returned true.
22739 2014-10-31  Roland McGrath  <roland@hack.frob.com>
22741         [BZ #17496]
22742         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
22743         gen-as-const-headers chunk.  Add a big scare comment after the last
22744         safe place to touch before-compile.
22746 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
22748         * manual/install.texi (Tools for Compilation): Update autoconf
22749         version requirements.
22750         * INSTALL: Regenerated.
22752         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
22753         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
22754         (__libc_pselect): Likewise.
22756         [BZ #14138]
22757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
22758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22762 2014-10-31  Torvald Riegel  <triegel@redhat.com>
22764         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
22765         correct barrier instruction.
22766         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
22767         Likewise.
22768         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
22769         Likewise.
22771 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22773         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
22774         after defining inlines.  Instead, just use parens to defeat macro
22775         expansion of __isctype in its declaration.
22777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22779         * include/sys/uio.h (__libc_readv): Remove declaration.
22780         (__libc_writev): Likewise.
22781         * misc/readv.c (__libc_readv): Rename to __readv.
22782         (__readv): Do not define as alias.
22783         (readv): Define as alias of __readv.
22784         * misc/writev.c (__libc_writev): Rename to __writev.
22785         (__writev): Do not define as alias.
22786         (writev): Define as alias of __writev.
22787         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
22788         (__readv): Do not define as alias.
22789         (readv): Define unconditionally as alias of __readv.
22790         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
22791         (__writev): Do not define as alias.
22792         (writev): Define unconditionally as alias of __writev.
22793         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
22794         name.
22795         (writev): Do not define __libc_writev name.
22797 2014-10-30  Roland McGrath  <roland@hack.frob.com>
22799         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
22800         (convert_charseq): New function, broken out of ...
22801         (use_from_charmap): ... here.  Call it.
22802         (use_to_charmap): Use convert_charseq and free instead of duplicating
22803         its code with a variable-length stack struct.
22805 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
22807         * include/fcntl.h (__libc_creat): Remove declaration.
22808         * io/creat.c (__libc_creat): Rename to creat.
22809         (creat): Do not define as alias.
22810         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
22811         of creat instead of __libc_creat.
22812         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
22813         to creat.
22814         (creat): Do not define as alias.
22815         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
22816         __libc_creat.
22817         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
22818         __libc_creat name.
22819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
22820         Likewise.
22822 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
22824         * manual/llio.texi: Add comments discussing why write() may be
22825         considered MT-unsafe on Linux.
22827 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
22829         * dl-load.c (local_strdup): Remove.
22830         (expand_dynamic_string_token): Use __strdup.
22831         (decompose_rpath): Likewise.
22832         (_dl_map_object): Likewise.
22834 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
22836         [BZ #14132]
22837         * sysdeps/generic/unwind-dw2-fde.c
22838         (__register_frame_info_bases_internal): Do not declare.
22839         (__register_frame_info_table_bases_internal): Likewise.
22840         (__deregister_frame_info_bases_internal): Likewise.
22841         (__register_frame_info_bases): Declare and use hidden_proto before
22842         definition.  Use hidden_def instead of INTDEF.
22843         (__register_frame_info_table_bases): Likewise.
22844         (__deregister_frame_info_bases): Likewise.
22845         (__register_frame_info): Do not use INTUSE.
22846         (__register_frame): Likewise.
22847         (__register_frame_info_table): Likewise.
22848         (__register_frame_table): Likewise.
22849         (__deregister_frame_info): Likewise.
22850         (__deregister_frame): Likewise.
22852 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22855         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22856         not undefine.
22857         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22858         Likewise.
22859         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22860         Likewise.
22862 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22864         [BZ #14138]
22865         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22866         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22867         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22868         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22869         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22870         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22871         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22872         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22873         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22874         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22875         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22876         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22877         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22878         syscall.
22879         (setfsuid): Likewise.
22880         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22881         (setfsuid): Likewise.
22882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22883         (setfsuid): Likewise.
22884         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22885         Likewise.
22886         (setfsuid): Likewise.
22887         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22888         (setfsuid): Likewise.
22889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22890         Likewise.
22891         (setfsuid): Likewise.
22893 2014-10-27  Andreas Schwab  <schwab@suse.de>
22895         [BZ #17501]
22896         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22897         check for Slow_SSE4_2 feature bit.
22898         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22899         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22900         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22901         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22903 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22905         * configure.ac: Validate compiler version with a empirical test of
22906         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22907         $CC -v output.
22908         * configure: Regenerated.
22910         * inet/htons.c (htons): Prototypify.
22911         * inet/htonl.c (htonl): Likewise.
22913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22915         * string/strncat.c (strncat): Improve performance by using strlen.
22917 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22919         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22921 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22923         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22924         Call libc_fetestexcept_aarch64.
22926 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22928         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22929         Call libc_feholdexcept_aarch64.
22931 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22933         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22934         Call get_rounding_mode.
22936 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22938         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22939         Simplify logic.
22941 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22943         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22944         Simplify logic.
22946 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22948         [BZ #14138]
22949         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22950         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22951         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22952         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22953         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22954         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22955         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22956         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22957         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22958         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22960         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22961         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22962         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22963         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22964         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22965         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22966         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22967         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22968         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22969         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22970         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22971         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22972         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22973         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22974         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22975         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22976         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22977         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22978         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22979         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22980         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22981         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22982         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22983         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22984         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22985         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22986         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22987         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22988         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22989         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22990         syscall.
22991         (geteuid): Likewise.
22992         (getgid): Likewise.
22993         (getuid): Likewise.
22994         (getresgid): Likewise.
22995         (getresuid): Likewise.
22996         (getgroups): Likewise.
22997         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22998         (geteuid): Likewise.
22999         (getgid): Likewise.
23000         (getuid): Likewise.
23001         (getresgid): Likewise.
23002         (getresuid): Likewise.
23003         (getgroups): Likewise.
23004         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23005         (geteuid): Likewise.
23006         (getgid): Likewise.
23007         (getuid): Likewise.
23008         (getresgid): Likewise.
23009         (getresuid): Likewise.
23010         (getgroups): Likewise.
23011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23012         Likewise.
23013         (geteuid): Likewise.
23014         (getgid): Likewise.
23015         (getuid): Likewise.
23016         (getresgid): Likewise.
23017         (getresuid): Likewise.
23018         (getgroups): Likewise.
23019         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23020         (geteuid): Likewise.
23021         (getgid): Likewise.
23022         (getuid): Likewise.
23023         (getresgid): Likewise.
23024         (getresuid): Likewise.
23025         (getgroups): Likewise.
23026         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23027         Likewise.
23028         (geteuid): Likewise.
23029         (getgid): Likewise.
23030         (getuid): Likewise.
23031         (getgroups): Likewise.
23033         [BZ #14138]
23034         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23035         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23036         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23037         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23038         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23039         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23040         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23041         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23042         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23043         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23044         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23045         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23046         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23047         __chown.
23048         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23049         (lchown): Likewise.
23050         (fchown): Likewise.
23051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23052         Likewise.
23053         (lchown): Likewise.
23054         (fchown): Likewise.
23055         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23056         (lchown): Likewise.
23057         (fchown): Likewise.
23058         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23059         Likewise.
23060         (lchown): Likewise.
23061         (fchown): Likewise.
23063 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23065         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23066         Simplify logic.
23068 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23070         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23071         Cleanup logic.
23073 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23075         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23076         Remove unused include.
23078 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23080         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23083         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23085 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23086             Helge Deller <deller@gmx.de>
23088         [BZ #17508]
23089         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23090         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23091         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23093 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23095         [BZ #14132]
23096         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23097         Remove macro definition.
23098         (__ashrdi3_v_glibc20): Likewise.
23099         (__lshrdi3_v_glibc20): Likewise.
23100         (__cmpdi2_v_glibc20): Likewise.
23101         (__ucmpdi2_v_glibc20): Likewise.
23102         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23103         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23104         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23105         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23106         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23107         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23109 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23111         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23112         old GNU extension [0] syntax.
23113         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23114         alloca rather than an array member with variable length.
23115         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23116         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23117         (parse_opt): ... here.  Likewise use alloca there.
23118         Validate the -i argument before checking for rootness.
23119         (send_shutdown): New function, broken out of ...
23120         (parse_opt): ... here.
23122 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23124         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23125         macro to get at the _rt_local_ro field.
23126         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23127         ([PIC] case) or _dl_hwcap ([!PIC] case).
23128         * sysdeps/arm/setjmp.S: Likewise.
23130         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23131         * sysdeps/arm/configure.ac: New check to define it.
23132         * sysdeps/arm/configure: Regenerated.
23133         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23134         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23135         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23136         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23137         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23138         Use move/movt pair instead of a load.
23139         (LDST_GLOBAL): Macro removed.
23140         (LDR_GLOBAL): New macro replaces it.
23141         (LDR_HIDDEN): New macro.
23142         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23143         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23145         * setjmp/tst-setjmp-static.c: New file.
23146         * setjmp/Makefile (tests): Add it.
23147         (tests-static): New variable.
23149 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23151         [BZ #17485]
23152         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23154 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23156         [BZ #14132]
23157         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23159 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23161         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23163 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23165         * io/fts.c (dirent_not_directory): New function.
23166         (fts_build): Call it.
23168 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23170         * nptl/version.c (__nptl_main): Use normal __write rather than
23171         INTERNAL_SYSCALL.
23172         (banner): Update copyright years.
23174         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23175         gettimeofday.
23176         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23177         * nptl/pthread_cond_timedwait.c: Likewise.
23178         * nptl/pthread_mutex_timedlock.c: Likewise.
23179         * nptl/sem_timedwait.c: Likewise.
23181         * sysdeps/nptl/bits/libc-lock.h
23182         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23183         (__libc_lock_init_recursive): Return void, not 0.
23184         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23185         (__libc_rwlock_init): Likewise.
23186         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23188 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23190         [BZ #15215]
23191         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23192         (__pthread_once_slow): ... here.
23193         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23194         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23196 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23198         [BZ #15215]
23199         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23200         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23201         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23202         * nptl/pthread_once.c (__pthread_once): Likewise.
23203         Update comments.
23205 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23207         [BZ #14138]
23208         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23209         name.
23210         (writev): Use __libc_writev as strong name.
23211         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23212         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23214 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23216         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23218         * sysdeps/i386/nptl/tls.h
23219         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23220         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23221         New macros.
23222         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23223         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23224         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23225         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23226         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23227         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23229         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23230         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23231         on [__NR_futex].
23232         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23233         broken out of ...
23234         (__pthread_mutex_init): ... here.  Call it.
23235         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23236         Conditionalize PI cases on [__NR_futex].
23237         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23238         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23239         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23241         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23242         conditional on [SIGSETXID].
23243         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23244         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23245         is defined.  Likewise for SIGSETXID.
23246         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23247         Conditionalize definitions on [SIGSETXID].
23248         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23249         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23250         unblocking on [SIGCANCEL].
23252         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23253         [__NR_set_robust_list].
23255 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23257         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23258         (do_compare): Likewise.
23260 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23262         [BZ #15884]
23263         * string/strcoll_l.c: Don't include stdio.h.
23264         (coll_seq): Remove members idxarr and rulearr.
23265         (get_next_seq_cached): Remove function.
23266         (get_next_seq): Likewise.
23267         (get_next_seq_nocache): Rename to get_next_seq.
23268         (do_compare): Remove function.
23269         (do_compare_nocache): Rename to do_compare.
23270         (STRCOLL): Remove weight and rules cache.
23272 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23274         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23275         * sysdeps/arm/sfp-machine.h: ... to here.
23276         * sysdeps/arm/Implies: Remove arm/soft-fp.
23278 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23280         * conform/data/sys/utsname.h-data (*_t): Allow.
23281         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23282         [POSIX] (WEXITED): Do not expect constant.
23283         [POSIX] (WSTOPPED): Likewise.
23284         [POSIX] (WNOHANG): Likewise.
23285         [POSIX] (WNOWAIT): Likewise.
23286         [POSIX] (siginfo_t): Do not expect type or elements.
23287         [POSIX] (pid_t): Do not expect type.
23288         [POSIX] (signal.h): Do not allow header.
23289         [POSIX] (sys/resource.h): Likewise.
23290         [POSIX] (si_*): Do not allow pattern.
23291         [POSIX] (W*): Likewise.
23292         [POSIX] (P_*): Likewise.
23293         [POSIX] (BUS_*): Likewise.
23294         [POSIX] (CLD_*): Likewise.
23295         [POSIX] (FPE_*): Likewise.
23296         [POSIX] (ILL_*): Likewise.
23297         [POSIX] (POLL_*): Likewise.
23298         [POSIX] (SEGV_*): Likewise.
23299         [POSIX] (SI_*): Likewise.
23300         [POSIX] (TRAP_*): Likewise.
23301         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23302         variable.
23304 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23306         [BZ #12926]
23307         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23308         infinite loop when __recvmsg returns 0.
23310 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23312         * CANCEL-FCT-WAIVE: Remove file.
23313         * CANCEL-FILE-WAIVE: Likewise.
23315         [BZ #14132]
23316         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23317         instead of INTVARDEF.
23318         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23319         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23320         rtld_hidden_data_def instead of INTVARDEF.
23321         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23322         * elf/dl-deps.c (expand_dst): Likewise.
23323         * elf/dl-load.c (_dl_dst_count): Likewise.
23324         (_dl_dst_substitute): Likewise.
23325         (decompose_rpath): Likewise.
23326         (_dl_init_paths): Likewise.
23327         (open_path): Likewise.
23328         (_dl_map_object): Likewise.
23329         * elf/rtld.c (dl_main): Likewise.
23330         (process_dl_audit): Likewise.
23331         (process_envvars): Likewise.
23332         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
23333         Remove declaration.
23334         (__libc_enable_secure): Use rtld_hidden_proto.
23336 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23338         * elf/dl-load.c
23339         (add_path): New function broken out of _dl_rtld_di_serinfo.
23340         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
23342 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23344         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
23345         parentheses around macro arguments.
23346         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
23347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
23348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
23349         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
23350         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
23351         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23352         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23353         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
23354         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
23355         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
23356         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
23357         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
23358         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
23359         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
23360         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
23361         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
23362         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
23363         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
23364         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
23365         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
23366         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
23367         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
23368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
23369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
23370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
23371         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
23372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
23373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
23374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
23375         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
23376         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
23377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
23378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
23379         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
23380         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
23381         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
23382         Likewise.
23383         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
23384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23385         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
23387         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
23388         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
23389         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
23390         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
23391         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
23392         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
23393         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
23394         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
23395         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
23396         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
23397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
23398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
23399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
23400         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
23401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
23402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
23403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
23404         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
23405         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
23406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
23407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
23408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
23409         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
23410         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
23411         (_FP_FRAC_SRS_1): Likewise.
23412         (_FP_FRAC_CLZ_1): Likewise.
23413         (_FP_MUL_MEAT_1_imm): Likewise.
23414         (_FP_MUL_MEAT_1_wide): Likewise.
23415         (_FP_MUL_MEAT_1_hard): Likewise.
23416         (_FP_SQRT_MEAT_1): Likewise.
23417         (_FP_FRAC_ASSEMBLE_1): Likewise.
23418         (_FP_FRAC_DISASSEMBLE_1): Likewise.
23419         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
23420         (__FP_CLZ_2): Likewise.
23421         (_FP_MUL_MEAT_2_wide): Likewise.
23422         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23423         (_FP_MUL_MEAT_2_gmp): Likewise.
23424         (_FP_MUL_MEAT_2_120_240_double): Likewise.
23425         (_FP_SQRT_MEAT_2): Likewise.
23426         (_FP_FRAC_ASSEMBLE_2): Likewise.
23427         (_FP_FRAC_DISASSEMBLE_2): Likewise.
23428         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
23429         (_FP_FRAC_CLZ_4): Likewise.
23430         (_FP_MUL_MEAT_4_wide): Likewise.
23431         (_FP_MUL_MEAT_4_gmp): Likewise.
23432         (_FP_SQRT_MEAT_4): Likewise.
23433         (_FP_FRAC_ASSEMBLE_4): Likewise.
23434         (_FP_FRAC_DISASSEMBLE_4): Likewise.
23435         * soft-fp/op-common.h (_FP_CMP): Likewise.
23436         (_FP_CMP_EQ): Likewise.
23437         (_FP_CMP_UNORD): Likewise.
23438         (_FP_TO_INT): Likewise.
23439         (_FP_FROM_INT): Likewise.
23440         [!__FP_CLZ] (__FP_CLZ): Likewise.
23441         (_FP_DIV_HELP_imm): Likewise.
23442         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
23443         Likewise.
23444         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
23445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
23446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
23447         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
23448         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
23449         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23451         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
23452         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
23453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
23454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
23455         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
23456         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
23457         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
23458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
23459         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
23460         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
23461         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
23462         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
23463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
23464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
23465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
23466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
23467         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
23468         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
23469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
23470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
23471         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
23472         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
23473         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
23474         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
23475         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
23476         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
23477         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
23478         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
23479         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
23480         (FP_UNPACK_RAW_SP): Likewise.
23481         (FP_PACK_RAW_S): Likewise.
23482         (FP_PACK_RAW_SP): Likewise.
23483         (FP_UNPACK_S): Likewise.
23484         (FP_UNPACK_SP): Likewise.
23485         (FP_UNPACK_SEMIRAW_S): Likewise.
23486         (FP_UNPACK_SEMIRAW_SP): Likewise.
23487         (FP_PACK_S): Likewise.
23488         (FP_PACK_SP): Likewise.
23489         (FP_PACK_SEMIRAW_S): Likewise.
23490         (FP_PACK_SEMIRAW_SP): Likewise.
23491         (_FP_SQRT_MEAT_S): Likewise.
23492         (FP_CMP_S): Likewise.
23493         (FP_CMP_EQ_S): Likewise.
23494         (FP_CMP_UNORD_S): Likewise.
23495         (FP_TO_INT_S): Likewise.
23496         (FP_FROM_INT_S): Likewise.
23498         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
23500         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
23501         (FP_EX_INVALID_IMZ): Likewise.
23502         (FP_EX_INVALID_IMZ_FMA): Likewise.
23503         (FP_EX_INVALID_ISI): Likewise.
23504         (FP_EX_INVALID_ZDZ): Likewise.
23505         (FP_EX_INVALID_IDI): Likewise.
23506         (FP_EX_INVALID_SQRT): Likewise.
23507         (FP_EX_INVALID_CVI): Likewise.
23508         (FP_EX_INVALID_VC): Likewise.
23509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
23510         "invalid" exceptions.
23511         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
23512         (_FP_ADD_INTERNAL): Likewise.
23513         (_FP_MUL): Likewise.
23514         (_FP_FMA): Likewise.
23515         (_FP_DIV): Likewise.
23516         (_FP_CMP_CHECK_NAN): Likewise.
23517         (_FP_SQRT): Likewise.
23518         (_FP_TO_INT): Likewise.
23519         (FP_EXTEND): Likewise.
23521 2014-10-09  Allan McRae  <allan@archlinux.org>
23523         * po/fr.po: Update French translation from translation project.
23525 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
23527         [BZ #14132]
23528         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
23529         of INTDEF.
23530         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
23531         (__cxa_atexit): Use libc_hidden_proto.
23532         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
23534         [BZ #14132]
23535         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
23536         declaration.
23537         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
23538         [!_ISOMAC] (__iswspace_l_internal): Likewise.
23539         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
23540         [!_ISOMAC] (__iswctype_internal): Likewise.
23541         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
23542         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
23543         alias.
23544         (fcntl): Remove __fcntl_internal alias.
23545         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
23546         __connect_internal alias.
23547         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
23548         Likewise.
23550         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
23551         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
23552         FP_DENORM_ZERO.
23553         (_FP_CHECK_FLUSH_ZERO): New macro.
23554         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
23555         (_FP_CMP): Likewise.
23556         (_FP_CMP_EQ): Likewise.
23557         (_FP_TO_INT): Do not set inexact for subnormal arguments if
23558         FP_DENORM_ZERO.
23559         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
23560         (FP_TRUNC): Likewise.
23562         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
23563         treated as invalid conversion, not as normal exponent.
23565         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
23566         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
23567         (_FP_CMP_EQ): Likewise.
23568         (_FP_CMP_UNORD): Likewise.
23569         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
23570         (FP_CMP_EQ_D): Likewise.
23571         (FP_CMP_UNORD_D): Likewise.
23572         * soft-fp/extended.h (FP_CMP_E): Likewise.
23573         (FP_CMP_EQ_E): Likewise.
23574         (FP_CMP_UNORD_E): Likewise.
23575         * soft-fp/quad.h (FP_CMP_Q): Likewise.
23576         (FP_CMP_EQ_Q): Likewise.
23577         (FP_CMP_UNORD_Q): Likewise.
23578         * soft-fp/single.h (FP_CMP_S): Likewise.
23579         (FP_CMP_EQ_S): Likewise.
23580         (FP_CMP_UNORD_S): Likewise.
23581         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
23582         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
23583         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
23584         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
23585         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
23586         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
23587         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
23588         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
23589         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
23590         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
23591         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
23592         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
23593         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
23594         to FP_CMP_Q.
23595         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
23596         FP_CMP_Q.
23597         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
23598         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
23599         FP_CMP_EQ_Q.
23600         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
23601         FP_CMP_Q.
23602         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
23603         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
23604         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
23605         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
23606         FP_CMP_EQ_Q.
23607         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
23608         FP_CMP_Q.
23609         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
23610         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
23611         FP_CMP_EQ_Q.
23612         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
23613         FP_CMP_Q.
23614         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
23615         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
23616         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
23617         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
23618         FP_CMP_EQ_Q.
23620         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
23621         a subnormal result, set the underflow exception if trapping on
23622         underflow is enabled.
23623         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
23624         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
23625         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
23626         redefine to 0.
23627         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
23628         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23629         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
23630         * soft-fp/extendxftf2.c (__extendxftf2): Use
23631         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
23633         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
23634         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
23635         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23636         FP_HANDLE_EXCEPTIONS.
23637         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
23638         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23639         FP_HANDLE_EXCEPTIONS.
23640         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
23641         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23642         FP_HANDLE_EXCEPTIONS.
23643         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
23644         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
23645         FP_HANDLE_EXCEPTIONS.
23647 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
23649         [BZ #14132]
23650         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
23651         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
23652         use INTUSE.
23653         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
23654         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
23655         Remove alias.
23656         (__adjtimex): Define using libc_hidden_ver.
23657         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
23658         Remove declaration.
23659         (ntp_gettime): Call __adjtimex directly.
23660         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
23661         Remove declaration.
23662         (ntp_gettimex): Call __adjtimex directly.
23663         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
23664         __adjtimex_internal alias.
23666 2014-10-08  Roland McGrath  <roland@hack.frob.com>
23668         [BZ #17460]
23669         * nscd/nscd.c (more_help): Rewrite list of tables collection
23670         using xstrdup and asprintf.
23672         * nscd/nscd_conf.c: Remove local xstrdup declaration.
23674 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23675             Roland McGrath  <roland@hack.frob.com>
23677         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
23678         (do_lookup_unique): ... local function 'enter' here; update callers.
23680 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
23682         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
23683         compat_symbol calls on [SHARED].
23684         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
23685         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
23686         Remove.
23687         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23688         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
23689         (oldsetrlimit): Remove.
23690         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23692         (lchown): New syscall entry.
23693         (oldsetrlimit): Remove.
23694         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
23696         (oldsetrlimit): Remove.
23697         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
23699         [BZ #14138]
23700         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
23701         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
23702         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
23703         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
23704         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23705         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
23706         (fchown): Likewise.
23707         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
23708         (fchown): Likewise.
23709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
23710         Likewise.
23712 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23714         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
23715         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
23716         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
23717         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
23718         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
23719         Likewise.
23720         (__old_sem_post): Likewise.
23722 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
23724         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
23725         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
23726         HAVE_CLOCK_GETTIME_VSYSCALL macros.
23727         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
23728         Use INLINE_VSYSCALL macro.
23729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
23730         __vdso_clock_gettime.
23731         * sysdeps/unix/sysv/linux/tile/init-first.c
23732         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
23733         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
23734         __vdso_clock_gettime.
23736         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
23737         to set up frame more cleanly.
23739         * sysdeps/tile/memcmp.c: New file.
23741         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
23743         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
23744         * sysdeps/tile/tilegx/strcasestr.c: New file.
23745         * sysdeps/tile/tilegx/strnlen.c: New file.
23746         * sysdeps/tile/tilegx/strstr.c: New file.
23748         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
23750 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
23752         * nptl/tst-setuid3.c: Write errors to stdout.
23754 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23756         * elf/dl-deps.c
23757         (preload): New functions broken out of _dl_map_object_deps.
23758         (_dl_map_object_deps):  Remove a nested function. Update call sites.
23760 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
23762         [BZ #14138]
23763         * sysdeps/unix/sysv/linux/execve.c: Remove file.
23764         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
23766 2014-10-01  Steve Ellcey  <sellcey@mips.com>
23768         * sysdeps/mips/strcmp.S: New.
23770 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
23772         [BZ #14138]
23773         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
23774         (linkat): Likewise.
23775         (mkdirat): Likewise.
23776         (readlinkat): Likewise.
23777         (renameat): Likewise.
23778         (symlinkat): Likewise.
23779         (unlinkat): Likewise.
23780         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
23781         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
23782         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
23783         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
23784         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
23785         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
23786         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
23788 2014-09-30  Will Newton  <will.newton@linaro.org>
23790         * math/math.h: Define long double math functions if
23791         _LIBC_TEST is defined.
23792         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
23794         * localedata/Makefile: Move assignment to tests-special
23795         into an ifdef testing run-built-tests.
23796         * timezone/Makefile: Likewise.
23798 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
23800         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
23801         with $(BASH) not $(SHELL).
23803 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
23804             Matthew LeGendre  <legendre1@llnl.gov>
23806         [BZ #17411]
23807         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
23808         l_reloc_result.
23810 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23812         * stdio-common/printf_fp.c
23813         (hack_digit): New function, broken out of ...
23814         (__printf_fp): ... local function here.  Update call sites.
23815         hack_digit now takes an additional parameter that is a pointer
23816         to a struct of the referenced locals.  Those locals moved inside
23817         the struct and references updated.
23819 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
23821         * aclocal.m4: Require autoconf 2.69.
23822         * configure: Regenerated.
23823         * sysdeps/aarch64/configure: Likewise.
23824         * sysdeps/alpha/configure: Likewise.
23825         * sysdeps/arm/armv7/configure: Likewise.
23826         * sysdeps/arm/configure: Likewise.
23827         * sysdeps/ia64/configure: Likewise.
23828         * sysdeps/mach/configure: Likewise.
23829         * sysdeps/mips/configure: Likewise.
23830         * sysdeps/s390/configure: Likewise.
23831         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
23832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
23834         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
23835         file.
23836         * sysdeps/ia64/configure.ac: Likewise.
23838 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
23840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
23841         specify symbol version for ld.so.  Do not include entry for
23842         libpthread.
23843         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23844         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23847         [BZ #14171]
23848         * Makeconfig [$(build-shared) = yes]
23849         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
23850         makefiles.
23851         [$(build-shared) = yes && $(soversions.mk-done) = t]
23852         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23853         [$(build-shared) = yes && $(soversions.mk-done) = t]
23854         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23855         to Makerules.
23856         [$(build-shared) = yes && $(soversions.mk-done) = t]
23857         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23858         here.
23859         [$(build-shared) = yes && $(soversions.mk-done) = t]
23860         (common-generated): Don't append gnu/lib-names.h and
23861         gnu/lib-names.stmp here.
23862         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23863         (lib-names-h-abi): New variable.
23864         [$(build-shared) = yes && $(soversions.mk-done) = t]
23865         (lib-names-stmp-abi): Likewise.
23866         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23867         abi-variants] (before-compile): Append
23868         $(common-objpfx)$(lib-names-h-abi).
23869         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23870         abi-variants] (common-generated): Append gnu/lib-names.h.
23871         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23872         abi-variants] (install-others-nosubdir): Depend on
23873         $(inst_includedir)/$(lib-names-h-abi).
23874         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23875         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23876         [$(build-shared) = yes && $(soversions.mk-done) = t]
23877         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23878         [$(build-shared) = yes && $(soversions.mk-done) = t]
23879         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23880         [$(build-shared) = yes && $(soversions.mk-done) = t]
23881         (common-generated): Append $(lib-names-h-abi) and
23882         $(lib-names-stmp-abi).
23883         * scripts/lib-names.awk: Do not handle multi being set.
23884         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23885         Remove variable.
23886         (abi-lp64_be-ld-soname): Likewise.
23887         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23888         Likewise.
23889         (abi-hard-ld-soname): Likewise.
23890         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23891         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23892         Remove variable.
23893         (abi-o32_hard-ld-soname): Likewise.
23894         (abi-o32_soft_2008-ld-soname): Likewise.
23895         (abi-o32_hard_2008-ld-soname): Likewise.
23896         (abi-n32_soft-ld-soname): Likewise.
23897         (abi-n32_hard-ld-soname): Likewise.
23898         (abi-n32_soft_2008-ld-soname): Likewise.
23899         (abi-n32_hard_2008-ld-soname): Likewise.
23900         (abi-n64_soft-ld-soname): Likewise.
23901         (abi-n64_hard-ld-soname): Likewise.
23902         (abi-n64_soft_2008-ld-soname): Likewise.
23903         (abi-n64_hard_2008-ld-soname): Likewise.
23904         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23905         Likewise.
23906         (abi-64-v2-ld-soname): Likewise.
23907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23908         ld.so entries.
23909         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23910         variable.
23911         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23912         entry.
23913         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23914         variable.
23915         (abi-64-ld-soname): Likewise.
23916         (abi-x32-ld-soname): Likewise.
23917         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23918         entry.
23919         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23921 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23923         [BZ #14138]
23924         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23925         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23926         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23927         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23928         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23929         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23930         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23931         syscall entry for GLIBC_2.2 symbol version.
23932         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23933         Likewise.
23934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23935         (setrlimit): Likewise.
23936         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23937         Likewise.
23939 2014-09-23  Will Newton  <will.newton@linaro.org>
23941         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23942         _LINUX_ARM_SYSDEP_H include guard too.
23943         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23944         define.
23946 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23948         * sysdeps/unix/sysv/linux/eventfd.c:
23949         Make first argument unsigned.
23950         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23951         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23953 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23955         [BZ #16852]
23956         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23957         * socket/sys/socket.h: Likewise.
23958         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23960 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23962         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23964 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23966         * time/tst-ftime.c: New test.
23967         * time/Makefile (tests): Add tst-ftime.
23969 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23971         * soft-fp/extended.h: Fix comment formatting.
23972         * soft-fp/op-1.h: Likewise.
23973         * soft-fp/op-2.h: Likewise.
23974         * soft-fp/op-4.h: Likewise.
23975         * soft-fp/op-8.h: Likewise.
23976         * soft-fp/op-common.h: Likewise.
23977         * soft-fp/soft-fp.h: Likewise.
23979         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23981 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #6652]
23984         * Makeconfig (soversions-default-setname): Remove variable.
23985         ($(common-objpfx)soversions.i): Don't pass default_setname to
23986         soversions.awk.
23987         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23988         oldest_abi to abi-versions.awk.
23989         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23990         * config.make.in (oldest-abi): Remove variable.
23991         * configure.ac (--enable-oldest-abi): Remove configure option.
23992         * configure: Regenerated.
23993         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23994         text.
23995         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23996         * scripts/soversions.awk: Do not handle default_setname variable.
23997         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23998         variable.
23999         * sysdeps/mach/hurd/configure: Regenerated.
24000         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24001         variable.
24002         * sysdeps/unix/sysv/linux/configure: Regenerated.
24004 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24006         * elf/Makefile (CFLAGS-interp.c): Remove.
24007         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24008         path string.
24009         * elf/interp.c: Include generated runtime-linker.h
24011         * Makerules (lib%.so): Don't include $(+interp) in
24012         prerequisites.
24013         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24014         * dlfcn/eval.c: Remove file.
24016         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24017         macros.
24019         [BZ #17266]
24020         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24021         4.2 and newer.
24023         [BZ #17370]
24024         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24026 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24027             Jakub Jelinek  <jakub@redhat.com>
24029         [BZ #17266]
24030         * libio/stdio.h: Check definition of __fortify_function
24031         instead of __extern_always_inline to include bits/stdio2.h.
24032         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24033         check if __extern_always_inline is defined.
24034         [__USE_MISC || __USE_XOPEN]: Likewise.
24035         [__USE_ISOC99] Likewise.
24036         * misc/sys/cdefs.h (__fortify_function): Define only if
24037         __extern_always_inline is defined.
24038         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24039         __extern_always_inline and __extern_inline only for g++-4.3
24040         and newer or a compatible gcc.
24042 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24044         [BZ #17371]
24045         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24046         last change to handle zero prefix length.
24048 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24050         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24051         _SC_REGEX_VERSION.
24053         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24054         _POSIX_RAW_SOCKETS.
24056 2014-09-13  Allan McRae  <allan@archlinux.org>
24058         * po/ru.po: Update Russian translation from translation project.
24060 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24062         * locale/programs/locale.c (show_locale_vars): Inline local function
24063         into its sole call site.  Clean up some style nits.
24064         (print_item): New function, broken out of ...
24065         (show_info): ... local function here.  Clean up style nits.
24067         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24068         out of ...
24069         (set_class_defaults): ... local function set_default here.
24070         Define set_default as a macro locally to pass constant parameters.
24071         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24072         rather than a shared local.
24074         * stdlib/rpmatch.c (try): New function, broken out of ...
24075         (rpmatch): ... local function here.  Also, prototypify definition.
24077 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24079         * scripts/soversions.awk: Do not handle configuration names.
24080         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24081         vendor and os variables to soversions.awk.
24082         * configure.ac: Do not modify gnu-* host_os.
24083         * configure: Regenerated
24084         * shlib-versions: Remove first column with configuration names.
24085         * nptl/shlib-versions: Likewise.
24086         * nptl_db/shlib-versions: Likewise.
24087         * sysdeps/hppa/shlib-versions: Likewise.
24088         * sysdeps/m68k/shlib-versions: Likewise.
24089         * sysdeps/mach/hurd/shlib-versions: Likewise.
24090         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24091         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24092         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24093         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24094         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24095         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24096         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24097         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24099         Likewise.
24100         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24101         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24102         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24103         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24104         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24105         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24106         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24110         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24112         Regenerated.
24113         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24115         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24117         * shlib-versions: Remove OS-specific entries.  Moved to files in
24118         sysdeps.
24119         * sysdeps/mach/hurd/shlib-versions: New file.
24120         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24122         * nptl/shlib-versions: Remove architecture-specific entries.
24123         Moved to files in sysdeps.
24124         * shlib-versions: Likewise.
24125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24126         file.
24127         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24128         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24129         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24130         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24132         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24133         (UDP_NO_CHECK6_RX): Likewise.
24135 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24137         * sysdeps/posix/sysconf.c (__sysconf): Spell
24138         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24140 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24142         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24143         loading.
24144         * iconv/Versions (__gconv_transliterate): Export for use from
24145         gconv modules.
24146         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24147         (struct __gconv_trans_data, __gconv_trans_fct,
24148         __gconv_trans_context_fct, __gconv_trans_query_fct,
24149         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24150         definitions.
24151         (struct __gconv_step_data): Remove __trans member.
24152         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24153         longer hidden.  Remove unused trans_data argument.
24154         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24155         (__gconv_translit_find): Remove declaration.
24156         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24157         prototype.
24158         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24159         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24160         trans_data argument.  Add hidden definition.
24161         (__gconv_translit_find): Remove.
24162         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24163         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24164         * iconv/skeleton.c: Remove transliteration initialization.
24165         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24166         __gconv_step_data initialization.
24167         * libio/iofwide.c (__libio_translit_): Remove.
24168         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24169         * wcsmbs/btowc.c (__btowc): Likewise.
24170         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24171         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24172         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24173         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24174         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24175         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24176         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24177         * wcsmbs/wctob.c (wctob): Likewise.
24179 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24181         [BZ #16194]
24182         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24183         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24184         register usage.
24185         * sysdeps/x86/Makefile: Adjust.
24187 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24188             Roland McGrath  <roland@hack.frob.com>
24190         * locale/weight.h: Add include guard.
24191         (findidx): Make static rather than auto; take new parameters
24192         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24193         * locale/weightwc.h: Likewise.
24194         * posix/fnmatch_loop.c
24195         (FCT): Change type of EXTRA from int32_t to wint_t.
24196         Don't include either header inside the function.
24197         Call FINDIDX rather than findidx, and pass new arguments.
24198         #undef FINDIDX at the end of the file.
24199         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24200         FINDIDX before including fnmatch_loop.c for the non-wide version.
24201         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24202         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24203         for the wide version.
24204         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24205         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24206         Pass new arguments to findidx.
24207         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24208         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24209         Don't #include it inside the function.  Pass new arguments to findidx.
24210         * posix/regex_internal.h
24211         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24212         (re_string_elem_size_at): Don't #include it inside the function.
24213         Pass new arguments to findidx.
24214         * string/strcoll_l.c: #include WEIGHT_H at top level.
24215         (get_next_seq): Don't #include it inside the function.
24216         Pass new arguments to findidx.
24217         (get_next_seq_nocache): Likewise.
24218         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24219         (STRXFRM): Don't #include it inside the function.
24220         Pass new arguments to findidx.
24222 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24224         [BZ #17344]
24225         * malloc/malloc.c (unlink): Turn asserts into a call to
24226         malloc_printerr.
24228 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24230         [BZ #17370]
24231         * libio/wfileops (do_ftell_wide): Free OUT.
24233 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24235         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24237 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24239         [BZ #17363]
24240         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24241         group if the current group is empty.
24243 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24245         * benchtests/bench-memset.c (test_main): Add more test from size
24246         from 32 to 512 bytes.
24247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24248         Add POWER8 memset object.
24249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24250         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24251         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24252         implementation.
24253         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24254         Likewise.
24255         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24256         multiarch POWER8 memset optimization.
24257         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24258         POWER8 memset optimization.
24260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24261         Remove bzero multiarch objects.
24262         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24263         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24264         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24265         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24266         Remove define.
24267         [__bzero]: Redefine to specific name.
24268         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24269         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24270         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24271         define.
24272         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24273         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24275 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24277         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24278         warnings into errors.
24280         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24281         __cxa_thread_atexit_impl prototype.
24283 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24285         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24286         Fix capitalization of error message.
24288 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24290         * sysdeps/mips/preconfigure: Modify ABI tests.
24292 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24294         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24296 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24297             Carlos O'Donell  <carlos@systemhalted.org>
24299         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24300         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24301         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24302         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24303         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24304         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24305         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24306         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24307         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24308         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24309         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24310         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24311         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24312         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24314         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24316         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24318         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24319         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24320         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24321         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24322         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24323         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24324         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
24325         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
24326         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
24327         Deconditionalize the code that was previously under [RESET_PID].
24328         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
24329         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
24330         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
24331         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
24332         include sysdep.h.
24334 2014-09-08  Allan McRae  <allan@archlinux.org>
24336         * version.h (RELEASE): Set to "development".
24337         (VERSION): Set to "2.20.90"
24339 2014-09-07  Allan McRae  <allan@archlinux.org
24341         * version.h (RELEASE): Set to "stable".
24342         (VERSION): Set to "2.20"
24343         * include/features.h (__GLIBC_MINOR__): Set to 20.
24345         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
24346         Liebler.
24348         * po/ko.po: Update Korean translation from translation project.
24350 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
24352         [BZ #17354]
24353         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
24354         macro for handling signed relocations.
24356 2014-09-03  Florian Weimer  <fweimer@redhat.com>
24358         [BZ #17325]
24359         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
24360         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
24361         assert.
24362         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
24363         * iconvdata/ibm935.c (BODY): Likewise.
24364         * iconvdata/ibm937.c (BODY): Likewise.
24365         * iconvdata/ibm939.c (BODY): Likewise.
24366         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
24367         assert.
24368         * iconvdata/Makefile (iconv-test.out): Pass module list to test
24369         script.
24370         * iconvdata/run-iconv-test.sh: New test loop for checking for
24371         decoder crashers.
24373 2014-09-02  Khem Raj  <raj.khem@gmail.com>
24375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
24376         libm_hidden_ver.
24378 2014-09-01  Allan McRae  <allan@archlinux.org>
24380         * po/eo.po: Update Esperanto translation from translation project.
24382         * po/ca.po: Update Catalan translation from translation project.
24384 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24386         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
24387         __proc_dostop call.
24389 2014-08-27  Mark Wielaard  <mjw@redhat.com>
24391         [BZ #17319]
24392         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
24393         to call set_thread_area instead of hand written asm.
24394         (__NR_set_thread_area): Removed define.
24395         (TLS_FLAG_WRITABLE): Likewise.
24396         (__ASSUME_SET_THREAD_AREA): Remove check.
24397         (TLS_EBX_ARG): Remove define.
24398         (TLS_LOAD_EBX): Likewise.
24400 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24402         Simplify atomicity of socket creation in bind.
24404         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
24405         looking up the name after linking the file.
24407 2014-08-27  Allan McRae  <allan@archlinux.org>
24409         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24411 2014-08-26  Florian Weimer  <fweimer@redhat.com>
24413         [BZ #17187]
24414         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
24415         trans_compare, open_translit, __gconv_translit_find):
24416         Remove module loading code.
24418 2014-08-26  Allan McRae  <allan@archlinux.org>
24420         * po/vi.po: Update Vietnamese translation from translation project.
24422         * po/uk.po: Update Ukrainian translation from translation project.
24424         * po/fr.po: Update French translation from translation project.
24426         * po/ru.po: Update Russian translation from translation project.
24428         * po/pl.po: Update Polish translation from translation project.
24430         * po/cs.po: Update Czech translation from translation project.
24432         * po/de.po: Update German translation from translation project.
24434         * po/bg.po: Update Bulgarian translation from translation project.
24436         * po/sv.po: Update Sweedish translation from translation project.
24438         * po/nl.po: Update Dutch translation from translation project.
24440         * po/es.po: Update Spanish translation from translation project.
24442 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24444         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
24446         * catgets/Makefile (CPPFLAGS-gencat): Remove.
24447         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
24448         (CPPFLAGS-iconvconfig): Likewise.
24449         * timezone/Makefile (CPPFLAGS-zic): Likewise.
24451         * include/libc-symbols.h: Remove unnecessary check for
24452         NOT_IN_libc.
24453         * nptl/pthreadP.h: Likewise.
24454         * sysdeps/aarch64/setjmp.S: Likewise.
24455         * sysdeps/alpha/setjmp.S: Likewise.
24456         * sysdeps/arm/sysdep.h: Likewise.
24457         * sysdeps/i386/setjmp.S: Likewise.
24458         * sysdeps/m68k/setjmp.c: Likewise.
24459         * sysdeps/posix/getcwd.c: Likewise.
24460         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24461         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24462         * sysdeps/s390/s390-32/setjmp.S: Likewise.
24463         * sysdeps/s390/s390-64/setjmp.S: Likewise.
24464         * sysdeps/sh/sh3/setjmp.S: Likewise.
24465         * sysdeps/sh/sh4/setjmp.S: Likewise.
24466         * sysdeps/unix/alpha/sysdep.h: Likewise.
24467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24469         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24470         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24473         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24474         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24475         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24478         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24480         * sysdeps/x86_64/setjmp.S: Likewise.
24482 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
24484         [BZ #17263]
24485         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
24486         <stdint.h>.
24487         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
24488         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
24490 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24492         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
24494         [BZ #17262]
24495         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
24496         and __x86_64__ when disabling x87 inline functions.
24498 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
24500         [BZ #17259]
24501         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
24502         asm statement with __cpuid_count.
24504 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24506         * configure.ac: Change __ehdr_start code to dereference the struct.
24507         Run readelf on the output to look for relocations.
24508         * configure: Regenerated.
24510 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
24512         [BZ #17261]
24513         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
24514         value to 0.
24515         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
24517 2014-08-12  Roland McGrath  <roland@hack.frob.com>
24519         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
24521 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
24523         [BZ #16892]
24524         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
24525         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
24527 2014-08-12  Sean Anderson  <seanga2@gmail.com>
24529         * malloc/malloc.c: Fix typo in comment.
24531 2014-08-09  Allan McRae  <allan@archlinux.org>
24533         * Regenerate libc.po.
24535 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
24537         * intl/tst-gettext2.sh: Check every lang file for creation.
24539 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24541         * sysdeps/aarch64/fpu/math_private.h
24542         (libc_feholdsetround_noex_aarch64_ctx): New function.
24544 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
24546         * sysdeps/arm/armv6/strcpy.S (strcpy):
24547         Fix performance issue in misaligned cases.
24549 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24551         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
24552         Move definition from termios.h.
24553         (struct termio): Likewise.
24554         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24555         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24556         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24557         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24558         Likewise.
24559         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
24560         Move definition to ioctl-types.h
24561         (struct termio): Likewise.
24562         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24563         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
24564         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
24565         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
24566         Likewise.
24568 2014-08-05  Richard Henderson  <rth@redhat.com>
24570         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
24571         exceptions.
24572         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
24573         Add fraiseexcpt.
24574         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
24575         Use __feraiseexcept.
24576         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
24577         Protect libm symbols with IS_IN_libm.
24579         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
24581 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
24583         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
24585 2014-08-04  Will Newton  <will.newton@linaro.org>
24587         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
24588         file.
24590 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
24592         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
24593         variants for each function.
24595 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24597         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
24598         appended ...
24599         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
24600         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
24601         appended ...
24602         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
24603         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24604         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
24605         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
24606         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
24607         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
24608         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
24609         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
24610         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
24611         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
24612         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
24613         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
24614         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
24615         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
24616         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
24618         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
24619         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
24620         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
24621         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
24622         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
24623         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
24624         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
24625         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
24626         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
24627         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
24628         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
24629         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
24630         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
24631         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
24632         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
24634         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
24635         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
24636         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
24637         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
24638         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
24639         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
24640         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
24641         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
24642         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
24643         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
24644         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
24645         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
24646         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
24647         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
24648         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
24649         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
24650         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
24651         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
24652         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
24653         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
24654         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
24655         Update #include.
24656         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
24657         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
24659 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24661         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
24662         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
24663         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
24664         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
24665         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
24666         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
24668 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24670         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
24671         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
24672         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24673         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
24675 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24677         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
24678         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
24679         (__libc_vfork): Define function under this name.
24680         (__vfork): Define as an alias.
24681         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
24682         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
24684 2014-08-04  Roland McGrath  <roland@hack.frob.com>
24686         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
24687         that was previously under [RESET_PID].
24688         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
24690 2014-08-04  Andreas Schwab  <schwab@suse.de>
24692         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
24694 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
24696         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
24697         (main): Likewise.
24699 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24701         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
24703 2014-08-01  Richard Henderon  <rth@redhat.com>
24705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
24706         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
24707         typo in exact zero test.
24708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24712 2014-08-01  Roland McGrath  <roland@hack.frob.com>
24714         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
24715         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
24716         * sysdeps/arm/sysdep.h: ... here.
24717         [!__ASSEMBLER__]: Include <stdint.h>.
24719 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24721         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
24722         (HAVE_WCTYPE_H): Likewise.
24723         (HAVE_ISWCTYPE): Likewise.
24724         (ENABLE_NLS): Likewise.
24725         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
24726         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
24728         * posix/regex_internal.c: Check if DEBUG is defined and is
24729         set.
24731         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
24732         (HAVE_MBSRTOWCS): Likewise.
24733         * posix/fnmatch.c: Include string.h unconditionally.
24735 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24737         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
24738         reversal.
24740 2014-07-31  Roland McGrath  <roland@hack.frob.com>
24742         * sysdeps/generic/safe-fatal.h: New file.
24743         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
24744         * nptl/forward.c: Include it.
24745         (__pthread_unwind): Use __safe_fatal as default action, rather
24746         than a bogus use of INTERNAL_SYSCALL that could never work.
24748         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
24749         * configure.ac (libc_cv_builtin_trap): New test.
24750         * configure: Regenerated.
24751         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
24752         (ABORT_INSTRUCTION): Define using __builtin_trap.
24754         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
24755         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
24756         * sysdeps/nptl/nptl-signals.h: New file.
24757         * nptl/pthreadP.h: Include <nptl-signals.h>.
24759 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24761         * sysdeps/s390/s390-64/utf16-utf32-z9.c
24762         (ONE_DIRECTION): Define.
24763         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24764         (ONE_DIRECTION): Define.
24765         * sysdeps/s390/s390-64/utf8-utf32-z9.c
24766         (ONE_DIRECTION): Define.
24768 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
24770         * sysdeps/s390/Makefile: Delete file.
24771         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
24772         * sysdeps/s390/__longjmp.c: Delete file.
24773         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
24774         Remove fields __flags and __reserved.
24775         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
24776         and add versioning.
24777         * sysdeps/s390/rtld-__longjmp.c: Delete file.
24778         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
24779         * sysdeps/s390/rtld-setjmp.S: Likewise.
24780         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
24781         * sysdeps/s390/s390-32/__longjmp.c: ... here.
24782         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
24783         * sysdeps/s390/s390-32/setjmp.S: ... here.
24784         Add versioning.
24785         (__sigsetjmp): Remove setting __flags field.
24786         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
24787         * sysdeps/s390/s390-64/__longjmp.c: ... here.
24788         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
24789         * sysdeps/s390/s390-64/setjmp.S: ... here.
24790         Add versioning.
24791         (__sigsetjmp): Remove setting __flags field.
24792         * sysdeps/s390/setjmp.S: Delete file.
24793         * sysdeps/s390/sigjmp.c: Likewise.
24794         * sysdeps/s390/v1-longjmp.c: Likewise.
24795         * sysdeps/s390/v1-setjmp.h: Likewise.
24796         * sysdeps/s390/v1-sigjmp.c: Likewise.
24797         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
24798         Remove v1-longjmp_chk.
24799         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
24800         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
24801         Include debug/longjmp_chk.c and add versioning.
24802         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
24803         Include nptl/pt-longjmp.c and add versioning.
24804         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
24805         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
24806         Include __longjmp.c.
24807         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24808         Move to ...
24809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
24810         (__getcontext): Remove setting __flags field.
24811         Add versioning.
24812         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24813         Don't restore upper high grps.
24814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
24815         Likewise.
24816         (__swapcontext): Remove setting uc_flags field.
24817         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
24818         Delete file.
24819         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24820         Include __longjmp.c.
24821         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24822         Move to ...
24823         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
24824         (__getcontext): Remove setting __flags field.
24825         Add versioning.
24826         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
24827         (__swapcontext): Remove setting uc_flags field.
24828         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
24829         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
24830         Remove fields uc_high_gprs and __reserved.
24831         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
24832         New file with reverted content.
24833         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
24834         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
24835         Regenerated.
24836         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
24837         Regenerated.
24839 2014-07-31  Andreas Schwab  <schwab@suse.de>
24841         * config.h.in (HAVE_IFUNC): Define to 0.
24842         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
24843         definedness.
24845 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
24847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24848         memmove-avx-unaligned, memcpy-avx-unaligned and
24849         mempcpy-avx-unaligned.
24850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24851         Add tests for AVX memcpy functions.
24852         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24854         memcpy_chk.
24855         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24856         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24857         memmove_chk.
24858         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24860         mempcpy_chk.
24861         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24862         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24863         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24865 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24867         [BZ #17213]
24868         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24869         powerpc64le.
24871 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24873         [BZ #16839]
24874         * manual/llio.texi: Add section about open file description locks.
24875         * manual/examples/ofdlocks.c: Example of open file description
24876         lock usage.
24877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24878         F_OFD_SETLK, and F_OFD_SETLKW.
24880 2014-07-23  Allan McRae  <allan@archlinux.org>
24882         * po/es.po: Update Spanish translation from translation project.
24884 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24888 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24890         [BZ #17078]
24891         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24892         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24893         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24895 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24897         [BZ #17088]
24898         * math/fesetenv.c (__fesetenv)
24899         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24900         * math/feupdateenv.c (__feupdateenv)
24901         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24903         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24904         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24905         (__ASSUME_SOCKETCALL): Do not define.
24907         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24908         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24909         (__ASSUME_SOCKETCALL): Do not define.
24910         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24911         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24912         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24913         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24914         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24915         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24917         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24919         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24920         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24921         (__ASSUME_SOCKETCALL): Do not define.
24922         (__ASSUME_IPC64): Define unconditionally.
24923         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24924         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24925         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24927         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24929         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24930         Likewise.
24932         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24933         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24934         (__ASSUME_SOCKETCALL): Do not define.
24935         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24936         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24937         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24938         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24939         (__ASSUME_REQUEUE_PI): Define unconditionally.
24940         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24941         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24942         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24943         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24944         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24945         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24947         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24948         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24949         (__ASSUME_SOCKETCALL): Do not define.
24950         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24951         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24952         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24953         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24954         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24955         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24957         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24958         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24959         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24960         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24961         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24962         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24964         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24965         (__ASSUME_GETCPU_SYSCALL): Likewise.
24967         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24968         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24969         cases for individual architectures.
24970         * sysdeps/gnu/configure: Regenerated.
24971         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24972         LIBC_SLIBDIR_RTLDDIR.
24973         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24974         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24975         LIBC_SLIBDIR_RTLDDIR.
24976         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24978         LIBC_SLIBDIR_RTLDDIR.
24979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24980         Regenerated.
24981         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24982         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24983         file.
24984         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24985         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24986         file.
24987         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24988         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24989         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24990         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24992         * sysdeps/aarch64/shlib-versions: Move to ...
24993         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24994         * sysdeps/alpha/shlib-versions: Move to ...
24995         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24996         * sysdeps/arm/shlib-versions: Move to ...
24997         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24998         * sysdeps/hppa/shlib-versions: Move all contents except for
24999         libgcc_s entry to ...
25000         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25001         entry from ...
25002         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25003         * sysdeps/ia64/shlib-versions: Move to ...
25004         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25005         entry from ...
25006         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25007         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25008         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25009         * sysdeps/microblaze/shlib-versions: Move to ...
25010         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25011         * sysdeps/mips/shlib-versions: Move to ...
25012         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25013         entry from ...
25014         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25015         * sysdeps/tile/shlib-versions: Move to ...
25016         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25017         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25018         from ...
25019         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25020         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25021         entry from ...
25022         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25024 2014-07-17  Will Newton  <will.newton@linaro.org>
25026         * sysdeps/arm/bits/atomic.h
25027         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25028         (__arch_compare_and_exchange_bool_16_int): Likewise.
25029         (__arch_compare_and_exchange_bool_64_int): Likewise.
25031         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25032         into an #else block.
25034 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25036         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25037         just Linux configurations.  Test empirically that the compiler sets
25038         __ARM_EABI__, rather than using the tuple to decide.
25039         * sysdeps/arm/preconfigure: Regenerated.
25040         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25041         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25042         contents appended ...
25043         * sysdeps/arm/configure.ac: ... here.
25044         * sysdeps/arm/configure: Regenerated.
25046 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25048         * nptl/pthread_kill.c: New file.
25049         * nptl/pthread_sigmask.c: New file.
25050         * nptl/pthread_sigqueue.c: New file.
25052         * sysdeps/nptl/lowlevellock.h: New file.
25053         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25054         * sysdeps/nptl/lowlevellock-futex.h: New file.
25056         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25057         Remove dead declarations.
25059 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25061         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25062         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25063         config-cflags-avx2.
25064         * sysdeps/x86_64/configure.ac: Likewise.
25065         * sysdeps/i386/configure: Regenerated.
25066         * sysdeps/x86_64/configure: Likewise.
25067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25068         memset-avx2 only if config-cflags-avx2 is yes.
25069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25070         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25071         defined.
25072         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25073         only if HAVE_AVX2_SUPPORT is defined.
25074         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25076 2014-07-14  Alan Modra  <amodra@gmail.com>
25078         [BZ #17153]
25079         * elf/elf.h (DT_PPC64_NUM): Correct value.
25080         * NEWS: Add to fixed bug list.
25082 2014-07-13  Jim Meyering  <meyering@fb.com>
25084         [BZ 17150]
25085         regex: don't deref NULL upon heap allocation failure
25086         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25087         failure in one more place.
25088         To trigger the segfault, configure grep -with-included-regex,
25089         build it, and run these commands:
25090         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25092 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25094         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25096 2014-07-11  Richard Henderson  <rth@redhat.com>
25098         * sysdeps/aarch64/libm-test-ulps: Update.
25100 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25102         [BZ #17135]
25103         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25104         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25105         (__nptl_setxid): Initialize error member.  Call
25106         __nptl_setxid_error.
25107         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25108         * nptl/descr.h (struct xid_command): Add error member.
25109         * nptl/tst-setuid3.c: New file.
25110         * nptl/Makefile (tests): Add it.
25112 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25115         New define.
25116         (__lll_trylock): Use __lll_base_trylock.
25117         (__lll_cond_trylock): Likewise.
25119 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25121         * nptl/pthread_create.c (start_thread): Use atomic_or and
25122         lll_futex_wake directly rather than lll_robust_dead.
25123         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25124         (lll_robust_dead): Macro removed.
25125         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25127         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25128         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25129         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25130         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25131         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25132         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25133         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25135         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25137         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25138         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25139         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25141         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25142         Use atomic_compare_and_exchange_val_acq directly rather than
25143         lll_robust_trylock.
25144         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25145         (__lll_robust_trylock, lll_robust_trylock): Removed.
25146         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25147         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25148         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25149         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25150         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25151         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25152         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25153         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25154         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25155         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25156         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25157         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25158         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25159         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25161 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25163         * manual/locale.texi (Locale Names): New section documenting
25164         locale name syntax.  Adjust menu and node chaining accordingly.
25165         (Choosing Locale): Reference Locale Names, Locale Categories.
25166         Mention setting LC_ALL=C.  Reflect that name syntax is now
25167         documented.
25168         (Locale Categories): New section title.  Reference Locale Names.
25169         LC_ALL is an environment variable, but not a category.
25170         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25171         description, now in Locale Name.  Reference that section.  Locale
25172         name syntax is now documented.
25174 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25176         [BZ #17137]
25177         * locale/findlocale.c (name_present, valid_locale_name): New
25178         functions.
25179         (_nl_find_locale): Use the loc_name variable to store name
25180         candidates.  Call name_present and valid_locale_name to check and
25181         validate locale names.  Return an error if the locale is invalid.
25183 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25185         * locale/setlocale.c (setlocale): Use strdup for allocating
25186         composite name copy.
25188 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25190         Sync up with gnulib.
25191         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25192         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25193         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25194         and _GL_ARG_NONNULL.
25195         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25196         [!_LIBC]: Include code for Windows and Cygwin.
25197         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25198         Include prototype for int strerror_r.
25199         [!_LIBC] (is_open): New function.
25200         (flush_stdout): New function.
25201         (print_errno_message): Use it.
25202         (error): Likewise.
25203         (error_at_line): Likewise.
25204         (error_tail) Add function attribute macros.  Use
25205         __builtin_expect.
25207         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25209         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25211         * io/ftw.c: Include sys/param.h unconditionally.
25213         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25215         [BZ #17125]
25216         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25217         libc_freeres_ptr.
25218         (freecache): New function to free CACHE on exit.
25220         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25221         initialization.
25223 2014-07-09  David S. Miller  <davem@davemloft.net>
25225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25227         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25228         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25229         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25230         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25231         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25232         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25233         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25234         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25235         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25236         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25237         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25238         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25239         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25241 2014-07-09  Andreas Schwab  <schwab@suse.de>
25243         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25244         output.
25245         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25246         (do_test): Likewise.
25248         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25250 2014-07-09  Will Newton  <will.newton@linaro.org>
25252         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25253         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25254         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25255         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25256         * sysdeps/hppa/start.S (_start): Likewise.
25258 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25260         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25262         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25263         defined.
25265 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25267         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25268         after checking that it is non-NULL.
25270         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25272 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25274         * sysdeps/powerpc/memmove.c: Remove file.
25275         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25276         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25277         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25278         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25280         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25281         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25282         string memmove instead of removed powerpc one.
25284         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25285         [weak_alias]: Fix compiler warning due trailing data.
25286         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25287         [weak_alias]: Likewise.
25288         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25289         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25292         (__libc_ifunc_impl_list): Add memmove functions.
25294 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25297         Remove code.
25298         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25299         Likewise.
25300         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25301         Likewise.
25302         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25303         Likewise.
25304         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25305         Likewise.
25306         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25307         Likewise.
25308         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25309         Likewise.
25310         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25311         Likewise.
25312         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25313         Likewise.
25314         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25315         Likewise.
25316         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25317         Likewise.
25318         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25319         Likewise.
25320         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25321         Likewise.
25322         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25323         Likewise.
25324         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
25325         Likewise.
25326         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
25327         Likewise.
25328         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
25329         Likewise.
25331 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25333         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
25334         to avoid alignment traps in non-cacheable memory.
25335         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25337         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
25338         multiarch objects.
25339         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
25340         file: multiarch power7 memmove.
25341         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
25342         multiarch default memmove.
25343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
25344         multiarch memove for powerpc32/power4.
25346         * string/bcopy.c: Use full path to include memmove.c.
25347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
25348         multiarch objects.
25349         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
25350         bcopy for powerpc64.
25351         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
25352         bcopy for powerpc64.
25353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
25354         and memmove implementations.
25355         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
25356         optimized multiarch memmove for POWER7/powerpc64.
25357         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
25358         default multiarch memmove for powerpc64.
25359         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
25360         multiarch for powerpc64.
25361         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
25362         for POWER7/powerpc64.
25363         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
25364         memmove for POWER7/powerpc64.
25366         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
25367         glibc default one.
25369         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
25370         __ELF_NATIVE_CLASS equal to 64.
25372 2014-07-07  Roland McGrath  <roland@hack.frob.com>
25374         * sysdeps/nptl/lowlevellock.h: File removed.
25376         * NEWS: NPTL is no longer an add-on!
25377         * nptl/internaltypes.h: Moved ...
25378         * sysdeps/nptl/internaltypes.h: ... here.
25379         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
25380         * sysdeps/nptl/fork.c: Likewise.
25381         * sysdeps/nptl/gai_misc.h: Likewise.
25382         * sysdeps/nptl/librt-cancellation.c: Likewise.
25383         * sysdeps/nptl/jmp-unwind.c: Likewise.
25384         * sysdeps/nptl/setxid.h: Likewise.
25385         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
25386         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
25387         * sysdeps/unix/sysv/linux/arm/Implies: New file.
25388         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
25389         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
25390         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
25391         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
25392         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
25393         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
25394         * sysdeps/unix/sysv/linux/mips/Implies: New file.
25395         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
25396         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
25397         * sysdeps/unix/sysv/linux/sh/Implies: New file.
25398         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
25399         * sysdeps/unix/sysv/linux/tile/Implies: New file.
25400         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
25401         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
25402         * nptl/Makeconfig: Moved ...
25403         * sysdeps/nptl/Makeconfig: ... here.
25404         * nptl/configure: File removed.
25405         * nptl/ANNOUNCE: File removed.
25406         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
25407         * sysdeps/unix/sysv/linux/configure: Regenerated.
25409         * nptl/Makefile (routines): Add libc_pthread_init,
25410         libc_multiple_threads, register-atfork and unregister-atfork.
25411         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
25412         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
25413         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
25414         pthread-pi-defines.sym, structsem.sym.
25415         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
25416         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
25417         [$(subdir) = nptl] (tests): Add tst-setgetname.
25418         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
25419         * sysdeps/unix/sysv/linux/sigaction.c: Just include
25420         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
25421         [!LIBC_SIGACTION]: Remove aliases.
25422         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25423         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25424         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25425         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
25426         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25427         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
25428         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25429         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25430         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25431         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
25432         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
25433         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
25434         __libc_allocate_rtsig_private.
25435         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
25436         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
25437         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25438         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25439         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
25440         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
25441         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
25442         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
25443         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
25444         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
25445         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
25446         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
25447         * nptl/internaltypes.h: ... here.
25448         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
25449         * sysdeps/nptl/jmp-unwind.c: ... here.
25450         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
25451         * nptl/libc-lowlevellock.c: ... here.
25452         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
25453         * nptl/libc_multiple_threads.c: ... here.
25454         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
25455         * nptl/libc_pthread_init.c: ... here.
25456         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
25457         * nptl/lowlevelbarrier.sym: ... here.
25458         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
25459         * nptl/lowlevelcond.sym: ... here.
25460         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
25461         * nptl/lowlevellock.c: ... here.
25462         * nptl/lowlevellock.h: Moved ...
25463         * sysdeps/nptl/lowlevellock.h: ... here.
25464         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
25465         * nptl/lowlevelrobustlock.c: ... here.
25466         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
25467         * nptl/lowlevelrobustlock.sym: ... here.
25468         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
25469         * nptl/lowlevelrwlock.sym: ... here.
25470         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
25471         * nptl/pt-fork.c: ... here.
25472         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
25473         * nptl/pthread-pi-defines.sym: ... here.
25474         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
25475         * nptl/pthread_attr_getaffinity.c: ... here.
25476         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
25477         * nptl/pthread_attr_setaffinity.c: ... here.
25478         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
25479         * nptl/pthread_mutex_cond_lock.c: ... here.
25480         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25481         Update #include.
25482         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
25483         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
25484         * nptl/pthread_once.c: ... here, replacing old file.
25485         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
25486         * nptl/pthread_yield.c: ... here.
25487         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
25488         * nptl/register-atfork.c: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
25490         * nptl/sem_post.c: ... here.
25491         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
25492         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
25493         * nptl/sem_timedwait.c: ... here.
25494         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
25495         * nptl/sem_trywait.c: ... here.
25496         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
25497         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
25498         * nptl/sem_wait.c: ... here.
25499         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
25500         * nptl/structsem.sym: ... here.
25501         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
25502         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
25503         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
25504         * nptl/unregister-atfork.c: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
25506         * nptl/unwindbuf.sym: ... here.
25507         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
25508         * sysdeps/nptl/fork.c: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
25510         * sysdeps/nptl/fork.h: ... here.
25511         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
25512         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
25513         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
25514         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
25515         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
25516         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
25517         * sysdeps/unix/sysv/linux/getpid.c: ... here.
25518         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
25519         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
25520         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
25521         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
25522         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
25523         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
25524         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
25525         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
25526         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
25527         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
25528         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
25529         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
25530         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
25531         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
25532         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
25533         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
25534         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
25535         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
25536         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
25537         * sysdeps/unix/sysv/linux/raise.c: ... here.
25538         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
25539         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
25540         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
25541         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
25542         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
25543         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
25544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
25545         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
25546         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
25547         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
25548         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
25549         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
25551         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
25552         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
25554 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25556         * sysdeps/generic/memcopy.h: Add comment for
25557         MEMCPY_OK_FOR_FWD_MEMMOVE.
25559 2014-07-04  Will Newton  <will.newton@linaro.org>
25561         * string/memchr.c: Merge from gnulib.
25562         [_LIBC]: Remove conditionals.
25563         (__ptr_t): Remove define.
25564         (LONG_MAX_32_BITS): Likewise.
25565         (LONG_MAX): Likewise.
25566         (MEMCHR): Use ANSI prototype and optimize algorithm.
25568         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
25570 2014-07-03  Roland McGrath  <roland@hack.frob.com>
25572         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
25573         (lll_futex_timed_wait_bitset): Fix syscall argument count.
25575         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
25576         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
25577         in a bare environment with no <stdlib.h> installed.
25578         * sysdeps/nptl/configure: Regenerated.
25580         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
25582         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
25583         AC_EGREP_CPP for kernel header checks, so they only succeed if
25584         including <linux/version.h> actually works right.
25585         * sysdeps/unix/sysv/linux/configure: Regenerated.
25587         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
25588         value so it's not diagnosed as unused.
25590         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
25591         thing) with "ifeq ($(subdir),rt)".
25593 2014-07-03  Richard Henderson  <rth@redhat.com>
25595         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
25596         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
25597         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
25599         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
25600         (math_force_eval): New.
25602         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
25603         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
25605         * sysdeps/alpha/fpu/s_round.c: Remove file.
25606         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
25608         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
25609         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
25610         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
25611         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
25612         (_dl_start, print_statistics): Likewise.
25613         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
25614         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
25616         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25617         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25618         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25619         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25620         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25621         (HP_SMALL_TIMING_AVAIL): Define.
25622         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25624         (HP_SMALL_TIMING_AVAIL): Define.
25625         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25626         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
25628         * sysdeps/aarch64/hp-timing.h: New file.
25630         * sysdeps/generic/hp-timing.h: Remove dead comment.
25631         * sysdeps/generic/hp-timing-common.h: New file.
25632         * sysdeps/alpha/hp-timing.h: Include it.
25633         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
25634         * sysdeps/i386/i686/hp-timing.h: Likewise.
25635         * sysdeps/ia64/hp-timing.h: Likewise.
25636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25639         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25640         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
25641         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
25642         (hp_timing_t): New.
25644         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
25645         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
25646         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
25647         * elf/rtld.c (_dl_start_final): Likewise.
25648         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
25649         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25650         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25652         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25654         (HP_TIMING_DIFF_INIT): Remove.
25655         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25656         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
25657         (HP_TIMING_DIFF_INIT): Remove.
25658         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
25659         * sysdeps/i386/i686/hp-timing.c: Remove file.
25660         * sysdeps/x86_64/hp-timing.c: Remove file.
25661         * sysdeps/ia64/hp-timing.c: Remove file.
25662         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
25663         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
25664         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
25665         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
25667         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
25668         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
25669         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
25670         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25671         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
25672         (HP_TIMING_ACCUM): Remove.
25673         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25674         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
25675         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
25677         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
25678         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
25679         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
25680         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
25681         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
25682         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25683         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
25684         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
25686         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
25688 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
25690         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
25692 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25694         Sync up with gettext.
25695         * intl/loadmsgcat.c: Define O_BINARY if not defined.
25696         [_MSC_VER]: Include malloc.h
25697         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
25698         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
25699         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
25700         TEMP_FAILURE_RETRY.  Cast return of alloca.
25701         [!_LIBC] Call gl_rwlock_init.
25702         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
25704 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25706         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
25707         before checking its value.
25709 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25711         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25713         * debug/memcpy_chk.c: Don't include pagecopy.h.
25714         * debug/mempcpy_chk.c: Likewise.
25715         * string/memcpy.c: Likewise.
25716         * string/memmove.c: Likewise.
25717         * sysdeps/powerpc/memmove.c: Likewise.
25718         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
25719         definition of PAGE_COPY_FWD_MAYBE here...
25720         * sysdeps/generic/pagecopy.h: ... from here.
25721         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
25723 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25724             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25726         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
25727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
25728         optimizations.
25729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25730         (__libc_ifunc_impl_list): Likewise.
25731         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
25732         multiarch strcat for PPC64.
25733         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
25734         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25736 2014-07-02  Roland McGrath  <roland@hack.frob.com>
25738         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
25740 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25742         * intl/loadmsgcat.c: Remove declaration of
25743         get_sysdep_segment_value.
25744         (get_sysdep_segment_value): Use ISO C style.
25745         (_nl_load_domain): Use ISO C style.  Get rid of redundant
25746         semicolon.  Fix typo and formatting in comment.
25747         (_nl_unload_domain): Use ISO C style.
25749         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
25751 2014-07-02  Will Newton  <will.newton@linaro.org>
25753         * malloc/obstack.c: Merge from gnulib master.
25754         [HAVE_CONFIG_H]: Remove conditional code.
25755         [!_LIBC]: Include config.h.
25756         [!ELIDE_CODE]: Don't include inttypes.h, include
25757         stdint.h unconditionally.
25758         (print_and_abort): Mark as _Noreturn.
25759         (_obstack_allocated_p): Mark as __attribute_pure__.
25760         (obstack_free): Rename to __obstack_free.
25761         [!__attribute__]: Remove conditional code.
25762         * malloc/obstack.h: Merge from gnulib master.
25763         [__cplusplus]: Move conditional down.
25764         [!__attribute_pure__]: Define __attribute_pure__ here
25765         if it is not already defined.
25766         (_obstack_memory_used): Mark as __attribute_pure__.
25767         [!__obstack_free]: Define as obstack_free.
25768         [__GNUC__]: Remove check for ancient NeXT gcc.
25770 2014-07-02  Will Newton  <will.newton@linaro.org>
25771             Paul Eggert  <eggert@cs.ucla.edu>
25773         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
25775 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25777         * resolv/gethnamaddr.c: Add comment warning that the file is
25778         not maintained.
25780 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
25782         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
25783         entries.
25785         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
25786         entry for aio_cancel and aio_cancel64.
25787         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
25788         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
25789         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
25790         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
25791         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
25792         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
25793         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
25794         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
25795         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
25796         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
25797         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
25798         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
25799         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
25801 2014-07-01  Roland McGrath  <roland@hack.frob.com>
25803         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
25804         * nptl/pthread_mutex_lock.c: Likewise.
25805         * nptl/pthread_mutex_timedlock.c: Likewise.
25806         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
25808 2014-07-01  Richard henderson  <rth@redhat.com>
25810         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
25811         (__isnan, __isnanl): Remove.
25812         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
25814         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25816 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25818         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25820 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25822         * resolv/nss_dns/dns-host.c (getanswer_r)
25823         [MULTI_PTRS_ARE_ALIASES]: Remove code.
25825 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
25827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25828         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
25829         undefine.
25830         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
25831         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
25833 2014-07-01  Roland McGrath <roland@hack.frob.com>
25835         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25836         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
25838         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
25839         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
25841         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
25842         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
25843         ... here.
25844         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
25845         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
25847         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
25848         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25849         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
25850         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
25852         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25853         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25854         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25855         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25856         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25857         Moved ...
25858         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25859         ... here.
25860         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25861         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25862         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25863         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25864         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25865         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25866         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25867         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25868         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25869         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25870         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25871         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25873         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25877         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25878         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25879         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25880         ... here.
25881         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25882         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25883         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25884         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25885         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25886         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25887         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25888         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25890 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25892         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25893         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25894         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25895         Add sysdep.
25897 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25901 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25903         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25904         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25906         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25908         * sysdeps/arm/libm-test-ulps: Regenerated.
25910 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25911             Roland McGrath <roland@hack.frob.com>
25913         * test-skeleton.c (signal_handler): Kill the whole process group
25914         before killing the child individually.
25915         (main): Report any failure on `setpgid'.
25917 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25919         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25920         from _TLS_H to _ARM_NPTL_TLS_H.
25921         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25922         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25924 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25926         [BZ #16539]
25927         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25928         (__expm1l): Return argument unchanged when small but not
25929         subnormal.
25931         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25932         include macro name.
25933         (_FP_UNPACK_RAW_1_P): Likewise.
25934         (_FP_PACK_RAW_1): Likewise.
25935         (_FP_PACK_RAW_1_P): Likewise.
25936         (_FP_MUL_MEAT_1_wide): Likewise.
25937         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25938         (_FP_MUL_MEAT_1_hard): Likewise.
25939         (_FP_DIV_MEAT_1_imm): Likewise.
25940         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25941         (_FP_DIV_MEAT_1_udiv): Likewise.
25942         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25943         (_FP_UNPACK_RAW_2): Likewise.
25944         (_FP_UNPACK_RAW_2_P): Likewise.
25945         (_FP_PACK_RAW_2): Likewise.
25946         (_FP_PACK_RAW_2_P): Likewise.
25947         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25948         (_FP_MUL_MEAT_2_wide): Likewise.
25949         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25950         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25951         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25952         (_FP_MUL_MEAT_2_gmp): Likewise.
25953         (_FP_DIV_MEAT_2_udiv): Likewise.
25954         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25955         (_FP_FRAC_SRL_4): Likewise.
25956         (_FP_FRAC_SRST_4): Likewise.
25957         (_FP_FRAC_SRS_4): Likewise.
25958         (_FP_UNPACK_RAW_4): Likewise.
25959         (_FP_UNPACK_RAW_4_P): Likewise.
25960         (_FP_PACK_RAW_4): Likewise.
25961         (_FP_PACK_RAW_4_P): Likewise.
25962         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25963         (_FP_MUL_MEAT_4_wide): Likewise.
25964         (_FP_MUL_MEAT_4_gmp): Likewise.
25965         (umul_ppppmnnn): Likewise.
25966         (_FP_DIV_MEAT_4_udiv): Likewise.
25967         (__FP_FRAC_ADD_4): Likewise.
25968         (__FP_FRAC_SUB_3): Likewise.
25969         (__FP_FRAC_SUB_4): Likewise.
25970         (__FP_FRAC_DEC_3): Likewise.
25971         (__FP_FRAC_DEC_4): Likewise.
25972         (__FP_FRAC_ADDI_4): Likewise.
25973         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25974         (_FP_FRAC_SRL_8): Likewise.
25975         (_FP_FRAC_SRS_8): Likewise.
25977         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25978         include macro name.
25979         (FP_UNPACK_RAW_EP): Likewise.
25980         (FP_PACK_RAW_E): Likewise.
25981         (FP_PACK_RAW_EP): Likewise.
25982         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25983         (_FP_ISSIGNAN): Likewise.
25984         (_FP_ADD_INTERNAL): Likewise.
25985         (_FP_FMA): Likewise.
25986         (_FP_CMP): Likewise.
25987         (_FP_SQRT): Likewise.
25988         (_FP_TO_INT): Likewise.
25989         (_FP_FROM_INT): Likewise.
25990         (FP_EXTEND): Likewise.
25991         (_FP_DIV_MEAT_N_loop): Likewise.
25993 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25995         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25996         throughout.
25998 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26000         [BZ #17097]
26001         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26002         result with correct sign in case of exponents that produce
26003         overflow except for X very close to 1.
26005 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26007         mktime: merge #if/#ifdef usage from glibc
26008         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26009         as that works with both Glibc's and Gnulib's style.
26010         See thread starting at Siddhesh Poyarekar's bug report at:
26011         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26013 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26015         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26016         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26017         * sysdeps/tile/tilegx/memmove.c: Remove file.
26019 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26021         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26022         abi-name definition.
26023         * scripts/soversions.awk: Do not handle or generate ABI lines.
26024         * shlib-versions: Remove ABI entries.
26025         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26026         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26028 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26031         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26032         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26033         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26035         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26037         Moved ...
26038         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26039         ... here.
26040         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26041         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26043         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26045         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26047         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26049         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26051         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26053         Moved ...
26054         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26056         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26058         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26060         Moved ...
26061         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26063         Moved ...
26064         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26066         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26068         Moved ...
26069         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26071         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26073         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26075         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26077         Moved ...
26078         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26080         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26081         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26082         Moved ...
26083         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26085         Moved ...
26086         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26088         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26090         Moved ...
26091         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26092         ... here.
26093         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26094         Identical file removed.
26095         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26096         Moved ...
26097         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26099         Identical file removed.
26100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26101         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26103         Moved ...
26104         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26106         Identical file removed.
26107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26108         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26110         Identical file removed.
26111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26112         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26114         Identical file removed.
26115         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26116         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26118         Identical file removed.
26119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26120         Moved ...
26121         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26123         Identical file removed.
26124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26125         Moved ...
26126         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26128         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26130         Identical file removed.
26131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26132         Moved ...
26133         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26134         ... here.
26135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26136         Identical file removed.
26137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26138         Moved ...
26139         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26141         Identical file removed.
26142         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26143         Moved ...
26144         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26146         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26147         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26148         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26150         Moved ...
26151         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26152         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26153         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26155         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26156         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26157         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26158         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26159         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26161 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26163         [BZ #17092]
26164         * nscd/nscd.c (monitor_child): Return exit status of child
26165         instead of return value from wait syscall.
26167 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26169         * configure.ac (libc_commonpagesize): Remove variable.
26170         (libc_relro_required): Likewise.
26171         (libc_cv_z_relro): Remove configure test.
26172         * configure: Regenerated.
26173         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26174         variable.
26175         (libc_relro_required): Likewise.
26176         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26177         (libc_relro_required): Likewise.
26178         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26179         (libc_relro_required): Likewise.
26180         * sysdeps/arm/preconfigure: Regenerated.
26181         * sysdeps/ia64/preconfigure: Remove file.
26182         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26183         variable.
26184         (libc_relro_required): Likewise.
26186         [BZ #16561]
26187         [BZ #16562]
26188         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26189         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26190         recompute overflowing results in original rounding mode.
26191         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26192         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26193         recompute overflowing results in original rounding mode.
26194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26195         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26196         recompute overflowing results in original rounding mode.
26197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26198         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26199         recompute overflowing results in original rounding mode.
26200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26201         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26202         recompute overflowing results in original rounding mode.
26203         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26204         (libc_feholdsetround_ctx): New macro.
26205         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26206         * sysdeps/i386/fpu/libm-test-ulps: Update.
26207         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26209 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26211         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26212         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26213         corresponding .cpsetup call.
26215 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26217         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26218         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26219         * sysdeps/arm/Makefile [$(subdir) = csu]
26220         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26221         (static-only-routines): Add aeabi_read_tp here.
26222         (shared-only-routines): Add libc-aeabi_read_tp here.
26223         (CFLAGS-libc-start.c): Add -fexceptions here.
26224         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26225         (sysdep_routines, static-only-routines, shared-only-routines):
26226         Don't add to these here.
26227         (CFLAGS-libc-start.c): Likewise.
26229         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26230         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26231         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26232         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26233         * sysdeps/arm/Makefile [$(subdir) = rt]
26234         (librt-sysdep_routines, librt-shared-only-routines):
26235         Append rt-aeabi_unwind_cpp_pr1 here.
26236         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26237         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26238         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26239         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26240         Append nptl-aeabi_unwind_cpp_pr1 here.
26241         (tests): Filter out tst-cleanupx4 here.
26242         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26243         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26244         Don't do those here.
26246 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26248         * scripts/list-sources.sh: Do not handle ports specially.
26250 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26252         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26253         * sysdeps/arm/feupdateenv.c: Likewise.
26255         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26257 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26259         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26260         trailing whitespace removed.
26261         * scripts/config.guess: Update to version 2014-03-23.
26262         * scripts/config.sub: Update to version 2014-05-01
26263         * scripts/install-sh: Update to version 2013-12-25.23.
26264         * scripts/move-if-change: Update from gnulib.
26266 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26268         * debug/memmove_chk.c: Remove pagecopy.h include.
26270 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26272         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26273         identical to gnulib mktime.
26275 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26277         * configure.ac: Do not test for machine being rs6000.  Do not test
26278         for powerpc*-*soft.
26279         * configure: Regenerated.
26281         [BZ #11505]
26282         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26283         test.
26284         * configure: Regenerated.
26285         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26286         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26287         Remove configure test.
26288         * sysdeps/arm/configure: Regenerated.
26289         * sysdeps/nptl/configure.ac: Do not check
26290         libc_cv_asm_cfi_directives.
26291         * sysdeps/nptl/configure: Regenerated.
26292         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26293         * sysdeps/x86_64/nptl/configure: Remove generated file.
26294         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26295         unconditional.
26296         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26298 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26300         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26301         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26302         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26303         it is defined.
26305         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26306         instead of whether it is defined.
26307         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26308         * sysdeps/hppa/dl-machine.h: Likewise.
26309         * sysdeps/ia64/dl-machine.h: Likewise.
26310         * sysdeps/m68k/dl-machine.h: Likewise.
26311         * sysdeps/microblaze/dl-machine.h: Likewise.
26312         * sysdeps/mips/dl-machine.: Likewise.
26313         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26314         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26315         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26316         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26317         * sysdeps/sh/dl-machine.h: Likewise.
26318         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26319         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26320         * sysdeps/tile/dl-machine.h: Likewise.
26321         * sysdeps/x86_64/dl-machine.h: Likewise.
26323         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26324         code.
26325         (verify_persistent_db): Likewise.
26327 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
26330         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
26331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
26332         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
26333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26334         Moved ...
26335         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
26336         ... here.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
26338         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
26339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
26340         Identical file removed.
26341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
26342         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
26343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
26344         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
26345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
26346         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
26347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
26348         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
26349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
26350         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
26351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26352         Moved ...
26353         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
26354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
26355         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
26356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
26357         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
26358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
26361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
26362         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
26363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
26364         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
26365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26366         Identical file removed.
26367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
26368         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
26369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
26370         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
26371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26372         Moved ...
26373         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
26374         ... here.
26375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
26376         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
26377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
26378         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
26379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
26380         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
26381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
26382         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
26383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
26384         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
26385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26386         Moved ...
26387         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
26388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
26389         Moved ...
26390         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
26391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
26392         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
26393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26394         Moved ...
26395         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
26396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
26397         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
26399         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
26400         folded into ...
26401         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
26402         * sysdeps/unix/sysv/linux/s390/Versions
26403         (libpthread: GLIBC_2.19): New version set.
26404         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
26405         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
26406         (librt: GLIBC_2.3.3): New version set.
26407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
26408         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
26409         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
26410         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
26411         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
26412         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
26413         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
26414         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
26415         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
26416         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
26417         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
26418         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
26419         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
26420         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
26421         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
26422         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
26423         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
26424         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
26425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
26426         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
26427         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
26428         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
26429         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
26430         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
26431         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
26432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
26433         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
26434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
26435         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
26436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
26437         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
26438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
26439         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
26440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
26441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
26442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
26443         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
26444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
26445         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
26446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
26447         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
26448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
26449         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
26450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
26451         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
26453         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
26454         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
26455         (__libc_vfork): Define the function under this name.
26456         [!NOT_IN_libc] (__vfork): Make this an alias.
26457         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26458         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
26459         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
26460         (__libc_vfork): Define the function under this name.
26461         [!NOT_IN_libc] (__vfork): Make this an alias.
26462         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
26463         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
26464         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
26465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
26466         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
26467         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26469         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
26470         code that was previously under [RESET_PID].
26471         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
26472         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
26473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
26475         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
26476         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
26477         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
26478         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
26479         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
26480         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
26481         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
26482         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
26483         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
26484         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
26485         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
26486         Moved ...
26487         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
26488         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
26489         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
26490         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
26491         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
26492         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
26493         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
26494         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
26495         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
26496         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
26497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
26499         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
26500         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
26501         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
26502         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
26503         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
26504         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
26505         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
26506         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
26507         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
26508         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
26509         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
26510         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
26511         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
26512         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
26513         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
26514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
26515         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
26517 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26519         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
26520         that was previously under [RESET_PID].
26521         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
26523 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26525         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
26526         not undefine and redefine.
26527         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
26528         [O_CLOEXEC]: Make code unconditional.
26529         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
26530         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
26531         <kernel-features.h>.
26532         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
26533         conditional variable definition.
26534         (shm_open) [O_CLOEXEC]: Make code unconditional.
26535         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
26536         code.
26538         * configure.ac (USE_REGPARMS): Don't define here.
26539         * configure: Regenerated.
26540         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
26541         * sysdeps/i386/configure: Regenerated.
26543         * nptl/createthread.c: Don't include kernel-features.h.
26544         * nptl/pthread_cancel.c: Likewise.
26545         * nptl/pthread_condattr_setclock.c: Likewise.
26546         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
26547         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
26548         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
26549         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
26550         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
26551         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
26552         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
26554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26555         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
26556         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
26557         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
26558         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
26559         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
26560         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
26561         * nscd/gai.c: Likewise.
26562         * nss/nss_db/db-open.c: Likewise.
26563         * sysdeps/generic/ldsodefs.h: Likewise.
26564         * sysdeps/sh/nptl/tls.h: Likewise.
26565         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26566         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
26567         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
26568         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
26569         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
26570         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26571         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
26572         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26574         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26575         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26576         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26577         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
26578         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
26579         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
26580         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
26581         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
26582         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
26583         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
26584         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
26585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
26586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
26587         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
26588         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
26589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
26590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
26591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
26592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
26593         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26594         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
26595         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
26596         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
26597         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
26598         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26599         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26600         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26601         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26602         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
26603         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
26604         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26605         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26606         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
26607         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
26608         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26609         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
26610         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
26611         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
26612         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
26613         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
26614         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
26615         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
26616         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
26617         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
26618         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26619         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
26620         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26621         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26622         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
26623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
26625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
26628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
26629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
26630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
26631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
26634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
26635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
26636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
26637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
26643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
26644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
26645         * sysdeps/unix/sysv/linux/pread.c: Likewise.
26646         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
26647         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
26648         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
26649         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
26650         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
26651         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
26652         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
26653         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
26654         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
26655         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
26656         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
26657         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
26658         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
26659         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
26660         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
26661         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26662         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
26663         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
26664         * sysdeps/unix/sysv/linux/system.c: Likewise.
26665         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
26666         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26667         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26668         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26669         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26670         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26671         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26673         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
26674         * configure: Regenerated.
26675         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
26677         * configure.ac (base_machine): Do not set specially for particular
26678         machines here.
26679         * configure: Regenerated.
26680         * sysdeps/powerpc/preconfigure: Move machine and base_machine
26681         settings from configure.ac.
26682         * sysdeps/i386/preconfigure: New file.
26683         * sysdeps/s390/preconfigure: Likewise.
26684         * sysdeps/sh/preconfigure: Likewise.
26685         * sysdeps/sparc/preconfigure: Likewise.
26687 2014-06-25  Roland McGrath  <roland@hack.frob.com>
26689         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
26690         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
26691         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
26692         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
26693         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
26694         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
26695         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
26696         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
26697         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
26698         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
26699         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
26700         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
26701         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
26702         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
26703         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
26704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
26705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
26706         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
26707         * sysdeps/sparc/sparc64/Makefile: ... appended here.
26709         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
26710         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
26711         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
26712         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
26713         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
26714         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
26715         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
26716         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
26717         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
26718         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
26719         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
26720         * sysdeps/sparc/sparc32/sem_post.c: ... here.
26721         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
26722         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
26723         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
26724         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
26725         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
26726         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
26727         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
26728         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
26729         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
26730         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
26731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
26732         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
26733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
26734         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
26735         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
26736         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
26737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
26738         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
26739         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
26740         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
26741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
26742         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
26743         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
26744         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
26745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
26746         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
26748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
26749         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
26750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
26751         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
26752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26753         Moved ...
26754         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
26755         ... here.
26756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
26757         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
26758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
26759         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
26760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
26761         Moved ...
26762         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
26763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
26764         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
26765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
26766         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
26767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
26768         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
26769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26770         Moved ...
26771         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
26772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26773         Moved ...
26774         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
26775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
26776         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
26781         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
26782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
26783         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
26784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
26785         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
26786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
26787         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26789         Moved ...
26790         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
26791         ... here.
26792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
26793         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
26795         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
26796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
26797         Moved ...
26798         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
26799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
26800         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
26801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
26802         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
26803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
26805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26806         Moved ...
26807         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
26808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26809         Moved ...
26810         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
26811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26814         Moved ...
26815         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
26816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
26817         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
26818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
26819         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
26821 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26823         * timezone/checktab.awk: Update from tzcode 2014e.
26824         * timezone/private.h: Likewise.
26825         * timezone/tzfile.h: Likewise.
26826         * timezone/zdump.c: Likewise.
26827         * timezone/zic.c: Likewise.
26829         * sysdeps/unix/sysv/linux/kernel-features.h
26830         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
26831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
26832         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
26833         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26834         Remove conditional code.
26836 2014-06-25  Will Newton  <will.newton@linaro.org>
26838         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
26839         (_dl_arm_cap_flags): Add HWCAP2 values.
26840         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
26841         (_DL_HWCAP_COUNT): Increase to 37.
26842         (_DL_HWCAP_LAST): New define.
26843         (_DL_HWCAP2_LAST): New define.
26844         (_dl_procinfo): Add support for printing
26845         AT_HWCAP2 entries.
26846         (_dl_string_hwcap): Use _dl_hwcap_string.
26848 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26852 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26854         * README: Do not mention ports directory.
26856         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26857         Remove macro.
26858         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26859         <kernel-features.h>.
26860         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26861         conditional variable definition.
26862         (__futimes): Update comment.
26863         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26864         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26866         [BZ #16560]
26867         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26868         arguments close to 0.
26869         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26870         Likewise.
26871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26872         Likewise.
26873         * math/auto-libm-test-in: Add more tests of exp10.
26874         * math/auto-libm-test-out: Regenerated.
26875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26877         * sysdeps/unix/sysv/linux/kernel-features.h
26878         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26879         * sysdeps/unix/sysv/linux/readv.c: Do not include
26880         <kernel-features.h>.
26881         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26882         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26883         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26884         unconditional.
26885         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26886         conditional code.
26887         * sysdeps/unix/sysv/linux/writev.c: Do not include
26888         <kernel-features.h>.
26889         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26890         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26891         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26892         unconditional.
26893         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26894         conditional code.
26896 2014-06-25  Will Newton  <will.newton@linaro.org>
26898         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26899         comment changes throughout the file.  Remove checks
26900         for HAVE_*_H definitions that are not required.
26901         (__gen_tempname): Call abort if an unknown kind value is
26902         passed.
26904 2014-06-25  Andreas Schwab  <schwab@suse.de>
26906         [BZ #17086]
26907         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26908         scalbln, scalblnf, scalblnl in libc.
26910 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912         [BZ #17086]
26913         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26914         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26915         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26917 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26919         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26920         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26921         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26922         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26923         Update #include.
26924         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26925         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26926         Update #include.
26927         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26928         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26929         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26930         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26931         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26932         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26933         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26934         * sysdeps/x86/bits/semaphore.h: ... here.
26935         * sysdeps/x86/nptl/elide.h: Moved ...
26936         * sysdeps/x86/elide.h: ... here.
26937         * sysdeps/x86_64/nptl/Implies: File removed.
26938         * sysdeps/i386/nptl/Implies: File removed.
26940 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26942         [BZ #16539]
26943         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26944         return the argument for normal arguments with exponent below -64.
26945         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26946         Likewise.
26947         * math/auto-libm-test-in: Add another test of expm1.
26948         * math/auto-libm-test-out: Regenerated.
26950         [BZ #16287]
26951         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26952         calling __erfcl for arguments at least 16.
26953         * math/auto-libm-test-in: Add more tests of erf.
26954         * math/auto-libm-test-out: Regenerated.
26956         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26957         individual architectures.
26958         * sysdeps/unix/sysv/linux/configure: Regenerated.
26959         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26960         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26961         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26962         (ldd_rewrite_script): Define variable.
26963         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26965         file.
26966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26967         generated file.
26968         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26969         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26970         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26971         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26972         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26973         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26974         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26975         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26977 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26979         [BZ #17084]
26980         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26981         Rename member __data.d to __data.__elision_data.
26983 2014-06-24  Wilco  <wdijkstr@arm.com>
26985         * NEWS: Add 16918 to fixed bug list.
26987 2014-06-24  Wilco  <wdijkstr@arm.com>
26989         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26991 2014-06-24  Wilco  <wdijkstr@arm.com>
26993         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26994         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26995         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26996         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26997         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26998         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26999         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27000         Use _FPU_MASK_RM.
27002 2014-06-24  Wilco  <wdijkstr@arm.com>
27004         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27006 2014-06-24  Wilco  <wdijkstr@arm.com>
27008         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27009         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27010         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27011         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27013 2014-06-24  Wilco  <wdijkstr@arm.com>
27015         [BZ #16918]
27016         * sysdeps/arm/feupdateenv.c (feupdateenv):
27017         Rewrite to reduce FPSCR accesses and fix return value.
27019 2014-06-24  Wilco  <wdijkstr@arm.com>
27021         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27022         Optimize to avoid unnecessary FPSCR writes.
27023         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27024         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27025         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27026         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27028 2014-06-24  Wilco  <wdijkstr@arm.com>
27030         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27031         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27032         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27033         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27034         Call libc_fetestexcept_vfp.
27035         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27036         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27037         __SOFTFP__ ifdef so that they can be built for softfp.
27039 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27041         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27042         argument type signed char.
27044         * Makerules (check-abi): Dump diff of symlist if the test
27045         fails.
27047 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27049         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27050         using abort.
27052         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27053         Remove unused variable ST.
27055 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27057         [BZ #16354]
27058         [BZ #17061]
27059         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27060         small arguments before calling __expm1.
27061         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27062         small arguments before calling __expm1f.
27063         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27064         small arguments before calling __expm1l.
27065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27066         Likewise.
27067         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27068         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27069         spurious underflow for some cosh tests.
27070         * math/auto-libm-test-out: Regenerated.
27071         * sysdeps/i386/fpu/libm-test-ulps: Update.
27073         [BZ #17050]
27074         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27075         (__ieee754_y1): Set errno if return value overflows.
27076         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27077         (__ieee754_y1f): Set errno if return value overflows.
27078         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27079         (__ieee754_y1l): Set errno if return value overflows.
27080         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27081         (__ieee754_y1l): Set errno if return value overflows.
27082         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27083         * math/auto-libm-test-out: Regenerated.
27085         * math/gen-auto-libm-tests.c: Document use of
27086         ignore-zero-inf-sign.
27087         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27088         (input_flags): Add ignore-zero-inf-sign.
27089         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27090         * math/gen-libm-test.pl (generate_testfile): Handle
27091         ignore-zero-inf-sign.
27092         * math/auto-libm-test-in: Mark some cpow tests with
27093         ignore-zero-inf-sign and some with xfail-rounding.
27094         * math/auto-libm-test-out: Regenerated.
27095         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27096         * sysdeps/i386/fpu/libm-test-ulps: Update.
27097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27099         [BZ #16315]
27100         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27101         overflowing or underflowing operations take place with sign of
27102         result.
27103         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27104         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27105         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27106         (__ieee754_pow): Recompute overflowing and underflowing results in
27107         original rounding mode.
27108         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27109         (__powl_helper): Allow negative argument X and scale negated value
27110         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27111         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27112         overflowing or underflowing operations take place with sign of
27113         result.
27114         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27115         Include <math.h>.
27116         * math/auto-libm-test-in: Add more tests of pow.
27117         * math/auto-libm-test-out: Regenerated.
27118         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27119         (pow_tonearest_test_data): Remove.
27120         (pow_test_tonearest): Likewise.
27121         (pow_towardzero_test_data): Likewise.
27122         (pow_test_towardzero): Likewise.
27123         (pow_downward_test_data): Likewise.
27124         (pow_test_downward): Likewise.
27125         (pow_upward_test_data): Likewise.
27126         (pow_test_upward): Likewise.
27127         (main): Don't call removed functions.
27128         * sysdeps/i386/fpu/libm-test-ulps: Update.
27129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27131 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27134         Moved ...
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27137         Moved ...
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27140         Moved ...
27141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27143         Moved ...
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27146         File removed.
27147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27148         File removed.
27149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27150         File removed.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27152         File removed.
27153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27154         File removed.
27155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27156         File removed.
27157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27158         File removed.
27159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27160         File removed.
27161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27162         File removed.
27163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27164         File removed.
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27166         File removed.
27167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27168         File removed.
27169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27170         Moved ...
27171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27173         Moved ...
27174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27175         ... here.
27176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27177         Moved ...
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27180         Moved ...
27181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27183         Moved ...
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27186         Moved ...
27187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27189         Moved ...
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27192         Moved ...
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27195         Moved ...
27196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27199         ... here.
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27201         Moved ...
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27204         Moved ...
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27206         ... here.
27207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27208         Moved ...
27209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27210         ... here.
27211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27212         Moved ...
27213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27214         ... here.
27215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27216         Moved ...
27217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27219         Moved ...
27220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27224         Moved ...
27225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27226         ... here.
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27228         Moved ...
27229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27230         ... here.
27231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27232         Moved ...
27233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27235         Moved ...
27236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27238         Moved ...
27239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27241         Moved ...
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27244         Moved ...
27245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27246         ... here.
27247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27248         Moved ...
27249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27251         Moved ...
27252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27254         Moved ...
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27257         Moved ...
27258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27262         Moved ...
27263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27265         Moved ...
27266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27268         Moved ...
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27270         ... here.
27271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27272         Moved ...
27273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27274         ... here.
27275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27276         Moved ...
27277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27278         ... here.
27279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27280         Moved ...
27281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27283         Moved ...
27284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27286         Moved ...
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27289         Moved ...
27290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27291         ... here.
27292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27293         Moved ...
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27295         ... here.
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27297         Moved ...
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27299         ... here.
27300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27301         Moved ...
27302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27304         Moved ...
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27307 2014-06-23  Will Newton  <will.newton@linaro.org>
27308             Wilco  <wdijkstr@arm.com>
27310         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27311         implementation.  Include get-rounding-mode.h.
27312         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27313         [!libc_feholdsetround_noex_ctx]: Define
27314         libc_feholdsetround_noex_ctx.
27315         [!libc_feholdsetround_noexf_ctx]: Define
27316         libc_feholdsetround_noexf_ctx.
27317         [!libc_feholdsetround_noexl_ctx]: Define
27318         libc_feholdsetround_noexl_ctx.
27319         (libc_feholdsetround_ctx): New function.
27320         (libc_feresetround_ctx): New function.
27321         (libc_feholdsetround_noex_ctx): New function.
27322         (libc_feresetround_noex_ctx): New function.
27324 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27326         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
27327         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
27328         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
27329         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
27330         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
27331         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
27333         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
27334         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
27335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
27336         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
27337         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
27338         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
27339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
27340         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
27341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
27342         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
27343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
27344         Moved ...
27345         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
27346         ... here.
27347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
27348         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
27349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
27350         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
27351         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
27352         Moved ...
27353         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
27354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
27355         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
27356         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
27357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
27358         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
27359         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
27360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
27361         Moved ...
27362         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
27363         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
27364         Moved ...
27365         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
27366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
27367         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
27368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
27369         Moved ...
27370         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
27371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
27372         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
27373         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
27374         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
27375         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
27376         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
27377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
27378         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
27379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
27380         Moved ...
27381         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
27382         ... here.
27383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
27384         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
27385         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
27396         Moved ...
27397         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
27398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
27399         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
27400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
27401         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
27402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
27403         Moved ...
27404         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
27405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
27406         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
27408         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
27410         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
27411         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
27412         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
27413         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
27414         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
27415         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
27416         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
27417         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
27418         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
27419         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
27420         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
27421         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
27422         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
27423         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
27424         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
27425         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
27426         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
27427         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
27428         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
27429         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
27430         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
27431         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
27432         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
27433         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27434         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
27435         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
27436         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
27437         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
27439 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27442         (FALLOC_FL_COLLAPSE_RANGE): New macro.
27443         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
27444         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
27445         (IPV6_PMTUDISC_INTERFACE): Likewise.
27446         (IPV6_PMTUDISC_OMIT): Likewise.
27448 2014-06-23  Andreas Schwab  <schwab@suse.de>
27450         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
27451         Remove unused errout label.
27453 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27455         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
27456         macro: hardware supports Vector Crypto instructions.
27458 2014-06-23  Will Newton  <will.newton@linaro.org>
27460         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
27461         rather than __builtin_expect.
27463         * elf/dl-lookup.c (undefined_msg): Remove variable.
27464         (_dl_lookup_symbol_x): Replace undefined_msg with string
27465         literal.
27467         * elf/dl-lookup.c (do_lookup_unique): New function.
27468         (do_lookup_x): Move STB_GNU_UNIQUE handling code
27469         to a separate function.
27471 2014-06-23  Andreas Schwab  <schwab@suse.de>
27473         [BZ #17079]
27474         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
27475         before reading the next line.
27477 2014-06-23  Will Newton  <will.newton@linaro.org>
27479         * test-skeleton.c (signal_handler): Use printf and %m
27480         rather than perror.  Use printf rather than fprintf to
27481         stderr.  Use puts rather than fputs to stderr.
27482         (main): Likewise.
27484 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
27486         * nscd/nscd.c (thread_info_t): Remove typedef.
27487         (thread_info): Remove variable.
27489 2014-06-21  Allan McRae  <allan@archlinux.org>
27491         * NEWS: Mention CVE-2014-4043.
27493 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27495         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
27496         * nptl/smp.h: ... here.
27498         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
27500         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
27501         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
27502         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
27503         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
27505         * nptl/allocatestack.c: Include <stack-aliasing.h>.
27506         * nptl/stack-aliasing.h: New file.
27507         * sysdeps/i386/i686/stack-aliasing.h: New file.
27508         * sysdeps/i386/i686/nptl/Makefile: File removed.
27509         * sysdeps/x86_64/stack-aliasing.h: New file.
27510         * sysdeps/x86_64/nptl/Makefile
27511         (CFLAGS-pthread_create.c): Variable removed.
27513         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
27514         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
27515         old file.
27516         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
27517         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
27518         old file.
27520 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
27522         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27523         (__ASSUME_SIGFRAME_V2): Remove macro.
27524         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
27525         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
27526         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
27527         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
27528         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
27529         Declare as function.  Remove conditional macro definitions.
27530         (__default_rt_sa_restorer): Likewise.
27531         (__default_sa_restorer_v1): Remove declaration.
27532         (__default_sa_restorer_v2): Likewise.
27533         (__default_rt_sa_restorer_v1): Likewise.
27534         (__default_rt_sa_restorer_v2): Likewise.
27535         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
27536         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27537         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
27539 2014-06-20  Roland McGrath  <roland@hack.frob.com>
27541         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
27542         (libpthread-routines): Add sysdep.
27543         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
27544         * sysdeps/unix/sysv/linux/sparc/Versions
27545         (libpthread: GLIBC_2.3.3): New version set.
27546         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
27547         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
27548         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
27549         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
27550         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
27551         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
27552         Moved ...
27553         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
27554         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
27555         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
27556         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
27557         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
27558         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
27559         * sysdeps/sparc/nptl/sem_init.c: ... here.
27560         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
27561         * sysdeps/sparc/nptl/sem_post.c: ... here.
27562         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
27563         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
27564         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27565         * sysdeps/sparc/nptl/sem_wait.c: ... here.
27566         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
27567         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
27568         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
27569         (libpthread-routines): Add cpu_relax.
27570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
27571         File removed.
27572         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
27573         (librt: GLIBC_2.3.3): New version set.
27574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
27575         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
27576         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
27577         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
27578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
27579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
27580         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
27581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
27582         Moved ...
27583         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
27584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
27585         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
27586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
27587         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
27588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
27589         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
27590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
27591         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
27592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
27593         Moved ...
27594         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
27595         Update #include.
27596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
27597         Moved ...
27598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
27599         Update #include.
27600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
27601         Moved ...
27602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
27603         Update #include.
27604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
27605         Moved ...
27606         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
27607         Update #include.
27608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
27609         Moved ...
27610         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
27611         Update #include.
27612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
27613         Moved ...
27614         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
27615         Update #include.
27616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
27617         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
27618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
27619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
27620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
27621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
27622         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
27623         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
27624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
27625         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
27626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27627         Moved ...
27628         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
27629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
27630         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
27631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
27632         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
27634 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27636         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
27637         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
27638         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27639         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
27640         * nscd/nscd.c: Likewise.
27641         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
27642         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
27643         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
27644         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
27646         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
27647         <kernel-features.h>.
27648         (init_mq_netlink): Remove conditional have_sock_cloexec
27649         definitions.  Remove code conditional on have_sock_cloexec < 0.
27650         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
27651         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
27652         * sysdeps/unix/sysv/linux/opensock.c: Do not include
27653         <kernel-features.h>.
27654         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
27655         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
27657 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27660         Add tests for memset_chk and memset.
27662         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
27663         with AVX2_Usable.
27665 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27667         [BZ #16046]
27668         * elf/tst-dl-iter-static.c: New file.
27669         * elf/Makefile (tests-static): Add tst-dl-iter-static.
27671         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
27672         error.
27674 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27676         * sysdeps/unix/sysv/linux/kernel-features.h
27677         (__ASSUME_F_GETOWN_EX): Remove macro.
27678         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
27679         <kernel-features.h>.
27680         (miss_F_GETOWN_EX): Remove variable or macro.
27681         (do_fcntl): Do not check miss_F_GETOWN_EX.
27682         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
27684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
27685         Remove macro.
27686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
27687         [!__ASSUME_AT_RANDOM]: Remove conditional code.
27688         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
27690         * sysdeps/unix/sysv/linux/kernel-features.h
27691         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
27692         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
27693         [ADJ_OFFSET_SS_READ]: Make code unconditional.
27694         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
27696 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
27698         [BZ #17075]
27699         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
27700         Fix calculation of the symbol's value.
27701         * sysdeps/arm/tst-armtlsdescloc.c: New file.
27702         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
27703         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
27704         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
27705         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
27706         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
27707         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
27708         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
27709         (modules-names): Add `tst-armtlsdescmod',
27710         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
27711         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
27712         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27713         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27714         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
27715         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
27716         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
27717         ($(objpfx)tst-armtlsdescloc): New dependency.
27718         ($(objpfx)tst-armtlsdescextnow): Likewise.
27719         ($(objpfx)tst-armtlsdescextlazy): Likewise.
27720         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
27721         TLS scheme support.
27722         * sysdeps/arm/configure: Regenerate.
27724 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
27726         * include/fcntl.h (__atfct_seterrno): Remove prototype.
27727         (__atfct_seterrno_2): Likewise.
27728         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
27729         <kernel-features.h>.
27730         (__ASSUME_ATFCTS): Do not undefine and redefine.
27731         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
27732         (__have_atfcts): Remove conditional definition.
27733         (__fxstatat([__NR_fstatat64]: Make code unconditional.
27734         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
27735         unreachable if [__ASSUME_ATFCTS].
27736         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
27737         not undefine and redefine.
27738         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
27739         <kernel-features.h>.
27740         (faccessat) [__NR_faccessat]: Make code unconditional.
27741         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
27742         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
27743         <kernel-features.h>.
27744         (fchmodat) [__NR_fchmodat]: Make code unconditional.
27745         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27746         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
27747         <kernel-features.h>.
27748         (fchownat) [__NR_fchownat]: Make code unconditional.
27749         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
27750         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
27751         <kernel-features.h>.
27752         (futimesat) [__NR_futimesat]: Make code unconditional.
27753         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
27754         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27755         <kernel-features.h>.
27756         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27757         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27758         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27759         <kernel-features.h>.
27760         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
27761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27762         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
27763         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27764         <kernel-features.h>.
27765         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
27766         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27767         * sysdeps/unix/sysv/linux/linkat.c: Do not include
27768         <kernel-features.h>.
27769         (linkat) [__NR_linkat]: Make code unconditional.
27770         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27771         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
27772         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
27773         <kernel-features.h>.
27774         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
27775         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
27776         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
27777         <kernel-features.h>.
27778         (mkdirat) [__NR_mkdirat]: Make code unconditional.
27779         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
27780         * sysdeps/unix/sysv/linux/openat.c: Do not include
27781         <kernel-features.h>.
27782         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
27783         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
27784         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
27785         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
27786         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
27787         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
27788         <kernel-features.h>.
27789         (readlinkat) [__NR_readlinkat]: Make code unconditional.
27790         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
27791         result of INLINE_SYSCALL directly, not via int variable.
27792         * sysdeps/unix/sysv/linux/renameat.c: Do not include
27793         <kernel-features.h>.
27794         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
27795         (renameat) [__NR_renameat]: Make code unconditional.
27796         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
27797         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
27798         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
27799         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
27800         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
27801         (__ASSUME_ATFCTS): Do not undefine and redefine.
27802         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
27803         <kernel-features.h>.
27804         (symlinkat) [__NR_symlinkat]: Make code unconditional.
27805         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27806         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
27807         <kernel-features.h>.
27808         (unlinkat) [__NR_unlinkat]: Make code unconditional.
27809         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
27810         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
27811         (__ASSUME_ATFCTS): Do not undefine and redefine.
27812         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27813         <kernel-features.h>.
27814         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
27815         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
27816         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27817         <kernel-features.h>.
27818         (__xmknodat) [__NR_mknodat]: Make code unconditional.
27819         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
27821 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
27823         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
27825 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
27827         [BZ #17069]
27828         * posix/regcomp.c (parse_reg_exp): Deallocate partially
27829         constructed tree before returning error.
27830         * posix/bug-regexp36.c: Expand test case.
27832 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
27834         [BZ #6803]
27835         * math/libm-test.inc (scalbln_test_date):
27836         Add errno expectations.
27837         * math/w_scalblnf.c: New File.
27838         Add wrapper which checks for setting errno to ERANGE.
27839         Add weak_alias for corresponding scalbln function.
27840         * math/w_scalbln.c: Likewise.
27841         * math/w_scalblnl.c: Likewise.
27842         * math/Makefile (libm-calls): Add w_scalbln.
27843         * sysdeps/ieee754/flt-32/s_scalblnf.c:
27844         Remove weak_alias for corresponding scalbln function.
27845         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27847         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27848         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27849         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27850         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27851         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
27852         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27853         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27854         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27855         Remove long_double_symbol for scalblnl function in libm, libc.
27856         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27857         Add wrapper which checks for setting errno to ERANGE.
27858         Add long_double_symbol for scalblnl function in libm, libc.
27859         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27860         Remove long_double_symbol for scalblnl in libm.
27861         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27862         Add wrapper which checks for setting errno to ERANGE.
27863         Add long_double_symbol for scalblnl function in libm.
27864         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27865         Do not use wrapper because of own implementation.
27867 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27869         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27870         3 bytes for __pad1 for x32.
27871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27873 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27874             H.J. Lu  <hongjiu.lu@intel.com>
27876         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27877         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27878         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27879         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27880         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27882 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27884         [BZ #17069]
27885         * posix/regcomp.c (parse_expression): Deallocate partially
27886         constructed tree before returning error.
27887         * posix/Makefile.c (tests): Add bug-regex36.
27888         (generated): Add bug-regex36.mtrace.
27889         (tests-special): Add $(objpfx)bug-regex36-mem.out
27890         (bug-regex36-ENV): New variable.
27891         ($(objpfx)bug-regex36-mem.out): New rule.
27892         * posix/bug-regex36.c: New file.
27894 2014-06-19  Will Newton  <will.newton@linaro.org>
27896         * malloc/malloc.c (systrim): If extra is zero then return
27897         early.
27899 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27901         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27903 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27905         * sysdeps/aarch64/strchr.S: New file.
27907 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27909         [BZ #17022]
27910         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27911         from arguments -2 or below.
27912         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27913         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27915 2014-06-18  Andreas Schwab  <schwab@suse.de>
27917         [BZ #17062]
27918         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27919         of a bracket expr not to run off the end of the string.
27920         * posix/Makefile (tests): Add tst-fnmatch3.
27921         * posix/tst-fnmatch3.c: New file.
27923 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27925         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27926         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27927         [$(cross-compiling) = no]: Likewise.
27928         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27929         [$(cross-compiling) = no]: Likewise.
27931 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27933         [BZ #17031]
27934         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27935         double, adjusted for any remainder from the high double.
27936         * math/libm-test.inc (nearbyint): Add tests.
27937         (rint): Likewise.
27939 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27941         * nptl/sysdeps/powerpc/Makefile: Moved ...
27942         * sysdeps/powerpc/nptl/Makefile: ... here.
27943         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27944         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27945         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27946         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27947         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27948         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27949         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27950         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27951         * nptl/sysdeps/powerpc/tls.h: Moved ...
27952         * sysdeps/powerpc/nptl/tls.h: ... here.
27954 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27956         [BZ #16681]
27957         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27958         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27959         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27960         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27961         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27962         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27963         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27964         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27965         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27967 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27969         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27971 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27973         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27974         defined operator.
27976         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27977         $TIMEOUTFACTOR.
27979 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27981         [BZ #17058]
27982         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27983         non-executed part of the test.
27985 2014-06-16  Andreas Schwab  <schwab@suse.de>
27987         * string/bits/string2.h (strdup, strndup): Update feature guard.
27989 2014-06-14  David S. Miller  <davem@davemloft.net>
27991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27993 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27995         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27996         that was previously under [RESET_PID].
27997         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27999         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28000         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28001         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28002         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28003         (__libc_vfork): New strong alias.
28004         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28006 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28008         * sysdeps/generic/elide.h: New file.
28010 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28012         * Makefile (installed-headers): Adjust path of pthread.h header.
28014 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28016         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28017         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28018         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28019         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28021         * nptl/sysdeps/s390/Makefile: Moved ...
28022         * sysdeps/s390/nptl/Makefile: ... here.
28023         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28024         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28025         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28026         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28027         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28028         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28029         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28030         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28031         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28032         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28033         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28034         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28035         * nptl/sysdeps/s390/tls.h: Moved ...
28036         * sysdeps/s390/nptl/tls.h: ... here.
28038         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28039         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28041 2014-06-13  David S. Miller  <davem@davemloft.net>
28043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28046         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28050         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28051         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28052         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28053         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28054         Remove RESET_PID cpp guards.
28055         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28056         Remove RESET_PID cpp guards.
28057         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28059 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28061         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28062         __sp to uintptr_t.
28064 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28067         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28068         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28069         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28071         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28072         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28073         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28074         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28075         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28077         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28078         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28079         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28080         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28084         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28087         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28088         (pthread_rwlock_rdlock): Add elision.
28089         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28090         (pthread_rwlock_wrlock): Add elision.
28091         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28092         (pthread_rwlock_trywrlock): Add elision.
28093         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28094         (pthread_rwlock_tryrdlock): Add elision.
28095         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28096         (pthread_rwlock_tryrdlock): Add elision unlock.
28097         * nptl/sysdeps/pthread/pthread.h:
28098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28099         (PTHREAD_RWLOCK_INITIALIZER,
28100         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28101         Handle new elision field.
28102         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28103         * sysdeps/arm/nptl/bits/pthreadtypes.h
28104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28105         * sysdeps/sh/nptl/bits/pthreadtypes.h
28106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28107         * sysdeps/tile/nptl/bits/pthreadtypes.h
28108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28109         * sysdeps/a/nptl/bits/pthreadtypes.h
28110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28111         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28113         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28114         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28115         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28117         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28118         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28119         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28120         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28121         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28123         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28125         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28127         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28128         (elision_init): Set try_xbegin to zero when no RTM.
28129         * sysdeps/x86/nptl/bits/pthreadtypes.h
28130         (pthread_rwlock_t): Change __pad1 to __rwelision.
28131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28133 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28135         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28136         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28137         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28138         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28140 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28142         [BZ #16996]
28143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28144         that the cached result has been set before returning it.
28146 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28148         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28149         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28150         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28151         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28152         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28153         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28155         * nptl/sysdeps/sparc/Makefile: Moved ...
28156         * sysdeps/sparc/nptl/Makefile: ... here.
28157         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28158         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28159         * nptl/sysdeps/sparc/tls.h: Moved ...
28160         * sysdeps/sparc/nptl/tls.h: ... here.
28161         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28162         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28163         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28164         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28165         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28166         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28167         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28168         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28169         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28170         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28171         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28172         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28173         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28174         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28175         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28176         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28177         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28179         Update #include.
28180         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28182         Update #include.
28183         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28184         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28185         Update #include.
28186         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28187         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28188         Update #include.
28190         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28192         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28193         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28195         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28196         (struct list_links): Type removed.
28197         (struct thread_node, struct timer_node): Replace struct list_links
28198         with struct list_head.
28199         (list_unlink_ip): Likewise.
28200         * sysdeps/pthread/timer_routines.c
28201         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28202         (list_append, list_insbefore): Likewise.
28203         (list_init): Function removed.
28204         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28205         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28206         * sysdeps/pthread/Makefile: ... here, new file.
28208         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28209         * sysdeps/nptl/Implies: ... here.
28210         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28211         * nptl/sysdeps/pthread/list.h: Moved ...
28212         * include/list.h: ... here.
28213         * nptl/sysdeps/pthread/createthread.c: Moved ...
28214         * nptl/createthread.c: ... here.
28215         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28216         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28217         * nptl/pt-longjmp.c: ... here.
28218         * nptl/sysdeps/pthread/Makefile: Moved ...
28219         * sysdeps/nptl/Makefile: ... here.
28220         * nptl/sysdeps/pthread/Subdirs: Moved ...
28221         * sysdeps/nptl/Subdirs: ... here.
28222         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28223         * sysdeps/nptl/aio_misc.h: ... here.
28224         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28225         * sysdeps/nptl/bits/libc-lock.h: ... here.
28226         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28227         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28228         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28229         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28230         * nptl/sysdeps/pthread/configure: Moved ...
28231         * sysdeps/nptl/configure: ... here.
28232         * nptl/sysdeps/pthread/configure.ac: Moved ...
28233         * sysdeps/nptl/configure.ac: ... here.
28234         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28235         * sysdeps/nptl/gai_misc.h: ... here.
28236         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28237         * sysdeps/nptl/librt-cancellation.c: ... here.
28238         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28239         * sysdeps/nptl/malloc-machine.h: ... here.
28240         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28241         * sysdeps/nptl/pthread-functions.h: ... here.
28242         * nptl/sysdeps/pthread/pthread.h: Moved ...
28243         * sysdeps/nptl/pthread.h: ... here.
28244         * nptl/sysdeps/pthread/setxid.h: Moved ...
28245         * sysdeps/nptl/setxid.h: ... here.
28246         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28247         * sysdeps/nptl/sigfillset.c: ... here.
28248         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28249         * sysdeps/nptl/tcb-offsets.h: ... here.
28250         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28251         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28252         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28253         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28254         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28255         * sysdeps/pthread/allocalim.h: ... here.
28256         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28257         * sysdeps/pthread/bits/sigthread.h: ... here.
28258         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28259         * sysdeps/pthread/flockfile.c: ... here.
28260         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28261         * sysdeps/pthread/ftrylockfile.c: ... here.
28262         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28263         * sysdeps/pthread/funlockfile.c: ... here.
28264         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28265         * sysdeps/pthread/posix-timer.h: ... here.
28266         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28267         * sysdeps/pthread/timer_create.c: ... here.
28268         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28269         * sysdeps/pthread/timer_delete.c: ... here.
28270         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28271         * sysdeps/pthread/timer_getoverr.c: ... here.
28272         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28273         * sysdeps/pthread/timer_gettime.c: ... here.
28274         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28275         * sysdeps/pthread/timer_routines.c: ... here.
28276         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28277         * sysdeps/pthread/timer_settime.c: ... here.
28278         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28279         * sysdeps/pthread/tst-timer.c: ... here.
28280         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28281         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28283         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28284         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28286         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28287         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28288         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28289         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28290         Update #include target.
28291         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28292         * sysdeps/i386/i686/nptl/Makefile: ... here.
28293         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28294         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28295         Update #include target.
28296         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28297         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28298         * nptl/sysdeps/i386/Makefile: Moved ...
28299         * sysdeps/i386/nptl/Makefile: ... here.
28300         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28301         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28302         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28303         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28304         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28305         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28306         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28307         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28308         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28309         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28310         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28311         * nptl/sysdeps/i386/tls.h: Moved ...
28312         * sysdeps/i386/nptl/tls.h: ... here.
28314         * sysdeps/sh/Makefile [$(subdir) = csu]
28315         (gen-as-const-headers): Add tcb-offsets.sym.
28316         * nptl/sysdeps/sh/Makefile: File removed.
28317         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28318         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28319         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28320         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28321         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28322         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28323         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28324         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
28325         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
28326         * sysdeps/sh/nptl/pthreaddef.h: ... here.
28327         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
28328         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
28329         * nptl/sysdeps/sh/tls.h: Moved ...
28330         * sysdeps/sh/nptl/tls.h: ... here.
28331         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
28332         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
28333         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
28334         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
28336         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
28337         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
28338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
28339         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
28340         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
28341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
28342         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
28343         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
28344         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
28345         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
28346         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
28347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
28348         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
28349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
28350         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
28351         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
28352         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
28353         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
28354         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
28355         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
28356         Moved ...
28357         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
28358         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
28359         Moved ...
28360         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
28361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
28362         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
28363         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
28364         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
28365         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
28366         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
28367         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
28368         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
28369         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
28370         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
28371         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
28372         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
28373         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
28374         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
28375         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
28376         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
28378         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
28380 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28382         * posix/spawn_faction_addopen.c: Include string.h.
28384 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28386         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
28387         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
28388         * nptl/sysdeps/x86_64/Makefile: Moved ...
28389         * sysdeps/x86_64/nptl/Makefile: ... here.
28390         * nptl/sysdeps/x86_64/configure: Moved ...
28391         * sysdeps/x86_64/nptl/configure: ... here.
28392         * nptl/sysdeps/x86_64/configure.ac: Moved ...
28393         * sysdeps/x86_64/nptl/configure.ac: ... here.
28394         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
28395         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
28396         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
28397         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
28398         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
28399         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
28400         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
28401         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
28402         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
28403         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
28404         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
28405         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
28406         * nptl/sysdeps/x86_64/tls.h: Moved ...
28407         * sysdeps/x86_64/nptl/tls.h: ... here.
28408         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
28409         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
28410         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
28411         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
28413         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
28415 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28419 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
28421         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
28422         type.
28423         [POSIX] (off_t): Likewise.
28424         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
28425         [POSIX] (S_ISBLK): Require macro.
28426         [POSIX] (S_ISCHR): Likewise.
28427         [POSIX] (S_ISDIR): Likewise.
28428         [POSIX] (S_ISFIFO): Likewise.
28429         [POSIX] (S_ISREG): Likewise.
28430         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
28431         optional-macro.
28432         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
28433         type.
28434         [POSIX] (time_t): Likewise.
28435         [POSIX] (timer_t): Likewise.
28437 2014-06-11  Florian Weimer  <fweimer@redhat.com>
28439         [BZ #17048]
28440         * posix/spawn_int.h (struct __spawn_action): Make the path string
28441         non-const to support deallocation.
28442         * posix/spawn_faction_addopen.c
28443         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
28444         * posix/spawn_faction_destroy.c
28445         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
28446         path in all spawn_do_open actions.
28447         * posix/tst-spawn.c (do_test): Exercise the copy operation in
28448         posix_spawn_file_actions_addopen.
28450 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
28452         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
28453         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
28454         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
28455         conditional code always true.
28456         (__libc_vfork): New alias.
28458 2014-06-11  Roland McGrath  <roland@hack.frob.com>
28460         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28461         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
28463         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
28465         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28466         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
28468         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28469         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
28471         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28472         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
28474 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28476         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
28477         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
28478         multiarch strcmp for PPC64.
28479         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
28480         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
28481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
28482         multiarch optimizations.
28483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28484         (__libc_ifunc_impl_list): Likewise.
28486 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28488         * benchtests/scripts/validate_benchout.py: New script.
28489         * benchtests/Makefile (bench-func): Call it.
28490         * benchtests/scripts/benchout.schema.json: New file.
28492 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
28494         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
28495         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
28496         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
28497         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
28498         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
28499         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
28500         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
28501         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
28502         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
28503         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
28504         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
28505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
28506         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
28507         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
28508         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
28509         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
28510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
28511         Moved ...
28512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
28513         ... here.
28514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
28515         Moved ...
28516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
28518         Moved ...
28519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
28520         ... here.
28521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
28522         Moved ...
28523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
28524         ... here.
28525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
28526         Moved ...
28527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
28528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
28529         Moved ...
28530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
28531         ... here.
28532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
28533         Moved ...
28534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
28535         ... here.
28536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
28537         Moved ...
28538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
28539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
28540         Moved ...
28541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
28542         ... here.
28543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
28544         Moved ...
28545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
28546         ... here.
28547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
28548         Moved ...
28549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
28550         ... here.
28551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
28552         Moved ...
28553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
28554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
28555         Moved ...
28556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
28557         ... here.
28558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
28559         Moved ...
28560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
28561         ... here.
28562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
28563         Moved ...
28564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
28565         ... here.
28566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
28567         Moved ...
28568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
28569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
28570         Moved ...
28571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
28572         ... here.
28573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
28574         Moved ...
28575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
28576         ... here.
28577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
28578         Moved ...
28579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
28580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
28581         Moved ...
28582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
28583         ... here.
28584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
28585         Moved ...
28586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
28587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
28588         Moved ...
28589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
28590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
28591         Moved ...
28592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
28593         ... here.
28594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
28595         Moved ...
28596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
28597         ... here.
28598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
28599         Moved ...
28600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
28601         ... here.
28602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
28603         Moved ...
28604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
28605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
28606         Moved ...
28607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
28608         ... here.
28609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
28610         Moved ...
28611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
28612         ... here.
28613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
28614         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
28615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
28616         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
28617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
28618         Moved ...
28619         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
28620         ... here.
28621         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
28622         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
28623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
28624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
28626         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
28627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
28628         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
28629         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
28630         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
28631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
28632         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
28633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
28634         Moved ...
28635         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
28636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
28637         Moved ...
28638         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
28639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
28640         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
28641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
28642         Moved ...
28643         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
28644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
28645         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
28646         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
28647         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
28648         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
28649         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
28651 2014-06-10  Wilco  <wdijkstr@arm.com>
28653         * math/test-fenv-return.c: New file.
28654         * math/Makefile: Add new test test-fenv-return.
28656 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
28658         [BZ #17042]
28659         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
28660         when x - 1 is zero.
28661         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
28662         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
28663         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
28664         0.0L for an argument of 1.0L.
28665         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28666         Likewise.
28667         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
28668         value when x - 1 is zero.
28669         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
28670         * sysdeps/i386/fpu/libm-test-ulps: Update.
28671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28673 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
28675         [BZ #15119]
28676         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
28678 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28680         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
28681         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
28683 2014-06-09  Roland McGrath  <roland@hack.frob.com>
28685         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28686         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
28688         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28689         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
28691         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28692         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
28694         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28695         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
28697         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
28698         if not already defined.
28699         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
28700         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
28701         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
28702         (TLS_INIT_TP): Use it.
28703         (TLS_DEFINE_INIT_TP): New macro.
28704         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
28706 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
28708         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
28709         constant.
28710         [POSIX] (IXANY): Likewise.
28711         [POSIX] (OLCUC): Likewise.
28712         [POSIX || POSIX2008] (CBAUD): Do not allow.
28713         [POSIX || POSIX2008] (DEFECHO): Likewise.
28714         [POSIX || POSIX2008] (ECHOCTL): Likewise.
28715         [POSIX || POSIX2008] (ECHOKE): Likewise.
28716         [POSIX || POSIX2008] (ECHOPRT): Likewise.
28717         [POSIX || POSIX2008] (EXTA): Likewise.
28718         [POSIX || POSIX2008] (EXTB): Likewise.
28719         [POSIX || POSIX2008] (FLUSHO): Likewise.
28720         [POSIX || POSIX2008] (LOBLK): Likewise.
28721         [POSIX || POSIX2008] (PENDIN): Likewise.
28722         [POSIX || POSIX2008] (SWTCH): Likewise.
28723         [POSIX || POSIX2008] (VDISCARD): Likewise.
28724         [POSIX || POSIX2008] (VDSUSP): Likewise.
28725         [POSIX || POSIX2008] (VLNEXT): Likewise.
28726         [POSIX || POSIX2008] (VREPRINT): Likewise.
28727         [POSIX || POSIX2008] (VSTATUS): Likewise.
28728         [POSIX || POSIX2008] (VWERASE): Likewise.
28729         (B*): Change to B[0123456789]*.
28730         * conform/data/time.h-data [POSIX || UNIX98]
28731         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
28732         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28733         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
28734         [POSIX] (tm_*): Do not allow.
28736 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
28738         * Makefile (install): Don't set LANGUAGE.
28739         * Makefile.in (install): Likewise.
28740         * assert/Makefile (test-assert-ENV): Remove variable.
28741         (test-assert-perr-ENV): Likewise.
28742         * elf/Makefile (neededtest4-ENV): Likewise.
28743         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28744         [$(cross-compiling) = no]: Don't set LANGUAGE.
28745         * io/ftwtest-sh (LANG): Remove variable.
28746         * libio/Makefile (tst-widetext-ENV): Likewise.
28747         * manual/install.texi (Running make install): Don't refer to
28748         environment settings for make install.
28749         * INSTALL: Regenerated.
28750         * nptl/tst-tls6.sh: Don't set LANG.
28751         * posix/globtest.sh (LANG): Remove variable.
28752         * string/Makefile (tester-ENV): Likewise.
28753         (inl-tester-ENV): Likewise.
28754         (noinl-tester-ENV): Likewise.
28755         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28756         [$(cross-compiling) = no]: Don't set LANGUAGE.
28757         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
28758         without explicit environment settings.
28760 2014-06-06  Roland McGrath  <roland@hack.frob.com>
28762         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
28763         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
28764         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
28765         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
28767 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
28769         * crypt/crypt-private.h [DOS]: Add some includes taken from the
28770         other files in the crypt directory.
28771         * crypt/crypt.c: Remove duplicate includes.
28772         * crypt/crypt-entry.c: Likewise.
28773         * crypt/crypt_util.c: Likewise.
28775 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
28777         * Makeconfig (run-program-env): New variable.
28778         (run-program-prefix-before-env): Likewise.
28779         (run-program-prefix-after-env): Likewise.
28780         (run-program-prefix): Define in terms of new variables.
28781         (built-program-cmd-before-env): New variable.
28782         (built-program-cmd-after-env): Likewise.
28783         (built-program-cmd): Define in terms of new variables.
28784         (test-program-prefix-before-env): New variable.
28785         (test-program-prefix-after-env): Likewise.
28786         (test-program-prefix): Define in terms of new variables.
28787         (test-program-cmd-before-env): New variable.
28788         (test-program-cmd-after-env): Likewise.
28789         (test-program-cmd): Define in terms of new variables.
28790         * Rules (make-test-out): Use $(run-program-env).
28791         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
28792         (help): Do not mention environment variables.  Mention
28793         --timeoutfactor option.
28794         (timeoutfactor): New variable.
28795         (blacklist_exports): Remove function.
28796         (exports): Remove variable.
28797         (command): Do not include ${exports}.
28798         * manual/install.texi (Configuring and compiling): Do not mention
28799         test wrappers preserving environment variables.  Mention that last
28800         assignment to a variable must take precedence.
28801         * INSTALL: Regenerated.
28802         * benchtests/Makefile (run-bench): Use $(run-program-env).
28803         * catgets/Makefile ($(objpfx)test1.cat): Use
28804         $(built-program-cmd-before-env), $(run-program-env) and
28805         $(built-program-cmd-after-env).
28806         ($(objpfx)test2.cat): Do not specify environment variables
28807         explicitly.
28808         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
28809         $(run-program-env) and $(built-program-cmd-after-env).
28810         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
28811         $(run-program-env) and $(test-program-cmd-after-env).
28812         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
28813         explicitly.
28814         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
28815         run_program_env and test_program_cmd_after_env arguments.
28816         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
28817         * elf/tst-pathopt.sh: Use run_program_env argument.
28818         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
28819         $(test-wrapper-env) and $(run-program-env).
28820         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
28821         run_program_env arguments.
28822         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
28823         * intl/Makefile ($(objpfx)tst-gettext.out): Use
28824         $(test-program-prefix-before-env), $(run-program-env) and
28825         $(test-program-prefix-after-env).
28826         ($(objpfx)tst-gettext2.out): Likewise.
28827         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
28828         run_program_env and test_program_prefix_after_env arguments.
28829         * intl/tst-gettext2.sh: Likewise.
28830         * intl/tst-gettext4.sh: Do not set environment variables
28831         explicitly.
28832         * intl/tst-gettext6.sh: Likewise.
28833         * intl/tst-translit.sh: Likewise.
28834         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
28835         $(test-program-prefix-before-env), $(run-program-env) and
28836         $(test-program-prefix-after-env).
28837         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
28838         run_program_env and test_program_prefix_after_env arguments.
28839         * math/Makefile (run-regen-ulps): Use $(run-program-env).
28840         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
28841         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
28842         explicitly with each use of ${test_wrapper_env}.
28843         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
28844         $(test-program-prefix-before-env), $(run-program-env) and
28845         $(test-program-prefix-after-env).
28846         * posix/tst-getconf.sh: Do not set environment variables
28847         explicitly.
28848         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
28849         run_program_env and test_program_prefix_after_env arguments.
28850         * stdio-common/tst-printf.sh: Do not set environment variables
28851         explicitly.
28852         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28853         $(test-program-prefix-before-env), $(run-program-env) and
28854         $(test-program-prefix-after-env).
28855         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28856         run_program_env and test_program_prefix_after_env arguments.
28857         Split $test calls into $test_pre and $test.
28858         * timezone/Makefile (build-testdata): Use
28859         $(built-program-cmd-before-env), $(run-program-env) and
28860         $(built-program-cmd-after-env).
28862 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28864         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28865         strlen for non SHARED builds.
28867 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28869         * nptl/allocatestack.c (check_list): Inlined function...
28870         (__reclaim_stacks): ... here.
28872 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28874         [BZ #15698]
28875         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28876         memory overrun.
28878 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28880         * Rules (make-test-out): Include
28881         LOCPATH=$(common-objpfx)localedata in default environment.
28882         * debug/Makefile (tst-chk1-ENV): Remove variable.
28883         (tst-chk2-ENV): Likewise.
28884         (tst-chk3-ENV): Likewise.
28885         (tst-chk4-ENV): Likewise.
28886         (tst-chk5-ENV): Likewise.
28887         (tst-chk6-ENV): Likewise.
28888         (tst-lfschk1-ENV): Likewise.
28889         (tst-lfschk2-ENV): Likewise.
28890         (tst-lfschk3-ENV): Likewise.
28891         (tst-lfschk4-ENV): Likewise.
28892         (tst-lfschk5-ENV): Likewise.
28893         (tst-lfschk6-ENV): Likewise.
28894         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28895         (tst-iconv7-ENV): Likewise.
28896         * intl/Makefile (LOCPATH-ENV): Likewise.
28897         (tst-codeset-ENV): Likewise.
28898         (tst-gettext3-ENV): Likewise.
28899         (tst-gettext5-ENV): Likewise.
28900         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28901         (tst-fopenloc-ENV): Likewise.
28902         (tst-fgetws-ENV): Remove variable.
28903         (tst-ungetwc1-ENV): Likewise.
28904         (tst-ungetwc2-ENV): Likewise.
28905         (bug-ungetwc2-ENV): Likewise.
28906         (tst-swscanf-ENV): Likewise.
28907         (bug-ftell-ENV): Likewise.
28908         (tst-fgetwc-ENV): Likewise.
28909         (tst-fseek-ENV): Likewise.
28910         (tst-ftell-partial-wide-ENV): Likewise.
28911         (tst-ftell-active-handler-ENV): Likewise.
28912         (tst-ftell-append-ENV): Likewise.
28913         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28914         (tst-regexloc-ENV): Likewise.
28915         (bug-regex1-ENV): Likewise.
28916         (tst-regex-ENV): Likewise.
28917         (tst-regex2-ENV): Likewise.
28918         (bug-regex5-ENV): Likewise.
28919         (bug-regex6-ENV): Likewise.
28920         (bug-regex17-ENV): Likewise.
28921         (bug-regex18-ENV): Likewise.
28922         (bug-regex19-ENV): Likewise.
28923         (bug-regex20-ENV): Likewise.
28924         (bug-regex22-ENV): Likewise.
28925         (bug-regex23-ENV): Likewise.
28926         (bug-regex25-ENV): Likewise.
28927         (bug-regex26-ENV): Likewise.
28928         (bug-regex30-ENV): Likewise.
28929         (bug-regex32-ENV): Likewise.
28930         (bug-regex33-ENV): Likewise.
28931         (bug-regex34-ENV): Likewise.
28932         (bug-regex35-ENV): Likewise.
28933         (tst-rxspencer-ENV): Likewise.
28934         (tst-rxspencer-no-utf8-ENV): Likewise.
28935         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28936         (tst-sscanf-ENV): Likewise.
28937         (tst-swprintf-ENV): Likewise.
28938         (tst-swscanf-ENV): Likewise.
28939         (test-vfprintf-ENV): Likewise.
28940         (scanf13-ENV): Likewise.
28941         (bug14-ENV): Likewise.
28942         (tst-grouping-ENV): Likewise.
28943         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28944         (tst-strtod3-ENV): Likewise.
28945         (tst-strtod4-ENV): Likewise.
28946         (tst-strtod5-ENV): Likewise.
28947         (testmb2-ENV): Likewise./
28948         * string/Makefile (tst-strxfrm-ENV): Likewise.
28949         (tst-strxfrm2-ENV): Likewise.
28950         (bug-strcoll1-ENV): Likewise.
28951         (test-strcasecmp-ENV): Likewise.
28952         (test-strncasecmp-ENV): Likewise.
28953         * time/Makefile (tst-strptime-ENV): Likewise.
28954         (tst-ftime_l-ENV): Likewise.
28955         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28956         (tst-mbrtowc-ENV): Likewise.
28957         (tst-wcrtomb-ENV): Likewise.
28958         (tst-mbrtowc2-ENV): Likewise.
28959         (tst-c16c32-1-ENV): Likewise.
28960         (tst-mbsnrtowcs-ENV): Likewise.
28962 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28964         * manual/resource.texi (How to get information about the memory
28965         subsystem?): Fix typo.
28966         Reported by Peon de la Parra Ivan <peon@keba.com>
28968 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28970         [BZ #16882]
28971         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28972         (pthread_spin_lock): Branch out of spin loop to proper location.
28973         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28974         (pthread_spin_lock): Likewise.
28976         * nptl/tst-spin4.c: New test.
28977         * nptl/Makefile (tests): Add tst-spin4.
28979 2014-06-03  Andreas Schwab  <schwab@suse.de>
28981         [BZ #15946]
28982         * resolv/res_send.c (send_dg): Reload file descriptor after
28983         calling reopen.
28985 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28987         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28989 2014-06-03  Richard Henderson  <rth@redhat.com>
28991         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28992         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28993         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28994         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28995         in the SAVE_PID block.
28996         (__libc_vfork): New alias.
28997         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28999         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29000         child in registers, not on the stack.  Remove RESET_PID conditionals.
29001         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29003 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29005         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29007 2014-06-03  Wilco  <wdijkstr@arm.com>
29009         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29010         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29011         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29012         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29013         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29014         Likewise.
29016 2014-06-03  Wilco  <wdijkstr@arm.com>
29018         * sysdeps/aarch64/fpu/math_private.h
29019         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29020         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29021         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29022         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29023         Fix declarations.
29025 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29027         * crypt/crypt-private.h: Include ufc-crypt.h.
29028         (__b64_from_24bit): Declare extern.
29029         * crypt/crypt_util.c(__b64_from_24bit): New function.
29030         (b64t): New static const variable.
29031         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29032         (b64t): Remove variable.
29033         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29034         * crypt/sha256-crypt.c: Include crypt-private.h.
29035         (b64t): Remove variable.
29036         (__sha256_crypt_r): Remove b64_from_24bit and replace
29037         with __b64_from_24bit.
29038         * crypt/sha512-crypt.c: Likewise.
29040 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29042         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29043         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29044         Label the code __libc_vfork rather than __vfork.
29045         [!NOT_IN_libc] (vfork): Define as weak alias.
29046         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29047         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29048         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29050 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29052         * malloc/malloc.c (malloc_info): Fix format specifier for
29053         n_mmaps.
29055 2014-06-02  Wilco  <wdijkstr@arm.com>
29057         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29058         FPCR write.
29060 2014-06-02  Wilco  <wdijkstr@arm.com>
29062         [BZ #17009]
29063         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29064         Rewrite to reduce FPCR/FPSR accesses.
29066 2014-06-01  David S. Miller  <davem@davemloft.net>
29068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29070 2014-05-31  David S. Miller  <davem@davemloft.net>
29072         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29073         to occur in round to nearest mode when |x| >= 2.0
29075 2014-05-30  Richard Henderson  <rth@twiddle.net>
29077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29078         (PSEUDO_RET_NOERRNO): Remove.
29079         (ret): Don't redefine.
29080         (ret_NOERRNO): Define in terms of ret.
29081         (ret_ERRVAL): Likewise.
29083         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29084         use of PSEUDO_RET; perform the error check directly.
29086 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29088         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29089         with __int128_t.
29091 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29093         * malloc/malloc (malloc_info): Fix formatting.
29095 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29096             Roland McGrath  <roland@hack.frob.com>
29098         * malloc/malloc (malloc_info): Also print mmapped statistics.
29100 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29102         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29103         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29105 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29107         * malloc/malloc.c (malloc_info): Inline mi_arena.
29109 2014-05-29  Richard Henderson  <rth@twiddle.net>
29111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29112         Remove comma before expanding ASM_ARGS_##nr.
29113         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29114         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29115         of ASM_ARGS_##nr.
29116         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29117         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29118         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29119         (ASM_ARGS_1): Add leading comma.
29121         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29122         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29123         to __errno_location.
29124         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29125         Remove the expected plt for __errno_location.
29127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29128         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29129         call to __read_tp.
29131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29132         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29133         it and break it down.
29134         (DOCARGS_0, DOCARGS_1): Do nothing.
29135         (DOCARGS_2): Update to store into the new stack frame.
29136         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29137         (UNDOCARGS_1): Update to restore from the new stack frame.
29138         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29139         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29142         (SINGLE_THREAD_P): New parameter for result regno.
29143         (PSEUDO): Update to match; use cbz instead of beq.
29145         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29146         Use ENTRY to define the _nocancel entry point.  Share the syscall
29147         and syscall error check paths with the cancel path.
29148         (PSEUDO_END): New.
29150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29151         whitespace; tabs before and after asm mnemonics.
29153 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29155         [BZ #15132]
29156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29157         Call fstat64 or stat64 internally, depending on arguments passed.
29158         Replace stat buffer argument with file descriptor argument.
29159         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29160         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29161         Pass fd to __internal_statvfs instead of calling fstat64.
29162         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29163         Pass fd to __internal_statvfs64 instead of calling fstat64.
29164         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29165         Pass -1 to __internal_statvfs instead of calling stat64.
29166         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29167         Pass -1 to __internal_statvfs64 instead of calling stat64.
29169 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29171         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29172         that was previously under [RESET_PID].
29173         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29175         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29176         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29178 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29180         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29182         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29183         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29185 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29187         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29189 2014-05-27  Andreas Schwab  <schwab@suse.de>
29191         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29192         TLS_INIT_TP macro.
29193         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29194         * elf/rtld.c (init_tls, dl_main): Likewise.
29195         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29196         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29197         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29198         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29199         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29200         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29201         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29202         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29203         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29204         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29205         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29206         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29207         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29208         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29209         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29210         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29211         * sysdeps/generic/tls.h: Update description.
29213 2014-05-27  Will Newton  <will.newton@linaro.org>
29215         [BZ #16990]
29216         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29217         and restore r2 rather than just restoring.
29219 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29221         [BZ #16724]
29222         * libio/tst-ftell-append.c: New test case.
29223         * libio/Makefile (tests): Add test case.
29224         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29225         append mode.
29226         * libio/wfileops.c (do_ftell_wide): Likewise.
29228 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29232         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29233         ...
29234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29236         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29237         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29239         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29241         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29243         Moved ...
29244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29246         Moved ...
29247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29249         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29251         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29253         ...
29254         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29255         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29258         here.
29259         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29260         ...
29261         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29263         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29266         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29268         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29271         merge into ...
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29274         ...
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29277         ...
29278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29280         Moved ...
29281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29282         here.
29283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29284         Moved ...
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29286         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29287         Moved ...
29288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29291         conditional [RESET_PID].
29292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29294         removed.
29295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29296         removed.
29298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29299         <tcb-offsets.h>.
29300         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29301         (__libc_vfork): New strong alias.
29302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29303         removed.
29304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29305         Removed.
29307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29308         <tcb-offsets.h>.
29309         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29310         (__libc_vfork): New strong alias.
29311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29312         removed.
29313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29314         removed.
29316 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29318         * malloc/malloc.c (mi_arena): New function.
29319         (malloc_info): Remove nested function mi_arena. Call non-nosted
29320         function mi_arena.
29322 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29324         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
29325         by insrwi.
29326         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29327         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29328         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
29329         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
29330         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
29331         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
29332         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
29334 2014-05-26  Andreas Schwab  <schwab@suse.de>
29336         [BZ #16984]
29337         * locale/programs/repertoire.c (repertoire_read): Add slash
29338         between I18NPATH element and file name.
29339         * locale/programs/locfile.c (locfile_read): Likewise.
29341 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29343         * nptl/pthread_mutexattr_settype.c
29344         (__pthread_mutexattr_settype):
29345         Disable lock elision for PTHREAD_MUTEX_NORMAL.
29347 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29349         * nptl/tst-mutex5 (do_test):
29350         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
29352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29354         * benchtests/README: Document 'init' directive.
29355         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
29356         BENCH_INIT.
29357         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
29358         (parse_file): Recognize 'init' directive.
29360 2014-05-26  Kyle McMartin  <kyle@redhat.com>
29362         [BZ #16796]
29363         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
29364         alignment of struct pthread.
29366 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29368         [BZ #16878]
29369         * nscd/netgroupcache.c (addgetnetgrentX): Look for
29370         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29371         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
29372         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
29374 2014-05-25  Richard Henderson  <rth@twiddle.net>
29376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29377         (SINGLE_THREAD_P_PIC): Remove.
29378         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
29379         (SINGLE_THREAD_P_PIC): Remove.
29381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
29382         branch to syscall error ...
29383         (PSEUDO): ... here.
29384         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
29385         from __local_syscall_error to .Lsyscall_error.
29386         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
29387         (SYSCALL_ERROR): Update label name.
29389         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29390         Do not use DOARGS/UNDOARGS.
29391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
29392         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
29393         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29394         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
29395         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
29397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
29398         block comment.
29400         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
29401         define if !NOT_IN_libc.
29402         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
29403         define with non-default symbol versions.
29405 2014-05-23  Richard Henderson  <rth@twiddle.net>
29407         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
29408         (vfork, __vfork): Define via compat_symbol.
29410         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
29411         [!HAVE_IFUNC] (vfork_compat): Remove.
29412         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
29414 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29416         [BZ #16978]
29417         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
29418         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
29419         variable.
29421 2014-05-23  Richard Henderson  <rth@twiddle.net>
29423         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
29424         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
29425         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
29426         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
29428         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
29429         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
29430         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
29431         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
29432         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
29433         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
29434         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
29435         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
29436         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
29437         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
29438         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
29439         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
29440         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
29441         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
29442         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
29443         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
29444         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
29445         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
29446         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
29447         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
29448         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29449         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
29450         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
29451         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
29452         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
29453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
29454         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
29455         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
29456         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
29457         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
29458         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
29459         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
29461         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
29462         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
29463         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
29464         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
29465         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
29467         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
29468         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
29469         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
29470         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
29471         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
29472         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
29473         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
29474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
29475         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
29476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
29477         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
29478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
29479         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
29480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
29481         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
29482         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
29483         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
29485         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
29486         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
29487         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
29488         before exiting on error.
29489         (__libc_vfork): New strong alias.
29490         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
29491         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
29493         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
29494         that was previously under [RESET_PID].
29495         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
29497         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
29499 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
29501         [BZ #16977]
29502         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
29503         value when x - 1 is zero.
29504         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
29505         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
29506         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
29507         0.0L for an argument of 1.0L.
29508         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
29509         Likewise.
29510         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
29511         value when x - 1 is zero.
29512         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
29513         * sysdeps/i386/fpu/libm-test-ulps: Update.
29514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29518         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
29519         alphasort and versionsort.
29521 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29523         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
29524         macro.
29525         [copysignf]: Likewise.
29527 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29529         * crypt/md5-crypt.c: Fix formatting.
29531 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29533         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
29534         (b64_from_24bit): New function.
29536 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
29539         libc_hidden_builtin_def to ifunc.
29540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29541         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
29543 2014-05-21  Roland McGrath  <roland@hack.frob.com>
29545         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
29546         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
29548 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
29550         * nscd/Depend (linuxthreads): Remove.
29551         (nptl): Add.
29552         * resolv/Depend (linuxthreads): Remove.
29553         * rt/Depend (linuxthreads): Remove.
29555         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
29556         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
29557         $(common-objpfx)elf/.
29558         (link-libc-before-gnulib): Likewise.
29559         (elfobjdir): Remove variable.
29560         * Makefile (install): Use $(elf-objpfx) instead of
29561         $(common-objpfx)elf/.
29562         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
29563         $(elfobjdir)/.
29564         (link-libc-deps): Likewise.
29565         ($(common-objpfx)libc.so): Likewise.
29566         ($(common-objpfx)linkobj/libc.so): Likewise.
29567         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
29568         instead of $(common-objpfx)elf/.
29569         (symbolic-link-list): Likewise.
29570         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29571         [$(cross-compiling) = no]: Likewise.
29572         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
29573         $(elfobjdir)/.
29574         (static-gnulib-arch): Likewise.
29575         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29576         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
29577         $(common-objpfx)elf/.
29579 2014-05-21  Richard Henderson  <rth@redhat.com>
29581         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29582         (SINGLE_THREAD_P): Use the correct width load.  Fold
29583         into the ldr offset.
29585         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
29586         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
29588 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
29590         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
29591         (libgcc_s_resume): Use __attribute_used__.
29592         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
29593         Likewise.
29595 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29597         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
29598         optimization when used with float constants.
29600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29602 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
29604         [BZ #16915]
29605         * locale/nl_langinfo_l.c: Make direct reference to every
29606         _nl_current_CATEGORY symbol.
29607         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
29608         (tests-static): Add tst-langinfo-static.
29609         (tests-special): Add tst-langinfo-static.out.
29610         ($(objpfx)tst-langinfo.out): Redirect output.
29611         ($(objpfx)tst-langinfo-static.out): New.
29612         * localedata/tst-langinfo.sh: Send output to stdout.
29613         * localedata/tst-langinfo-static.c: New file.
29615         [BZ #16965]
29616         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
29617         when the shift amount is modulo the limb size.
29619 2014-05-20  Richard Henderson  <rth@redhat.com>
29621         [BZ #16967]
29622         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
29623         Change type of sa_flags from unsigned int to int.
29625         [BZ #16966]
29626         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
29628         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
29630 2014-05-20  Will Newton  <will.newton@linaro.org>
29632         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29633         Test the return value of the system call in the nocancel case.
29635 2014-05-20  Will Newton  <will.newton@linaro.org>
29636             Yvan Roux  <yvan.roux@linaro.org>
29638         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
29639         #include of asm/ptrace.h.
29640         (PTRACE_GET_THREAD_AREA): Remove #undef.
29641         (PTRACE_GETHBPREGS): Likewise.
29642         (PTRACE_SETHBPREGS): Likewise.
29643         (struct user_regs_struct): New structure.
29644         (struct user_fpsimd_struct): New structure.
29645         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
29646         #include of asm/ptrace.h and second #include of sys/user.h.
29647         (PTRACE_GET_THREAD_AREA): Remove #undef.
29648         (PTRACE_GETHBPREGS): Likewise.
29649         (PTRACE_SETHBPREGS): Likewise.
29650         (ELF_NGREG): Use new struct user_regs_struct.
29651         (elf_fpregset_t): Use new struct user_fpsimd_struct.
29653 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
29656         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
29658 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
29660         [BZ #16958]
29661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
29662         membar to avoid block loads/stores to overlap previous stores.
29664 2014-05-17  Richard Henderson  <rth@redhat.com>
29666         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
29667         Create the __##syscall_name##_nocancel entry point.
29668         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
29669         Remove; let the sysdep-cancel.h code create it.
29671 2014-05-17  David S. Miller  <davem@davemloft.net>
29673         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
29674         Protect with __USE_GNU.
29675         (TIOCSET_TEMPT): Likewise.
29676         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29677         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
29678         these are already provided in bits/ioctl-types.h
29680 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29682         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
29683         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
29685         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
29686         Use wait4 regardless of [__NR_waitpid].
29688 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29690         PR libgcc/60166
29691         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29692         (_FP_NANSIGN_Q): Set the quiet bit.
29694 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
29696         * benchtests/Makefile
29697         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
29698         not $(common-objpfx)math/libm.so.
29699         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
29700         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
29701         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
29702         $(common-objpfx)dlfcn/libdl.so.
29703         ($(objpfx)tst-audit8): Depend on $(libm), not
29704         $(common-objpfx)math/libm.so.
29705         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
29706         not $(common-objpfx)dlfcn/libdl.so.
29707         * math/Makefile
29708         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29709         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
29710         [$(build-shared) = yes].
29711         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
29712         $(common-objpfx)nptl/libpthread.so.
29713         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
29714         $(common-objpfx)math/libm.so$(libm.so-version) or
29715         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
29716         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
29717         $(common-objpfx)dlfcn/libdl.so.
29718         * setjmp/Makefile (link-libm): Remove variable.
29719         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
29720         * stdio-common/Makefile (link-libm): Remove variable.
29721         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
29722         * stdlib/Makefile (link-libm): Remove variable.
29723         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
29724         ($(objpfx)tst-strtod-round): Likewise.
29725         ($(objpfx)tst-tininess): Likewise.
29726         ($(objpfx)tst-strtod-underflow): Likewise.
29727         ($(objpfx)tst-strtod6): Likewise.
29728         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
29729         $(libdl), not $(common-objpfx)nptl/libpthread.so and
29730         $(common-objpfx)dlfcn/libdl.so.
29732 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29734         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
29735         BSD terminal modes definitions.
29737 2014-05-16  Roland McGrath  <roland@hack.frob.com>
29739         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
29740         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
29742         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
29743         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
29744         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
29745         Don't do #include_next.
29746         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
29747         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
29748         Don't do #include_next.
29749         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
29750         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
29751         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
29752         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
29754 2014-05-16  Allan McRae  <allan@archlinux.org>
29756         * po/sv.po: Update Swedish translation from translation project.
29758         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
29759         in sed expression.
29761 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
29763         [BZ #16917]
29764         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
29765         errno if the TIOCGPTN ioctl fails with an error different than
29766         EINVAL.
29767         * login/tst-ptsname.c: New file.
29768         * login/Makefile (tests): Add tst-ptsname.
29770         [BZ #16943]
29771         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
29772         and prlimit64.
29774 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29776         [BZ #16849]
29777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
29778         herrno to return EAI_AGAIN.
29780 2014-05-14  Roland McGrath  <roland@hack.frob.com>
29782         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
29783         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
29784         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
29785         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
29786         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
29787         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
29788         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
29789         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
29790         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
29791         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
29792         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
29793         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
29794         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
29795         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
29796         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
29797         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
29798         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
29799         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
29800         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
29801         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
29802         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
29803         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
29804         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
29805         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
29806         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
29807         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
29808         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
29809         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
29810         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
29811         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
29812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
29813         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
29814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
29815         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
29816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29817         Moved ...
29818         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
29819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
29820         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
29821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
29822         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
29823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
29824         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
29825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
29826         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
29827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
29828         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
29829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
29830         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
29831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
29832         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
29833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
29834         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
29835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
29836         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
29837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
29838         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
29839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
29840         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
29841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
29842         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
29843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
29844         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
29845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29846         Moved ...
29847         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
29848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
29849         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
29851         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
29852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29853         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29855         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29857         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29859         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29861         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29863         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29865         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29867         Moved ...
29868         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29870         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29872         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29873         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29874         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29875         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29876         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29877         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29878         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29879         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29880         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29881         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29882         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29883         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29884         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29885         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29886         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29887         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29888         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29889         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29890         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29891         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29892         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29893         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29894         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29895         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29896         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29897         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29899         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29901         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29902         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29904         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29905         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29907         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29908         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29909         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29911         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29913         Moved ...
29914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29915         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29916         Moved ...
29917         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29919         Moved ...
29920         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29922         Moved ...
29923         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29924         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29925         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29926         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29927         Moved ...
29928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29929         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29930         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29932         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29933         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29934         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29935         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29936         Moved ...
29937         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29939         Moved ...
29940         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29941         ... here.
29942         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29943         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29944         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29945         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29947         Moved ...
29948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29949         ... here.
29950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29951         Moved ...
29952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29953         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29954         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29956         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29958         Moved ...
29959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29960         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29961         Moved ...
29962         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29964         Moved ...
29965         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29967         Moved ...
29968         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29969         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29970         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29971         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29972         Moved ...
29973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29974         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29975         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29977         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29978         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29979         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29980         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29981         Moved ...
29982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29984         Moved ...
29985         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29986         ... here.
29987         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29988         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29989         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29990         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29992         Moved ...
29993         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29994         ... here.
29995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29996         Moved ...
29997         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29998         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29999         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30000         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30001         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30002         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30003         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30005         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30007         Moved ...
30008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30009         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30010         Moved ...
30011         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30013         Moved ...
30014         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30016         Moved ...
30017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30018         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30019         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30020         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30021         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30022         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30025         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30026         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30028         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30029         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30030         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30031         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30032         Moved ...
30033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30034         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30035         Moved ...
30036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30037         ... here.
30038         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30039         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30040         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30041         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30042         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30043         Moved ...
30044         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30045         ... here.
30046         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30047         Moved ...
30048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30049         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30050         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30051         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30052         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30053         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30054         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30055         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30056         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30057         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30058         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30060         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30061         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30063         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30064         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30066         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30067         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30068         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30069         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30070         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30071         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30072         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30073         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30074         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30075         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30077         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30079         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30080         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30082         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30084         Moved ...
30085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30089         Moved ...
30090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30092         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30094         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30096         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30098         Moved ...
30099         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30100         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30101         Moved ...
30102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30108         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30109         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30110         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30111         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30112         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30113         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30114         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30115         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30116         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30117         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30118         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30120         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30121         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30122         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30123         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30124         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30126         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30127         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30128         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30129         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30130         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30131         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30132         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30133         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30134         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30135         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30138         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30140         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30141         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30142         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30143         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30144         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30145         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30146         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30147         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30149         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30151         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30152         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30153         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30155         Update #include.
30156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30157         Likewise.
30158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30159         Likewise.
30160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30161         Likewise.
30162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30163         Likewise.
30164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30165         Likewise.
30166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30167         Likewise.
30168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30169         Likewise.
30170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30171         Likewise.
30172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30173         Likewise.
30174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30177         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30182         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30187         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30188         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30190         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30191         that was previously under [RESET_PID].
30192         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30193         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30194         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30196         * sysdeps/i386/nptl/Implies: New file.
30197         * sysdeps/x86_64/nptl/Implies: New file.
30198         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30199         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30200         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30201         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30203         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30204         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30205         (__libc_vfork): New strong alias.
30206         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30207         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30209         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30210         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30211         (__libc_vfork): New strong alias.
30212         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30213         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30215         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30216         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30217         (__libc_vfork): New strong alias.
30218         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30219         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30220         * nptl/pt-vfork.c: New file.
30221         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30222         (libpthread: GLIBC_2.20): New version set (empty).
30224 2014-05-14  Will Newton  <will.newton@linaro.org>
30226         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30227         rather than #if.
30229 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30231         [BZ #16564]
30232         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30233         arguments with exponent 65 or above.
30234         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30235         arguments 0x1p113L or above.
30236         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30237         to arguments 0x1p107L or above.
30238         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30239         positive arguments with exponent 65 or above.
30240         * math/auto-libm-test-in: Add more tests of log1p.
30241         * math/auto-libm-test-out: Regenerated.
30243         [BZ #16928]
30244         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30245         non-finite arguments is +0.
30246         * math/s_cacosf.c (__cacosf): Likewise.
30247         * math/s_cacosl.c (__cacosl): Likewise.
30248         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30249         * sysdeps/i386/fpu/libm-test-ulps: Update.
30250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30252         [BZ #16927]
30253         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30254         value.
30255         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30256         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30257         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30258         for explicit high bit of mantissa when testing for argument equal
30259         to 1.
30260         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30261         * sysdeps/i386/fpu/libm-test-ulps: Update.
30262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30264         [BZ #16516]
30265         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30266         (__erf): Scale by 16 instead of 8 in potentially underflowing
30267         case.  Ensure exception if result actually underflows.
30268         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30269         (__erff): Scale by 16 instead of 8 in potentially underflowing
30270         case.  Ensure exception if result actually underflows.
30271         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30272         (efx8): Remove variable.
30273         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30274         case.  Ensure exception if result actually underflows.
30275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30276         (efx8): Remove variable.
30277         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30278         case.  Ensure exception if result actually underflows.
30279         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30280         (efx8): Remove variable.
30281         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30282         case.  Ensure exception if result actually underflows.
30283         * math/auto-libm-test-in: Add more tests of erf.
30284         * math/auto-libm-test-out: Regenerated.
30286 2014-05-14  Andreas Schwab  <schwab@suse.de>
30288         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30289         Remove code conditionalized on USE___THREAD.
30291         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30292         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30293         not definedness.
30295 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30298         Define unconditionally.
30299         (__ASSUME_O_CLOEXEC): Likewise.
30300         (__ASSUME_SOCK_CLOEXEC): Likewise.
30301         (__ASSUME_IN_NONBLOCK): Likewise.
30302         (__ASSUME_PIPE2): Likewise.
30303         (__ASSUME_EVENTFD2): Likewise.
30304         (__ASSUME_SIGNALFD4): Likewise.
30305         (__ASSUME_DUP3): Likewise.
30306         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30307         (__ASSUME_DUP3): Do not define.
30308         (__ASSUME_EVENTFD2): Likewise.
30309         (__ASSUME_IN_NONBLOCK): Likewise.
30310         (__ASSUME_O_CLOEXEC): Likewise.
30311         (__ASSUME_PIPE2): Likewise.
30312         (__ASSUME_SIGNALFD4): Likewise.
30313         (__ASSUME_SOCK_CLOEXEC): Likewise.
30314         (__ASSUME_UTIMES): Undefine.
30315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30316         (__ASSUME_UTIMES): Do not define.
30317         (__ASSUME_O_CLOEXEC): Likewise.
30318         (__ASSUME_SOCK_CLOEXEC): Likewise.
30319         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30320         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30321         0x020621].
30322         (__ASSUME_PIPE2): Likewise.
30323         (__ASSUME_EVENTFD2): Likewise.
30324         (__ASSUME_SIGNALFD4): Likewise.
30325         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
30326         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
30327         Do not define.
30328         (__ASSUME_EVENTFD2): Likewise.
30329         (__ASSUME_SIGNALFD4): Likewise.
30330         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30331         (__ASSUME_32BITUIDS): Likewise.
30332         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30333         (__ASSUME_IPC64): Likewise.
30334         (__ASSUME_ST_INO_64_BIT): Likewise.
30335         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
30336         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
30337         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30338         (__ASSUME_UTIMES): Do not define.
30339         (__ASSUME_PSELECT): Likewise.
30340         (__ASSUME_PPOLL): Likewise.
30341         (__ASSUME_O_CLOEXEC): Likewise.
30342         (__ASSUME_SOCK_CLOEXEC): Likewise.
30343         (__ASSUME_IN_NONBLOCK): Likewise.
30344         (__ASSUME_PIPE2): Likewise.
30345         (__ASSUME_EVENTFD2): Likewise.
30346         (__ASSUME_SIGNALFD4): Likewise.
30347         (__ASSUME_DUP3): Likewise.
30348         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30349         (__ASSUME_UTIMES): Likewise.
30350         (__ASSUME_O_CLOEXEC): Likewise.
30351         (__ASSUME_SOCK_CLOEXEC): Likewise.
30352         (__ASSUME_IN_NONBLOCK): Likewise.
30353         (__ASSUME_PIPE2): Likewise.
30354         (__ASSUME_EVENTFD2): Likewise.
30355         (__ASSUME_SIGNALFD4): Likewise.
30356         (__ASSUME_DUP3): Likewise.
30357         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30358         (__ASSUME_UTIMES): Likewise.
30359         (__ASSUME_O_CLOEXEC): Likewise.
30360         (__ASSUME_SOCK_CLOEXEC): Likewise.
30361         (__ASSUME_IN_NONBLOCK): Likewise.
30362         (__ASSUME_PIPE2): Likewise.
30363         (__ASSUME_EVENTFD2): Likewise.
30364         (__ASSUME_SIGNALFD4): Likewise.
30365         (__ASSUME_DUP3): Likewise.
30366         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
30367         Likewise.
30368         (__ASSUME_UTIMES): Likewise.
30369         (__ASSUME_EVENTFD2): Likewise.
30370         (__ASSUME_SIGNALFD4): Likewise.
30371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30372         (__ASSUME_O_CLOEXEC): Likewise.
30373         (__ASSUME_SOCK_CLOEXEC): Likewise.
30374         (__ASSUME_IN_NONBLOCK): Likewise.
30375         (__ASSUME_PIPE2): Likewise.
30376         (__ASSUME_EVENTFD2): Likewise.
30377         (__ASSUME_SIGNALFD4): Likewise.
30378         (__ASSUME_DUP3): Likewise.
30379         (__ASSUME_UTIMES): Undefine.
30381         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
30382         feclearexcept.  Remove symbol versioning code.
30383         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
30384         symbol versioning code.
30385         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
30386         symbol versioning code.
30387         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
30388         feupdateenv.  Remove symbol versioning code.
30389         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
30390         fegetexceptflag.  Remove symbol versioning code.
30391         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
30392         fesetexceptflag.  Remove symbol versioning code.
30393         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
30394         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
30395         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
30396         (__posix_fadvise64_l32): Remove prototype.
30397         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
30398         code.
30400 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30402         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
30403         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
30404         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
30405         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
30407 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
30409         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
30410         current working directory
30412 2014-05-13  Roland McGrath  <roland@hack.frob.com>
30414         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
30415         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
30416         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
30417         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
30418         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
30419         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
30420         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
30421         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
30422         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
30423         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
30424         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
30425         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
30426         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
30427         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
30428         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
30429         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
30430         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
30431         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
30432         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
30433         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
30434         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
30435         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
30436         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
30437         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
30438         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
30439         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
30440         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
30441         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
30442         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
30443         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
30444         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
30445         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
30446         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
30447         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
30448         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
30449         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
30450         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
30451         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
30452         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
30453         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
30454         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
30455         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
30457         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
30458         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
30460         * sysdeps/unix/sysv/linux/arm/Makefile
30461         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30462         Add rt-aeabi_unwind_cpp_pr1.
30463         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
30464         Add nptl-aeabi_unwind_cpp_pr1.
30465         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
30466         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
30467         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
30468         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30469         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
30470         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30472         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
30473         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
30474         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
30475         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
30477         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
30478         Deconditionalize the code that was previously under [RESET_PID].
30479         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
30481         * sysdeps/generic/exit-thread.h: New file.
30482         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
30483         * include/unistd.h (__exit_thread): Remove declaration.
30484         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
30485         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
30486         * csu/libc-start.c: Include <exit-thread.h>.
30487         (LIBC_START_MAIN): Pass no argument to __exit_thread.
30488         * nptl/pthread_create.c: Include <exit-thread.h>.
30489         (start_thread): Call __exit_thread in place of __exit_thread_inline.
30490         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
30491         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
30492         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
30493         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
30494         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
30495         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
30496         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
30497         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
30498         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
30499         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
30500         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
30501         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
30502         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
30503         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
30504         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
30505         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
30507 2014-05-13  Andreas Schwab  <schwab@suse.de>
30509         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
30511 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
30513         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30514         (__ASSUME_UTIMES): Do not condition on kernel version.
30515         (__ASSUME_PSELECT): Define unconditionally.
30516         (__ASSUME_PPOLL): Likewise.
30517         (__ASSUME_ATFCTS): Likewise.
30518         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
30519         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
30520         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
30521         (__ASSUME_UTIMENSAT): Define unconditionally.
30522         (__ASSUME_PRIVATE_FUTEX): Likewise.
30523         (__ASSUME_FALLOCATE): Likewise.
30524         (__ASSUME_O_CLOEXEC): Likewise.
30525         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
30526         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
30527         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
30528         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
30529         (__ASSUME_IN_NONBLOCK): Likewise.
30530         (__ASSUME_PIPE2): Likewise.
30531         (__ASSUME_EVENTFD2): Likewise.
30532         (__ASSUME_SIGNALFD4): Likewise.
30533         (__ASSUME_DUP3): Likewise.
30534         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30535         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30536         (__ASSUME_AT_RANDOM): Likewise.
30537         (__ASSUME_PREADV): Likewise.
30538         (__ASSUME_PWRITEV): Likewise.
30539         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
30540         (__ASSUME_F_GETOWN_EX): Define unconditionally.
30541         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
30542         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30543         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
30544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30545         (__ASSUME_O_CLOEXEC): Define unconditionally.
30546         (__ASSUME_PSELECT): Do not undefine conditionally.
30547         (__ASSUME_PPOLL): Likewise.
30548         (__ASSUME_ATFCTS): Likewise.
30549         (__ASSUME_SET_ROBUST_LIST): Likewise.
30550         (__ASSUME_UTIMENSAT): Likewise.
30551         (__ASSUME_FDATASYNC): Define unconditionally.
30552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30553         (__ASSUME_SIGFRAME_V2): Likewise.
30554         )__ASSUME_EVENTFD2): Likewise.
30555         (__ASSUME_SIGNALFD4): Likewise.
30556         (__ASSUME_PSELECT): Do not undefine conditionally.
30557         (__ASSUME_PPOLL): Likewise.
30558         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30559         (__ASSUME_PSELECT): Define unconditionally.
30560         (__ASSUME_PPOLL): Likewise.
30561         (__ASSUME_O_CLOEXEC): Likewise.
30562         (__ASSUME_SOCK_CLOEXEC): Likewise.
30563         (__ASSUME_IN_NONBLOCK): Likewise.
30564         (__ASSUME_PIPE2): Likewise.
30565         (__ASSUME_EVENTFD2): Likewise.
30566         (__ASSUME_SIGNALFD4): Likewise.
30567         (__ASSUME_DUP3): Likewise.
30568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30569         (__ASSUME_O_CLOEXEC): Likewise.
30570         (__ASSUME_SOCK_CLOEXEC): Likewise.
30571         (__ASSUME_IN_NONBLOCK): Likewise.
30572         (__ASSUME_PIPE2): Likewise.
30573         (__ASSUME_EVENTFD2): Likewise.
30574         (__ASSUME_SIGNALFD4): Likewise.
30575         (__ASSUME_DUP3): Likewise.
30576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30577         (__ASSUME_EVENTFD2): Likewise.
30578         (__ASSUME_SIGNALFD4): Likewise.
30579         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30581 2014-05-12  Andreas Schwab  <schwab@suse.de>
30583         [BZ #16932]
30584         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
30585         (_nss_nis_gethostbyname4_r): Return error if item length is larger
30586         than maximum RPC packet size.
30587         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
30588         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
30589         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
30590         (_nss_nis_getservbyport_r): Likewise.
30592 2014-05-12  Will Newton  <will.newton@linaro.org>
30594         * malloc/Makefile (tests): Add tst-mallopt.
30595         * malloc/tst-mallopt.c: New file.
30597 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30599         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
30600         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
30602 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30604         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
30605         (tst-tlsmod6.so): Likewise.
30607 2014-05-09  Roland McGrath  <roland@hack.frob.com>
30609         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30611 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
30613         [BZ #16064]
30614         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
30615         and <dl-procinfo.h>.
30616         (__fegetenv): Save SSE state in envp->__eip if supported.
30617         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
30618         envp->__eip if supported.
30619         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
30620         and <dl-procinfo.h>.
30621         (__fesetenv): Always set __eip, __cs_selector, __opcode,
30622         __data_offset and __data_selector in environment to 0.  Set SSE
30623         state if supported.
30624         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
30625         test-fenv-sse.
30626         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
30627         -mfpmath=sse.
30628         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
30630 2014-05-09  Will Newton  <will.newton@linaro.org>
30632         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
30633         and libc_relro_required for ARM.
30634         * sysdeps/arm/preconfigure: Regenerate.
30636 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
30637             Stefan Liebler  <stli@linux.vnet.ibm.com>
30639         * config.make.in (enable-lock-elision): New Makefile variable.
30640         * configure.ac: Likewise.
30641         * configure: Regenerate.
30642         * sysdeps/s390/configure.ac:
30643         Add check for gcc transactions support.
30644         * sysdeps/s390/configure: Regenerate.
30645         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
30646         Build elision files if enabled.
30647         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
30648         Add lock elision support for s390.
30649         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
30650         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
30651         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
30652         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
30653         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
30654         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
30655         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30656         Likewise.
30657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
30658         Likewise.
30659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
30660         Likewise.
30661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
30662         Likewise.
30663         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
30664         (__lll_timedlock_elision, __lll_lock_elision)
30665         (__lll_unlock_elision, __lll_trylock_elision)
30666         (lll_timedlock_elision, lll_lock_elision)
30667         (lll_unlock_elision, lll_trylock_elision): Add.
30668         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30669         (pthread_mutex_t): Add lock elision support for s390.
30671 2014-05-14  Wilco  <wdijkstr@arm.com>
30673         * sysdeps/arm/fclrexcpt.c: Cleanup.
30674         * sysdeps/arm/fedisblxcpt.c: Cleanup.
30675         * sysdeps/arm/feenablxcpt.c: Cleanup.
30676         * sysdeps/arm/fegetenv.c: Cleanup.
30677         * sysdeps/arm/fegetexcept.c: Cleanup.
30678         * sysdeps/arm/fegetround.c: Cleanup.
30679         * sysdeps/arm/feholdexcpt.c: Cleanup.
30680         * sysdeps/arm/fesetenv.c: Cleanup.
30681         * sysdeps/arm/fesetround.c: Cleanup.
30682         * sysdeps/arm/feupdateenv.c: Cleanup.
30683         * sysdeps/arm/fgetexcptflg.c: Cleanup.
30684         * sysdeps/arm/fraiseexcpt.c: Cleanup.
30685         * sysdeps/arm/fsetexcptflg.c: Cleanup.
30686         * sysdeps/arm/ftestexcept.c: Cleanup.
30687         * sysdeps/arm/get-rounding-mode.h: Cleanup.
30688         * sysdeps/arm/setfpucw.c: Cleanup.
30690 2014-05-09  Will Newton  <will.newton@linaro.org>
30692         * sysdeps/arm/armv7/strcmp.S: New file.
30693         * NEWS: Mention addition of ARMv7 optimized strcmp.
30695 2014-05-08  Roland McGrath  <roland@hack.frob.com>
30697         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
30698         look for %.ac rather than %.in.
30700         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
30701         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
30702         * sysdeps/mach/hurd/configure: Regenerated.
30703         * sysdeps/unix/sysv/linux/configure: Regenerated.
30705         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
30707 2014-05-07  Steve Ellcey  <sellcey@mips.com>
30709         [BZ# 16922]
30710         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
30711         (LONG_SUB): Ditto.
30712         (PTR_SUB): Ditto.
30714 2014-05-07  Andreas Schwab  <schwab@suse.de>
30716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
30717         when skipping over non-matching result from nscd.
30719 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
30721         [BZ #16876]
30722         * nptl/sockperf.c (client): Check socket return value.
30724         [BZ #16877]
30725         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
30726         nscd security class.
30728 2014-05-06  Roland McGrath  <roland@hack.frob.com>
30730         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
30731         * sysdeps/arm/unwind.h: ... here.
30733 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
30735         [BZ# 16916]
30736         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
30737         Define.
30739 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30741         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
30742         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
30743         multiarch strncpy for PPC64.
30744         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
30745         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
30746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
30747         multiarch optimizations.
30748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30749         (__libc_ifunc_impl_list): Likewise.
30750         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
30751         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
30752         multiarch stpncpy for PPC64.
30753         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
30754         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
30756 2014-05-06  Andreas Schwab  <schwab@suse.de>
30758         [BZ #16912]
30759         * gmon/mcount.c (_MCOUNT_DECL): Use
30760         atomic_compare_and_exchange_bool_acq instead of
30761         catomic_compare_and_exchange_bool_acq.
30763 2014-05-05  Roland McGrath  <roland@hack.frob.com>
30765         * elf/Makefile (others, install-bin): Remove pldd.
30766         (pldd-modules): Variable removed.
30767         ($(objpfx)pldd): Target removed.
30768         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
30769         (others, install-bin): Append pldd here.
30770         ($(objpfx)pldd): New target.
30772         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
30773         to 0, so the first #if test emitted later doesn't see it undefined.
30774         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
30775         * sysdeps/gnu/errlist.c: Regenerated.
30777 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30779         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30780         [libc_hidden_builtin_def]: Define to empty value.
30781         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
30782         [libc_hidden_builtin_def]: Likewise.
30783         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
30784         [libc_hidden_builtin_def]: Likewise.
30785         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
30786         [libc_hidden_builtin_def]: Likewise.
30787         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
30788         __redirect_memcpy and define ifunc as default hidden symbol.
30789         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
30790         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
30792 2014-05-04  Adam Conrad  <adconrad@0c3.net>
30794         * locale/iso-4217.def: Reintroduce XDR currency.
30796 2014-05-04  Allan McRae  <allan@archlinux.org>
30798         * po/eo.po: Update Esperanto translation from translation project.
30800 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
30802         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
30803         and FEATURE_INDEX_MAX to 1.
30804         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
30806 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30808         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
30809         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
30810         * iconvdata/big5.c (ONE_DIRECTION): Define.
30811         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
30812         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
30813         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
30814         * iconvdata/cp932.c (ONE_DIRECTION): Define.
30815         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
30816         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
30817         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
30818         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
30819         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
30820         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
30821         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
30822         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
30823         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
30824         * iconvdata/gbk.c (ONE_DIRECTION): Define.
30825         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
30826         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
30827         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
30828         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
30829         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
30830         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
30831         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
30832         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
30833         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
30834         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
30835         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
30836         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
30837         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
30838         * iconvdata/iso646.c (ONE_DIRECTION): Define.
30839         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
30840         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
30841         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
30842         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
30843         * iconvdata/johab.c (ONE_DIRECTION): Define.
30844         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
30845         * iconvdata/sjis.c (ONE_DIRECTION): Define.
30846         * iconvdata/t.61.c (ONE_DIRECTION): Define.
30847         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
30848         * iconvdata/tscii.c (ONE_DIRECTION): Define.
30849         * iconvdata/uhc.c (ONE_DIRECTION): Define.
30850         * iconvdata/unicode.c (ONE_DIRECTION): Define.
30851         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
30852         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30853         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30855 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30857         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30858         (_IO_JUMPS_OFFSET): Define to 0.
30860         * nptl/sysdeps/pthread/bits/libc-lock.h
30861         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30862         (__libc_lock_define_initialized_recursive): Always define using
30863         initializer.  Modern compilers treat uninitialized (implicit zero) and
30864         explicit zero initializers the same (i.e. put the datum in bss).
30866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30868         * nscd/nscd-client.h: Include <string.h>.
30870 2014-05-01  David S. Miller  <davem@davemloft.net>
30872         [BZ #16885]
30873         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30874         multiple zero bytes exist at the end of a string.
30875         Reported by Aurelien Jarno <aurelien@aurel32.net>
30877         * string/test-strcmp.c (check): Add explicit test for situations where
30878         there are multiple zero bytes after the first.
30880 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30882         [BZ #16890]
30883         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30884         when compiling wprintf.
30885         * stdio-common/tstdiomisc.c (t3): New function.
30886         (main): Call it.
30888 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30890         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30891         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30892         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30893         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30895 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30897         * stdlib/longlong.h: Updated from GCC.
30899 2014-05-01  Will Newton  <will.newton@linaro.org>
30900             Bernard Ogden  <bernie.ogden@linaro.org>
30902         * NEWS: Update fixed bug list.
30904         [BZ #15119]
30905         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30907 2014-04-30  David S. Miller  <davem@davemloft.net>
30909         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30910         (libc_feholdexcept_setround_sparc_ctx): New function.
30911         (libc_fesetenv_sparc_ctx): Likewise.
30912         (libc_feupdateenv_sparc_ctx): Likewise.
30913         (libc_feholdsetround_sparc_ctx): Likewise.
30914         (libc_feholdexcept_setround_ctx): Define.
30915         (libc_feholdexcept_setroundf_ctx): Likewise.
30916         (libc_feholdexcept_setroundl_ctx): Likewise.
30917         (libc_fesetenv_ctx): Likewise.
30918         (libc_fesetenvf_ctx): Likewise.
30919         (libc_fesetenvl_ctx): Likewise.
30920         (libc_feupdateenv_ctx): Likewise.
30921         (libc_feupdateenvf_ctx): Likewise.
30922         (libc_feupdateenvl_ctx): Likewise.
30923         (libc_feresetround_ctx): Likewise.
30924         (libc_feresetroundf_ctx): Likewise.
30925         (libc_feresetroundl_ctx): Likewise.
30926         (libc_feholdsetround_ctx): Likewise.
30927         (libc_feholdsetroundf_ctx): Likewise.
30928         (libc_feholdsetroundl_ctx): Likewise.
30930         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30931         with __USE_GNU instead of XOPEN cpp guards.
30933         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30934         0.
30936         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30937         with XOPEN cpp guards.
30939 2014-04-30  Julian Brown  <julian@codesourcery.com>
30941         [BZ #16888]
30942         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30943         handling.
30945 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30947         [BZ #9894]
30948         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30949         Change to 2.6.32.
30950         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30951         * sysdeps/unix/sysv/linux/configure: Regenerated.
30952         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30953         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30954         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30955         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30956         * README: Update reference to required Linux kernel version.
30957         * manual/install.texi (Linux): Update reference to required Linux
30958         kernel headers version.
30959         * INSTALL: Regenerated.
30961         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30962         header inclusion.
30963         [POSIX] (limits.h): Likewise.
30964         [POSIX] (math.h): Likewise.
30965         [POSIX] (sys/wait.h): Likewise.
30966         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30967         function.
30968         [POSIX] (stddef.h): Do not allow header inclusion.
30970 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30972         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30974 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30976         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30977         Return immediately after lll_futex_wake.
30979 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30981         [BZ #16791]
30982         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30983         structure.
30984         (datahead_init_pos): Call datahead_init_common early.
30985         (datahead_init_neg): Likewise.
30987         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30988         datahead_init_neg): New functions.
30989         * nscd/aicache.c (addhstaiX): Use them.
30990         * nscd/grpcache.c (cache_addgr): Likewise.
30991         * nscd/hstcache.c (cache_addhst): Likewise.
30992         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30993         * nscd/netgroupcache.c (do_notfound): Likewise.
30994         (addgetnetgrentX): Likewise.
30995         (addinnetgrX): Likewise.
30996         * nscd/pwdcache.c (cache_addpw): Likewise.
30997         * nscd/servicescache.c (cache_addserv): Likewise.
30999 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31000             Atsushi Onoe  <atsushi@onoe.org>
31002         [BZ #14308]
31003         [BZ #12994]
31004         [BZ #13651]
31005         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31006         one response is valid.
31007         * resolv/res_send.c (send_dg): Check for validity of other
31008         response if the current response is a referral.
31010 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31012         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31014 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31016         [BZ #16823]
31017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31018         Always divide by positive zero when computing -Inf result.
31019         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31020         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31022 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31024         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31025         FPSCR if value do not change.
31026         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31027         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31028         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31029         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31030         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31031         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31032         function.
31034 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31036         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31037         * sysdeps/unix/sysv/linux/hppa: Move directory from
31038         ports/systeps/unix/sysv/linux/hppa.
31039         * README: Update listing for hppa-*-linux-gnu.
31041 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31043         [BZ #16754]
31044         * manual/stdio.texi (Hook functions): Fix types of stream hook
31045         functions.
31046         [BZ #16854]
31047         * socket/sys/socket.h: Fix typo in comment.
31049 2014-04-28  Wilco  <wdijkstr@arm.com>
31051         * sysdeps/arm/fenv_private.h: New file.
31052         * sysdeps/arm/math_private.h: New file.
31053         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31055 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31057         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31058         with __int128_t.
31059         (La_x86_64_retval): Likewise.
31061 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31063         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31064         fpsr if value didn't change.
31065         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31066         to fpcr if value didn't change.
31067         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31068         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31069         fpsr or fpcr if value didn't change.
31070         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31071         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31072         fpcr if value didn't change.
31073         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31074         to fpsr if value didn't change.
31076 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31078         * nptl/tst-sem3.c: Use test-skeleton.c
31079         (main): Rename to do_test.  Use return instead of
31080         exit.
31081         * nptl/tst-sem4.c: Use test-skeleton.c
31082         (main): Rename to do_test.
31084 2014-04-22  David S. Miller  <davem@davemloft.net>
31086         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31087         (struct sigaction): New struct member __glibc_reserved0, change
31088         type of sa_flags to int.
31090 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31092         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31093         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31095 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31097         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31098         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31100 2014-04-22  Will Newton  <will.newton@linaro.org>
31101             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31103         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31104         (__longjmp): Add longjmp and longjmp_target SystemTap
31105         probes.
31106         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31107         (__sigsetjmp): Add setjmp SystemTap probe.
31109 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31111         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31112         match manual order.
31114 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31116         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31118         * sysdeps/powerpc/fpu/fenv_private.h
31119         (libc_feholdexcept_setroundl_ctx): Define to
31120         libc_feholdexcept_setround_ppc_ctx.
31121         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31122         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31123         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31124         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31126 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31128         * sysdeps/aarch64/math-tests.h: New file.
31130 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31132         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31133         New.
31134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31135         Check and set bit_AVX2_Usable.
31136         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31137         macro.
31138         (bit_AVX2): Likewise.
31139         (index_AVX2_Usable): Likewise.
31140         (CPUID_AVX2): Likewise.
31141         (HAS_AVX2): Likewise.
31143 2014-04-17  Will Newton  <will.newton@linaro.org>
31145         * manual/setjmp.texi (System V contexts): Add note that
31146         calling setcontext on a context created by a call to a
31147         signal handler is undefined.  Update text to note that
31148         setcontext from a signal handler is possible but not
31149         recommended.
31151         [BZ #16629]
31152         * stdlib/tst-setcontext.c: Include signal.h.
31153         (main): Check that the signal stack before and
31154         after swapcontext is the same.
31156         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31157         Re-implement to restore registers in user code and avoid
31158         rt_sigreturn system call.
31160 2014-04-17  Wilco  <wdijkstr@arm.com>
31162         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31163         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31164         * math/test-fenv.c: Skip exception trap tests on targets which only
31165         support non-stop mode.
31167 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31168             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31170         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31171         (libc_feholdsetround_aarch64_ctx)
31172         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31173         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31174         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31175         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31176         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31177         (libc_feresetround_noexl_ctx): Define.
31179 2014-04-16  Richard Henderson  <rth@redhat.com>
31181         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31183         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31184         unwind tables.
31186         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31187         const from the non-libc, non-ldso copy.
31189         * sysdeps/alpha/libm-test-ulps: Regenerate.
31191 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31192             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31194         * sysdeps/aarch64/fpu/math_private.h: New file.
31196 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31198         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31200 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31202         [BZ #16275]
31203         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31204         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31206         Intel MPX bound registers before _dl_profile_fixup.
31207         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31208         registers after _dl_profile_fixup.  Save and restore bound
31209         registers bnd0/bnd1 when calling _dl_call_pltexit.
31210         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31211         (LR_BND_OFFSET): Likewise.
31212         (LRV_BND0_OFFSET): Likewise.
31213         (LRV_BND1_OFFSET): Likewise.
31215 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31217         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31218         to...
31219         * sysdeps/mach/hurd/i386/tls.h: ... here.
31220         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31221         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31222         fields.
31224 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31226         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31228 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31230         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31232 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31234         [BZ #14770]
31235         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31236         * sysdeps/s390/configure: Regenerate.
31238         [BZ #16824]
31239         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31240         Set round-to-nearest internally to reduce error accumulation.
31242 2014-04-16  Alan Modra  <amodra@gmail.com>
31244         [BZ #16740]
31245         [BZ #16619]
31246         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31247         * math/libm-test.inc (frexp_test_data): Add tests.
31248         * NEWS: Update fixed bug list.
31250 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31252         * benchtests/Makefile: Depend on libraries in build directory.
31253         (bench-math): Separate out math tests.
31254         (bench-pthread): Separate out pthread tests.
31255         (bench): Include math and pthread tests.
31257 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31259         [BZ #16831]
31260         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31261         _dl_debug_initialize.
31263         * configure.ac: Remove SELinux header check.
31264         * configure: Regenerate.
31265         * nscd/selinux.c (perms): Array of const char* to permission names.
31266         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31267         default policy. Call string_to_security_class and string_to_av_perm to
31268         translate strings. Enforce default policy and call avs_has_perm with
31269         results of translated strings.
31271 2014-04-13  David S. Miller  <davem@davemloft.net>
31273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31275 2014-04-12  Allan McRae  <allan@archlinux.org>
31277         [BZ #16838]
31278         * manual/string.texi (Collation Functions): Fix qsort argument
31279         order in example.
31280         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31282 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31284         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31285         Make the test a no-op if there are no exceptions defined.
31287 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31289         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31290         enable-hardcoded-path-in-tests
31292 2014-04-11  Will Newton  <will.newton@linaro.org>
31294         * benchtests/Makefile (extra-objs): Add json-lib.o.
31295         (bench-func): Tidy up JSON output.
31296         * benchtests/bench-skeleton.c: Include json-lib.h.
31297         (main): Use JSON library functions to do output of
31298         benchmark results.
31299         * benchtests/bench-timing-type.c (main): Output the
31300         timing type simply, leaving formatting to the user.
31301         * benchtests/json-lib.c: New file.
31302         * benchtests/json-lib.h: Likewise.
31304 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31306         [BZ #15215]
31307         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31308         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31309         memory barriers.  Add comments.
31310         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31311         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31312         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31313         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31314         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31315         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31317 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31319         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31320         * sysdeps/s390/s390-64/configure.ac: ... this ...
31321         * sysdeps/s390/configure.ac: ... to here.
31322         * sysdeps/s390/s390-32/configure: Delete file.
31323         * sysdeps/s390/s390-64/configure: Delete file.
31324         * sysdeps/s390/configure: Regenerate.
31326 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
31328         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
31330 2014-04-11  Will Newton  <will.newton@linaro.org>
31332         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
31333         to zero if it is not defined elsewhere.  (mtrim): Test
31334         the value of MALLOC_DEBUG with #if rather than #ifdef.
31336 2014-04-10 Torvald Riegel  <triegel@redhat.com>
31338         * benchtests/pthread_once-inputs: New file.
31339         * benchtests/pthread_once-source.c: New file.
31340         * benchtests/README: Update documentation.
31342 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31343             H.J. Lu  <hongjiu.lu@intel.com>
31345         [BZ #16275]
31346         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
31347         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
31348         * sysdeps/x86_64/configure: Regenerated.
31349         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
31350         macro.
31351         (REGISTER_SAVE_RAX): Likewise.
31352         (REGISTER_SAVE_RCX): Likewise.
31353         (REGISTER_SAVE_RDX): Likewise.
31354         (REGISTER_SAVE_RSI): Likewise.
31355         (REGISTER_SAVE_RDI): Likewise.
31356         (REGISTER_SAVE_R8): Likewise.
31357         (REGISTER_SAVE_R9): Likewise.
31358         (REGISTER_SAVE_BND0): Likewise.
31359         (REGISTER_SAVE_BND1): Likewise.
31360         (REGISTER_SAVE_BND2): Likewise.
31361         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
31362         bound registers when calling _dl_fixup.
31364 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31366         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
31367         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
31368         of its definition.
31369         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
31370         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
31371         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
31372         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
31373         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
31374         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
31375         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
31377 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
31379         [BZ #15514]
31380         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
31381         pathconf(_PC_NAME_MAX).
31383 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31385         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
31386         Remove macro usage.
31387         (__PTHREAD_SPINS): Move definition to ...
31388         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31389         (__PTHREAD_SPINS): ... here.
31390         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31391         (__PTHREAD_SPIN): Likewise.
31392         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
31393         (__PTHREAD_SPIN): Likewise.
31394         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
31395         (__PTHREAD_SPIN): Likewise.
31396         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
31397         (__PTHREAD_SPIN): Likewise.
31398         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31399         (__PTHREAD_SPIN): Likewise.
31400         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31401         (__PTHREAD_SPIN): Likewise.
31402         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
31403         (__PTHREAD_SPIN): Likewise.
31404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31405         (__PTHREAD_SPIN): Likewise.
31406         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31407         (__PTHREAD_SPIN): Likewise.
31408         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31409         (__PTHREAD_SPIN): Likewise.
31410         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31411         (__PTHREAD_SPIN): Likewise.
31412         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
31413         (__PTHREAD_SPIN): Likewise.
31415         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
31416         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
31417         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
31418         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
31419         imply folder.
31420         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
31421         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
31422         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
31423         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
31424         correct imply path.
31425         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
31426         strlen symbol for non multi-arch builds.
31427         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
31428         missing hidden_def and weak_alias.
31430 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
31432         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
31434 2014-04-07  Will Newton  <will.newton@linaro.org>
31436         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
31437         and contents.  [!_LIBC] Remove #ifndef and contents.
31438         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
31439         * string/memccpy.c (__memccpy): Use ANSI prototype.
31440         * string/memfrob.c (memfrob): Likewise.
31441         * string/strcoll.c (STRCOLL): Likewise.
31442         * string/strlen.c (strlen): Likewise.
31443         * string/strtok.c (STRTOK): Likewise.
31444         * string/strcat.c: Remove unused #include of memcopy.h.
31445         (strcat): Use ANSI prototype.
31446         * string/strchr.c: Remove unused #include of memcopy.h.
31447         (strchr): Use ANSI prototype.
31448         * string/strcmp.c: Remove unused #include of memcopy.h.
31449         (strcmp): Use ANSI prototype.
31450         * string/strcpy.c: Remove unused #include of memcopy.h.
31451         (strcpy): Use ANSI prototype.
31453 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31455         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
31456         * config.make.in (config-extra-cppflags): Set it from
31457         libc_extra_cppflags.
31458         * configure.ac (libc_extra_cflags): Make it accumulate over
31459         configure fragments.
31460         (libc_extra_cppflags): New flag.
31461         * configure. Regenerate.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31463         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
31464         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
31465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
31467         [BZ #16815]
31468         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
31469         result for FE_DOWNWARD rounding mode.
31470         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
31471         Likewise.
31472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31474 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
31476         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
31477         in function argument name.
31479 2014-04-03  David Svoboda  <svoboda@cert.org>
31481         [BZ #5666]
31482         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
31483         explicitly.
31485 2014-04-03  Roland McGrath  <roland@hack.frob.com>
31487         * elf/dl-unmap-segments.h: New file.
31488         * sysdeps/generic/ldsodefs.h
31489         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
31490         * elf/dl-close.c: Include <dl-unmap-segments.h>.
31491         * elf/dl-fptr.c: Likewise.
31492         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
31493         * sysdeps/aarch64/tlsdesc.c: Likewise.
31494         * sysdeps/arm/tlsdesc.c: Likewise.
31495         * sysdeps/i386/tlsdesc.c: Likewise.
31496         * sysdeps/tile/dl-runtime.c: Likewise.
31497         * sysdeps/x86_64/tlsdesc.c: Likewise.
31498         * elf/dl-load.h: New file.
31499         * elf/dl-load.c: Include it.
31500         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
31501         Macros moved to dl-load.h.
31502         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
31503         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
31504         Use _dl_unmap_segments in place of __munmap.
31505         Break out segment-mapping loop into ...
31506         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
31508 2014-04-03  Will Newton  <will.newton@linaro.org>
31510         * elf/dl-lookup.c (do_lookup_x): Remove comment
31511         referring to nested function and move variable
31512         declarations down to before first use.
31514 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
31516         [BZ #16799]
31517         [BZ #16800]
31518         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
31519         with 0 numerator.
31520         * math/s_catanf.c (__catanf): Likewise.
31521         * math/s_catanh.c (__catanh): Likewise.
31522         * math/s_catanhf.c (__catanhf): Likewise.
31523         * math/s_catanhl.c (__catanhl): Likewise.
31524         * math/s_catanl.c (__catanl): Likewise.
31525         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
31526         by positive zero when computing -Inf result.
31527         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
31528         (catanh_test): Likewise.
31529         * sysdeps/i386/fpu/libm-test-ulps: Update.
31530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31532         [BZ #16789]
31533         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
31534         instead of using underflowing value in computing result.
31535         * math/s_clog10.c (__clog10): Likewise.
31536         * math/s_clog10f.c (__clog10f): Likewise.
31537         * math/s_clog10l.c (__clog10l): Likewise.
31538         * math/s_clogf.c (__clogf): Likewise.
31539         * math/s_clogl.c (__clogl): Likewise.
31540         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
31541         (clog10_test): Likewise.
31542         * sysdeps/i386/fpu/libm-test-ulps: Update.
31543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31545 2014-04-02  Alan Modra  <amodra@gmail.com>
31547         [BZ #16739]
31548         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
31549         output when value is near a power of two.  Use int64_t for lx and
31550         remove casts.  Use decimal rather than hex exponent constants.
31551         Don't use long double multiplication when double will suffice.
31552         * math/libm-test.inc (nextafter_test_data): Add tests.
31553         * NEWS: Add 16739 and 16786 to bug list.
31555         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
31557         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
31559 2014-04-01  Will Newton  <will.newton@linaro.org>
31561         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
31562         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
31564 2014-04-01  Florian Weimer  <fweimer@redhat.com>
31566         [BZ #13347]
31567         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
31568         * nptl/tst-setuid2.c: New file.
31569         * nptl/Makefile (xtests): Add tst-setuid2.
31571 2014-04-01  Alan Modra  <amodra@gmail.com>
31573         [BZ #16786]
31574         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
31576 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31578         [BZ #6803]
31579         [BZ #6804]
31580         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
31581         set errno as appropriate.
31582         * math/w_scalbf.c (__scalbf): Likewise.
31583         * math/w_scalbl.c (__scalbl): Likewise.
31584         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
31585         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
31586         * math/libm-test.inc (scalb_test_data): Add errno expectations.
31587         Add more NaN tests.
31589         [BZ #16349]
31590         * math/w_atan2.c: Include <errno.h>.
31591         (__atan2): Set errno for result underflowing to zero.
31592         * math/w_atan2f.c: Include <errno.h>.
31593         (__atan2f): Set errno for result underflowing to zero.
31594         * math/w_atan2l.c: Include <errno.h>.
31595         (__atan2l): Set errno for result underflowing to zero.
31596         * math/auto-libm-test-in: Don't allow missing errno for some atan2
31597         tests.
31598         * math/auto-libm-test-out: Regenerated.
31600 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31602         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31603         Encode instruction correctly in little endian.
31604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31605         Likewise.
31606         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31607         Likewise.
31608         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31609         Likewise.
31610         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31611         Likewise.
31613 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
31615         [BZ #9894]
31616         * sysdeps/unix/sysv/linux/kernel-features.h
31617         [__sparc__ && !__arch64__ && !__sparc_v9__]
31618         (__ASSUME_SET_ROBUST_LIST): Do not define.
31619         [__sparc__ && !__arch64__ && !__sparc_v9__]
31620         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31621         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
31622         Likewise.
31623         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31624         (__ASSUME_FUTEX_LOCK_PI): Undefine.
31625         (__ASSUME_REQUEUE_PI): Likewise.
31626         (__ASSUME_SET_ROBUST_LIST): Likewise.
31627         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31628         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
31629         Undefine.
31630         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31631         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
31632         Likewise.
31633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
31634         Likewise.
31635         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
31636         Likewise.
31637         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31638         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
31639         Undefine.
31640         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
31641         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
31642         Likewise.
31644         [BZ #16648]
31645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31646         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
31647         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
31649 2014-03-31  Will Newton  <will.newton@linaro.org>
31651         * benchtests/Makefile (bench): Add ffs and ffsll to list
31652         of tests.
31653         * benchtests/ffs-inputs: New file.
31654         * benchtests/ffsll-inputs: Likewise.
31656 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
31658         [BZ #16770]
31659         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
31660         too large before casting to int.
31661         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
31662         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
31663         * math/libm-test.inc (scalb_test_data): Add more tests.
31665 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31667         * benchtests/Makefile (DETAILED_OPT): New make option.
31668         (bench-func): Run benchmark program with -d if DETAILED_OPT is
31669         set.
31670         * benchtests/bench-skeleton.c: Include stdbool.h.
31671         (main): Store and print timings per input.
31672         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
31673         member to each argument value.
31674         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
31675         (_print_arg_data): Initialize per-input timing to 0.
31677         * benchtests/Makefile (timing-type): New binary.
31678         (bench-clean): Also remove bench-timing-type.
31679         (bench): New target for timing-type.
31680         (bench-func): Print output in JSON format.
31681         * benchtests/bench-skeleton.c (main): Print output in JSON
31682         format.
31683         * benchtests/bench-timing-type.c: New file.
31684         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
31685         (TIMING_PRINT_STATS): Remove.
31686         * benchtests/scripts/bench.py (_print_arg_data): Store variant
31687         name separately.
31689         * benchtests/bench-modf.c: Remove.
31690         * benchtests/modf-inputs: New inputs file.
31692 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
31694         [BZ #16362]
31695         * math/s_clog10.c (M_PI_LOG10E): New macro.
31696         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
31697         imaginary parts are 0.
31698         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
31699         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
31700         imaginary parts are 0.
31701         * math/s_clog10l.c (M_PI_LOG10El): New macro.
31702         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
31703         imaginary parts are 0.
31704         * math/libm-test.inc (clog10_test_data): Update expected results
31705         for when real and imaginary parts are 0.
31707 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
31709         * elf/dl-load.c: Finish conversion of __builtin_expect into
31710         __glibc_{un}likely.
31712 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
31714         [BZ #16348]
31715         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
31716         1+x for argument with exponent below -67.
31717         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
31718         Likewise.
31719         * math/auto-libm-test-in: Add more tests of exp.
31720         * math/auto-libm-test-out: Regenerated.
31722 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724         [BZ #16759]
31725         * inet/getnetgrent_r.c (get_nonempty_val): New function.
31726         (nscd_getnetgrent): Use it.
31728         [BZ #16760]
31729         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
31730         of stpcpy.
31732 2014-03-27  Andi Kleen  <ak@linux.intel.com>
31734         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
31735         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31736         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31737         (lll_robust_unlock): Remove out of line section. Use cfi
31738         intrinsics.
31739         (LLL_STUB_UNWIND_INFO*): Remove.
31740         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
31741         (lll_robust_lock, lll_cond_lock, lll_timedlock)
31742         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
31743         (lll_robust_unlock): Remove out of line section. Use cfi
31744         intrinsics.
31745         (LLL_STUB_UNWIND_INFO*): Remove.
31747 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31749         [BZ #16758]
31750         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
31751         blank values.
31753 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
31755         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
31757 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
31759         [BZ #16198]
31760         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
31761         fnstenv.
31762         * math/test-fenv-preserve.c: New file.
31763         * math/Makefile (tests): Add test-fenv-preserve.
31765 2014-03-26  Will Newton <will.newton@linaro.org>
31767         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
31769 2014-03-25  Roland McGrath  <roland@hack.frob.com>
31771         * scripts/versionlist.awk: Partition the version sets and emit all
31772         GLIBC_* (sorted) before all others (sorted).
31774 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31776         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
31777         GLIBC_2.2.5 version.
31779 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31781         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
31782         calls.
31784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
31785         previous change.
31787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31789 2014-03-25  Andreas Schwab  <schwab@suse.de>
31791         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
31792         label to be used after in6ailist is initialized.
31794 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31796         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
31797         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31799 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
31801         [BZ #16357]
31802         [BZ #16599]
31803         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
31804         min_plus_half.
31805         (fp_formats): Update initializers.
31806         (init_fp_formats): Initialize new field.
31807         (output_for_one_input_case): Allow underflow for results up to
31808         min_plus_half.
31809         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
31810         * math/auto-libm-test-in: Don't mark some underflows from asin and
31811         atanh as spurious.
31812         * math/auto-libm-test-out: Regenerated.
31813         * sysdeps/i386/fpu/libm-test-ulps: Update.
31814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31816 2014-03-25  Andreas Schwab  <schwab@suse.de>
31818         * libio/Makefile (tst-ftell-partial-wide-ENV)
31819         (tst-ftell-active-handler-ENV): Define.
31821 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
31823         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
31825 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31827         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
31829 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31831         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
31832         * sysdeps/x86_64/fpu/multiarch/e_exp.c
31833         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
31835 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31837         [BZ #16634]
31838         * elf/dl-load.c (open_verify): Add mode parameter.
31839         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
31840         (open_path): Change from boolean 'secure' to complete flag 'mode'
31841         (_dl_map_object): Adjust.
31842         * elf/Makefile (tests): Add tst-dlopen-aout.
31843         * elf/tst-dlopen-aout.c: New test.
31845 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
31847         [BZ #16714]
31848         * sysdeps/unix/sysv/linux/s390/bits/stat.h
31849         (struct stat): Rename member pad0 to __glibc_reserved0.
31851         [BZ #16712]
31852         * sysdeps/s390/s390-32/bits/wordsize.h
31853         (__WORDSIZE32_SIZE_ULONG): New define.
31854         * sysdeps/s390/s390-64/bits/wordsize.h
31855         (__WORDSIZE32_SIZE_ULONG): Likewise.
31856         * sysdeps/generic/stdint.h (SIZE_MAX):
31857         Define as UL if __WORDSIZE32_SIZE_ULONG.
31859         [BZ #16713]
31860         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31861         (__glibc_reserved0): New variable.
31862         (sa_flags): Change type to int.
31864         * posix/Makefile (before-compile): Use += before-compile instead
31865         of a :=.
31867         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31868         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31870 2014-03-20  Andreas Schwab  <schwab@suse.de>
31872         [BZ #16743]
31873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31874         non-matching result from nscd.
31876 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31878         * scripts/bench.py: Moved to ...
31879         * benchtests/scripts/bench.py: ... here.
31880         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31882 2014-03-24  Andreas Schwab  <schwab@suse.de>
31884         [BZ #16002]
31885         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31886         alloca_account and account alloca use for struct in6ailist.
31888 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31890         [BZ #16284]
31891         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31892         rounding mode to recompute results that overflow to infinity or
31893         underflow to zero.
31894         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31895         bug 16284.
31896         * math/auto-libm-test-out: Regenerated.
31897         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31898         (ccosh_test): Likewise.
31899         (csin_test_data): Use plus_oflow.
31900         (csin_test): Use ALL_RM_TEST.
31901         (csinh_test_data): Use plus_oflow.
31902         (csinh_test): Use ALL_RM_TEST.
31903         * sysdeps/i386/fpu/libm-test-ulps: Update.
31904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31906 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31908         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31909         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31910         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31912         [BZ #16731]
31913         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31914         when x - 1 is zero.
31915         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31916         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31917         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31919         argument is 1.
31920         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31921         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31922         zero.
31923         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31924         * sysdeps/i386/fpu/libm-test-ulps: Update.
31925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31927 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31929         * scripts/bench.pl: Remove file.
31930         * scripts/bench.py: New benchmark script.
31931         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31932         * benchtests/README: Mention python dependency.
31933         * scripts/pylintrc: New file.
31934         * scripts/pylint: New file.
31936         * bits/mathdef.h: Use #ifdef instead of #if.
31937         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31938         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31939         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31940         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31941         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31942         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31944 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31945             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31947         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31949         and strpbrk-ppc64 objects.
31950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31951         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31952         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31953         multiarch strpbrk for POWER7.
31954         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31955         multiarch strpbrk for PPC64.
31956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31957         ifunc selector.
31958         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31959         strpbrk for POWER7.
31961 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31963         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31964         (atan_test): Likewise.
31965         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31966         (atanh_test): Use ALL_RM_TEST.
31967         (atan2_test_data): Likewise.
31968         (cabs_test): Likewise.
31969         (cacosh_test): Likewise.
31970         (carg_test): Likewise.
31971         (casin_test): Likewise.
31972         (casinh_test): Likewise.
31973         (cbrt_test): Likewise.
31974         (csqrt_test): Likewise.
31975         (erf_test): Likewise.
31976         (erfc_test): Likewise.
31977         (pow10_test): Likewise.
31978         (exp2_test): Likewise.
31979         (hypot_test): Likewise.
31980         (j0_test): Likewise.
31981         (j1_test): Likewise.
31982         (lgamma_test): Likewise.
31983         (gamma_test): Likewise.
31984         (sincos_test): Likewise.
31985         (tanh_test): Likewise.
31986         (y0_test): Likewise.
31987         (y1_test): Likewise.
31988         * sysdeps/i386/fpu/libm-test-ulps: Update.
31989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31991 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31993         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31995         and strcspn-ppc64 objects.
31996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31997         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31998         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31999         multiarch strcspn for POWER7.
32000         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32001         multiarch strcspn for PPC64.
32002         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32003         ifunc selector.
32004         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32005         strcspn for POWER7.
32007 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32009         * math/gen-libm-test.pl (generate_testfile): Expect only function
32010         name as argument to AUTO_TESTS_* and pass results for all rounding
32011         modes to parse_args.
32012         (parse_auto_input): Separate inputs of automatic tests from
32013         outputs before storing in %auto_tests.
32014         * math/libm-test.inc (acos_test_data): Update call to
32015         AUTO_TESTS_f_f.
32016         (acos_test): Use ALL_RM_TEST.
32017         (acos_tonearest_test_data): Remove.
32018         (acos_test_tonearest): Likewise.
32019         (acos_towardzero_test_data): Likewise.
32020         (acos_test_towardzero): Likewise.
32021         (acos_downward_test_data): Likewise.
32022         (acos_test_downward): Likewise.
32023         (acos_upward_test_data): Likewise.
32024         (acos_test_upward): Likewise.
32025         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32026         (asin_test_data): Likewise.
32027         (asin_test): Use ALL_RM_TEST.
32028         (asin_tonearest_test_data): Remove.
32029         (asin_test_tonearest): Likewise.
32030         (asin_towardzero_test_data): Likewise.
32031         (asin_test_towardzero): Likewise.
32032         (asin_downward_test_data): Likewise.
32033         (asin_test_downward): Likewise.
32034         (asin_upward_test_data): Likewise.
32035         (asin_test_upward): Likewise.
32036         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32037         (atan_test_data): Likewise.
32038         (atanh_test_data): Likewise.
32039         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32040         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32041         (carg_test_data): Likewise.
32042         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32043         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32044         (ccosh_test_data): Likewise.
32045         (cexp_test_data): Likewise.
32046         (clog_test_data): Likewise.
32047         (clog10_test_data): Likewise.
32048         (cos_test_data): Update call to AUTO_TESTS_f_f.
32049         (cos_test): Use ALL_RM_TEST.
32050         (cos_tonearest_test_data): Remove.
32051         (cos_test_tonearest): Likewise.
32052         (cos_towardzero_test_data): Likewise.
32053         (cos_test_towardzero): Likewise.
32054         (cos_downward_test_data): Likewise.
32055         (cos_test_downward): Likewise.
32056         (cos_upward_test_data): Likewise.
32057         (cos_test_upward): Likewise.
32058         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32059         (cosh_test): Use ALL_RM_TEST.
32060         (cosh_tonearest_test_data): Remove.
32061         (cosh_test_tonearest): Likewise.
32062         (cosh_towardzero_test_data): Likewise.
32063         (cosh_test_towardzero): Likewise.
32064         (cosh_downward_test_data): Likewise.
32065         (cosh_test_downward): Likewise.
32066         (cosh_upward_test_data): Likewise.
32067         (cosh_test_upward): Likewise.
32068         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32069         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32070         (ctan_test_data): Likewise.
32071         (ctan_test): Use ALL_RM_TEST.
32072         (ctan_tonearest_test_data): Remove.
32073         (ctan_test_tonearest): Likewise.
32074         (ctan_towardzero_test_data): Likewise.
32075         (ctan_test_towardzero): Likewise.
32076         (ctan_downward_test_data): Likewise.
32077         (ctan_test_downward): Likewise.
32078         (ctan_upward_test_data): Likewise.
32079         (ctan_test_upward): Likewise.
32080         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32081         (ctanh_test): Use ALL_RM_TEST.
32082         (ctanh_tonearest_test_data): Remove.
32083         (ctanh_test_tonearest): Likewise.
32084         (ctanh_towardzero_test_data): Likewise.
32085         (ctanh_test_towardzero): Likewise.
32086         (ctanh_downward_test_data): Likewise.
32087         (ctanh_test_downward): Likewise.
32088         (ctanh_upward_test_data): Likewise.
32089         (ctanh_test_upward): Likewise.
32090         (erf_test_data): Update call to AUTO_TESTS_f_f.
32091         (erfc_test_data): Likewise.
32092         (exp_test_data): Likewise.
32093         (exp_test): Use ALL_RM_TEST.
32094         (exp_tonearest_test_data): Remove.
32095         (exp_test_tonearest): Likewise.
32096         (exp_towardzero_test_data): Likewise.
32097         (exp_test_towardzero): Likewise.
32098         (exp_downward_test_data): Likewise.
32099         (exp_test_downward): Likewise.
32100         (exp_upward_test_data): Likewise.
32101         (exp_test_upward): Likewise.
32102         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32103         (exp10_test): Use ALL_RM_TEST.
32104         (exp10_tonearest_test_data): Remove.
32105         (exp10_test_tonearest): Likewise.
32106         (exp10_towardzero_test_data): Likewise.
32107         (exp10_test_towardzero): Likewise.
32108         (exp10_downward_test_data): Likewise.
32109         (exp10_test_downward): Likewise.
32110         (exp10_upward_test_data): Likewise.
32111         (exp10_test_upward): Likewise.
32112         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32113         (expm1_test_data): Likewise.
32114         (expm1_test): Use ALL_RM_TEST.
32115         (expm1_tonearest_test_data): Remove.
32116         (expm1_test_tonearest): Likewise.
32117         (expm1_towardzero_test_data): Likewise.
32118         (expm1_test_towardzero): Likewise.
32119         (expm1_downward_test_data): Likewise.
32120         (expm1_test_downward): Likewise.
32121         (expm1_upward_test_data): Likewise.
32122         (expm1_test_upward): Likewise.
32123         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32124         (fma_test): Use ALL_RM_TEST.
32125         (fma_towardzero_test_data): Remove.
32126         (fma_test_towardzero): Likewise.
32127         (fma_downward_test_data): Likewise.
32128         (fma_test_downward): Likewise.
32129         (fma_upward_test_data): Likewise.
32130         (fma_test_upward): Likewise.
32131         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32132         (j0_test_data): Update call to AUTO_TESTS_f_f.
32133         (j1_test_data): Likewise.
32134         (jn_test_data): Update call to AUTO_TESTS_if_f.
32135         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32136         (log_test_data): Update call to AUTO_TESTS_f_f.
32137         (log10_test_data): Likewise.
32138         (log1p_test_data): Likewise.
32139         (log2_test_data): Likewise.
32140         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32141         (pow_tonearest_test_data): Likewise.
32142         (sin_test_data): Update call to AUTO_TESTS_f_f.
32143         (sin_test): Use ALL_RM_TEST.
32144         (sin_tonearest_test_data): Remove.
32145         (sin_test_tonearest): Likewise.
32146         (sin_towardzero_test_data): Likewise.
32147         (sin_test_towardzero): Likewise.
32148         (sin_downward_test_data): Likewise.
32149         (sin_test_downward): Likewise.
32150         (sin_upward_test_data): Likewise.
32151         (sin_test_upward): Likewise.
32152         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32153         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32154         (sinh_test): Use ALL_RM_TEST.
32155         (sinh_tonearest_test_data): Remove.
32156         (sinh_test_tonearest): Likewise.
32157         (sinh_towardzero_test_data): Likewise.
32158         (sinh_test_towardzero): Likewise.
32159         (sinh_downward_test_data): Likewise.
32160         (sinh_test_downward): Likewise.
32161         (sinh_upward_test_data): Likewise.
32162         (sinh_test_upward): Likewise.
32163         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32164         (sqrt_test): Use ALL_RM_TEST.
32165         (sqrt_tonearest_test_data): Remove.
32166         (sqrt_test_tonearest): Likewise.
32167         (sqrt_towardzero_test_data): Likewise.
32168         (sqrt_test_towardzero): Likewise.
32169         (sqrt_downward_test_data): Likewise.
32170         (sqrt_test_downward): Likewise.
32171         (sqrt_upward_test_data): Likewise.
32172         (sqrt_test_upward): Likewise.
32173         (tan_test_data): Update call to AUTO_TESTS_f_f.
32174         (tan_test): Use ALL_RM_TEST.
32175         (tan_tonearest_test_data): Remove.
32176         (tan_test_tonearest): Likewise.
32177         (tan_towardzero_test_data): Likewise.
32178         (tan_test_towardzero): Likewise.
32179         (tan_downward_test_data): Likewise.
32180         (tan_test_downward): Likewise.
32181         (tan_upward_test_data): Likewise.
32182         (tan_test_upward): Likewise.
32183         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32184         (tgamma_test_data): Likewise.
32185         (y0_test_data): Likewise.
32186         (y1_test_data): Likewise.
32187         (yn_test_data): Update call to AUTO_TESTS_if_f.
32188         (main): Do not call removed functions.
32190 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32192         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32193         (ldexp_test_data): Remove.
32194         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32195         scalbn_test_data.
32196         (scalb_test): Use ALL_RM_TEST.
32198 2014-03-19  Andreas Schwab  <schwab@suse.de>
32200         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32202 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32204         [BZ #16649]
32205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32206         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32207         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32209         (__ASSUME_PREADV): Undefine.
32210         (__ASSUME_PWRITEV): Likewise.
32212 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32214         * bits/mman-linux.h: Add comment about non-Linux use.
32215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32216         bits/mman-linux.h resting place.
32218         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32219         * bits/mman-linux.h: ... here.
32221 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32223         * conform/conformtest.pl: Add standard definition when calling C
32224         preprocessor on data files.
32225         (checknamespace): Remove unused variable.
32227 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32229         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32230         minus_oflow, plus_uflow and minus_uflow in expected results.
32231         * math/libm-test.inc (scalbn_test_data): Add more tests of
32232         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32233         minus_uflow.
32234         (scalbn_test): Use ALL_RM_TEST.
32235         (scalbln_test_data): Add more tests of negative arguments.  Use
32236         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32237         (scalbln_test): Use ALL_RM_TEST.
32239 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32241         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32243 2014-03-18  Will Newton  <will.newton@linaro.org>
32245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32246         inaccurate comment.
32248 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32250         * Makerules [!subdir] (check-abi): Exit with error status if a
32251         test failed.
32253 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32255         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32256         for rint.  Include results for all rounding modes.
32257         (nearbyint_test): Use ALL_RM_TEST.
32258         (rint_test_data): Include all tests used for nearbyint.
32260 2014-03-17  Will Newton  <will.newton@linaro.org>
32262         * nptl/sysdeps/pthread/pthread.h: Revert previous
32263         change.
32265         * sysdeps/generic/ldsodefs.h: Revert previous
32266         change.
32268         * libio/genops.c: Revert previous change.
32269         * libio/libioP.h: Likewise.
32270         * stdio-common/vfprintf.c: Likewise.
32272         * sysdeps/generic/math_private.h: Revert previous
32273         change.
32275         * sysdeps/generic/math_private.h: Check whether
32276         HAVE_RM_CTX is defined with #ifdef rather
32277         than #if.
32279         * argp/argp-fmtstream.h: Check whether
32280         __STRICT_ANSI__ is defined with #ifdef rather
32281         than #if.
32282         * argp/argp.h: Likewise.
32284         * libio/genops.c: Check whether
32285         _IO_JUMPS_OFFSET is defined with #ifdef rather
32286         than #if.
32287         * libio/libioP.h: Likewise.
32288         * stdio-common/vfprintf.c: Likewise.
32290         * sysdeps/generic/ldsodefs.h: Check whether
32291         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32292         than #if.
32294         * nptl/sysdeps/pthread/pthread.h: Check
32295         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32296         its value.
32298 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32300         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32301         setting O_APPEND.
32302         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32303         test case.
32305         [BZ #16680]
32306         * libio/fileops.c (_IO_file_open): Seek to end of file but
32307         don't cache the offset.
32308         (get_file_offset): Remove function.
32309         (do_ftell): Use cached offset when available.
32310         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32311         don't cache the offset.
32312         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32313         case.
32314         (do_one_test): Call it.
32315         (do_ftell_test): Fix up expected old offset for a+ mode.
32316         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32317         available.
32319         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32320         up test status with function return status.
32321         (do_write_test): Likewise.
32322         (do_append_test): Likewise.
32324         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
32325         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
32326         Remove.
32328 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32330         * math/gen-libm-test.pl (parse_args): Handle results specified for
32331         each rounding mode separately.
32332         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
32333         tests and results from lrint_tonearest_test_data,
32334         lrint_towardzero_test_data, lrint_downward_test_data and
32335         lrint_upward_test_data.
32336         (lrint_test): Use ALL_RM_TEST.
32337         (lrint_tonearest_test_data): Remove.
32338         (lrint_test_tonearest): Likewise.
32339         (lrint_towardzero_test_data): Likewise.
32340         (lrint_test_towardzero): Likewise.
32341         (lrint_downward_test_data): Likewise.
32342         (lrint_test_downward): Likewise.
32343         (lrint_upward_test_data): Likewise.
32344         (lrint_test_upward): Likewise.
32345         (llrint_test_data): Merge in per-rounding-mode tests and results
32346         from llrint_tonearest_test_data, llrint_towardzero_test_data,
32347         llrint_downward_test_data and llrint_upward_test_data.
32348         (llrint_test): Use ALL_RM_TEST.
32349         (llrint_tonearest_test_data): Remove.
32350         (llrint_test_tonearest): Likewise.
32351         (llrint_towardzero_test_data): Likewise.
32352         (llrint_test_towardzero): Likewise.
32353         (llrint_downward_test_data): Likewise.
32354         (llrint_test_downward): Likewise.
32355         (llrint_upward_test_data): Likewise.
32356         (llrint_test_upward): Likewise.
32357         (rint_test_data): Merge in per-rounding-mode tests and results
32358         from rint_tonearest_test_data, rint_towardzero_test_data,
32359         rint_downward_test_data and rint_upward_test_data.  Add
32360         per-rounding-mode results for tests not in those arrays.
32361         (rint_test): Use ALL_RM_TEST.
32362         (rint_tonearest_test_data): Remove.
32363         (rint_test_tonearest): Likewise.
32364         (rint_towardzero_test_data): Likewise.
32365         (rint_test_towardzero): Likewise.
32366         (rint_downward_test_data): Likewise.
32367         (rint_test_downward): Likewise.
32368         (rint_upward_test_data): Likewise.
32369         (rint_test_upward): Likewise.
32370         (main): Don't call removed functions.
32372 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32374         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
32375         "Compiled on ..." crapola.  It is anti-useful.
32377 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
32379         * scripts/evaluate-test.sh: Handle fourth argument to determine
32380         whether test run should stop on failure.
32381         * Makeconfig (stop-on-test-failure): New variable.
32382         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
32383         $(stop-on-test-failure).
32384         * Makefile (tests): Give a summary of results from testing and
32385         exit with failure status if they include an ERROR or FAIL.
32386         (xtests): Likewise.
32387         * manual/install.texi (Configuring and compiling): Mention
32388         stop-on-test-failure=y.
32389         * INSTALL: Regenerated.
32391 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32393         * scripts/versionlist.awk: New file.
32394         * Makerules [$(build-shared) = yes]
32395         (postclean-generated): Add Versions.def, not Versions.def.v and
32396         Versions.def.v.i.
32397         ($(common-objpfx)Versions.def.v.i): Target removed.
32398         ($(common-objpfx)Versions.def): New target.
32399         ($(common-objpfx)Versions.all): Depend on that rather that
32400         $(common-objpfx)Versions.def.v.
32401         * Versions.def: File removed.
32403         * Makeconfig (+gccwarn): Add -Wundef.
32404         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
32405         a dl-sysdep.h breaking its contract.
32406         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
32407         * include/stackinfo.h: New file.
32408         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
32409         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
32410         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
32411         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
32412         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
32413         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
32414         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32415         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32416         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32417         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32418         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32419         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
32420         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32421         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32422         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32424 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32426         [BZ #16707]
32427         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
32428         implementation.
32429         * math/libm-test.inc (round_test_data): Add more tests.
32431         [BZ #16706]
32432         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
32433         implementation.
32434         * math/libm-test.inc (nearbyint_test_data): Add more tests.
32436         [BZ #16701]
32437         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
32438         implementation.
32439         * math/libm-test.inc (ceil_test_data): Add more tests.
32441         * math/libm-test.inc (trunc_test_data): Add more tests related to
32442         BZ#16414.
32444 2014-03-14  Roland McGrath  <roland@hack.frob.com>
32446         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
32447         with #if rather than #ifdef.
32448         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
32450 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
32452         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
32453         first.  Disable AVX-512 GCC support if assembler doesn't support
32454         it.
32455         * sysdeps/x86_64/configure: Regenerated.
32457 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
32459         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
32460         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
32461         (__old_pthread_attr_setstack): Likewise.
32462         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
32463         [!_STACK_GROWS_DOWN]: Likewise.
32465 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
32467         * config.make.in (have-bash2): Delete.
32468         * configure.ac (libc_cv_have_bash2): Delete.
32469         * configure: Regenerate.
32470         * elf/Makefile (common-ldd-rewrite): Rename to ...
32471         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
32472         (sh-ldd-rewrite): Delete.
32473         (bash-ldd-rewrite): Delete.
32474         (have-bash2): Delete checks.
32475         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
32476         ldd-rewrite.
32478         * config.make.in (have-ksh): Delete.
32479         (KSH): Delete.
32480         * configure.ac (libc_cv_have_ksh): Delete.
32481         * configure: Regenerate.
32483         * elf/Makefile: Delete $(have-ksh) check.
32484         ($(objpfx)sotruss): Change KSH to BASH.
32485         * elf/sotruss.ksh: Rename to ...
32486         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
32487         function style to match POSIX.  Drop ksh vim mode setting.
32489         * manual/time.texi (Specifying the Time Zone with TZ): Change
32490         Tuesday to Thursday.
32492         * debug/tst-longjmp_chk2.c: Update header comment.
32493         (stackoverflow_handler): Add comment.  Call assert on pass value.
32495 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
32497         [BZ #16194]
32498         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
32499         (HAVE_AVX512_ASM_SUPPORT): Likewise.
32500         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
32501         (La_x86_64_vector): Add zmm.
32502         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
32503         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
32504         ($(objpfx)tst-audit10): New target.
32505         ($(objpfx)tst-audit10.out): Likewise.
32506         (tst-audit10-ENV): New.
32507         (AVX512-CFLAGS): Likewise.
32508         (CFLAGS-tst-audit10.c): Likewise.
32509         (CFLAGS-tst-auditmod10a.c): Likewise.
32510         (CFLAGS-tst-auditmod10b.c): Likewise.
32511         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
32512         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
32513         * sysdeps/x86_64/configure: Regenerated.
32514         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
32515         AVX-512 zmm register support.
32516         (_dl_x86_64_save_sse): Likewise.
32517         (_dl_x86_64_restore_sse): Likewise.
32518         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
32519         size vector registers.
32520         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
32521         (ZMM_SIZE): Likewise.
32522         * sysdeps/x86_64/tst-audit10.c: New file.
32523         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
32524         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
32526 2014-03-13  Roland McGrath  <roland@hack.frob.com>
32528         * configure.ac (HAVE_EHDR_START): New check.
32529         * configure: Regenerated.
32530         * config.h.in (HAVE_EHDR_START): New #undef.
32531         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
32532         assuming the lowest-addressed segment maps the start of the file.
32534 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
32536         * INSTALL: Regenerated.
32538 2014-03-13  Will Newton  <will.newton@linaro.org>
32540         * manual/setjmp.texi (System V contexts): Improve
32541         clarity and grammar of documentation.
32543 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32545         [BZ #16381]
32546         * elf/Makefile (tests): Add tst-pie2.
32547         (tests-pie): Add tst-pie2.
32548         * elf/tst-pie2.c: New file.
32549         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
32550         for ET_EXEC.
32551         * elf/rtld.c (map_doit): Load executable as lt_executable.
32552         (dl_main): Likewise.
32554 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
32556         [BZ #16642]
32557         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32558         (__ASSUME_PSELECT): Undefine.
32560 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32562         [BZ #16689]
32563         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
32564         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
32565         static build.
32566         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
32567         selector for static builds.
32569 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32571         [BZ #16695]
32572         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
32573         key in the buffer.
32575 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32577         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
32578         IFUNC selector for static builds.
32580 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
32582         * sysdeps/mips/math_private.h [__mips_hard_float]
32583         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
32584         libc_feresetround_mips_ctx.
32585         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
32586         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
32587         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
32589         [BZ #16677]
32590         * math/s_nextafter.c (__nextafter): Do not return value from
32591         overflowing computation.
32592         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
32593         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
32594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
32595         Likewise.
32596         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
32597         Likewise.
32598         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
32599         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
32601 2014-03-11  Roland McGrath  <roland@hack.frob.com>
32603         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
32604         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
32605         Move sfi_sp use from the load-multiple (that no longer sets sp) to
32606         the new mov targetting sp.
32608 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32610         [BZ #16683]
32611         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
32612         Define it for static builds as well.
32613         (NO_BZERO_IMPL): Likewise.
32615 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32617         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
32618         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
32619         multiarch strspn for PPC64.
32620         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
32621         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
32622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32623         (__libc_ifunc_impl_list): Likewise.
32624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
32625         multiarch optimizations
32626         * string/strspn.c (strspn): Using macro to redefine symbol name.
32628 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32629             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32631         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
32632         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
32633         multiarch strncat for PPC64.
32634         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
32635         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
32636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32637         (__libc_ifunc_impl_list): Likewise.
32638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
32639         multiarch optimizations
32641 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32643         [BZ #16639]
32644         * nscd/nscd.service: Make service type forking.
32646 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32648         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
32649         sign in non default rounding modes.
32650         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
32652 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
32654         * math/libm-test.inc (ALL_RM_TEST): New macro.
32655         (ceil_test): Use ALL_RM_TEST.
32656         (cimag_test): Likewise.
32657         (conj_test): Likewise.
32658         (copysign_test): Likewise.
32659         (cproj_test): Likewise.
32660         (creal_test): Likewise.
32661         (fabs_test): Likewise.
32662         (floor_test): Likewise.
32663         (fmax_test): Likewise.
32664         (fmin_test): Likewise.
32665         (fmod_test): Likewise.
32666         (fpclassify_test): Likewise.
32667         (frexp_test): Likewise.
32668         (ilogb_test): Likewise.
32669         (isfinite_test): Likewise.
32670         (finite_test): Likewise.
32671         (isgreater_test): Likewise.
32672         (isgreaterequal_test): Likewise.
32673         (isinf_test): Likewise.
32674         (isless_test): Likewise.
32675         (islessequal_test): Likewise.
32676         (islessgreater_test): Likewise.
32677         (isnan_test): Likewise.
32678         (isnormal_test): Likewise.
32679         (issignaling_test): Likewise.
32680         (isunordered_test): Likewise.
32681         (logb_test): Likewise.
32682         (logb_downward_test_data): Remove.
32683         (logb_test_downward): Likewise.
32684         (lround_test): Use ALL_RM_TEST.
32685         (llround_test): Likewise.
32686         (modf_test): Likewise.
32687         (nexttoward_test): Likewise.
32688         (remainder_test): Likewise.
32689         (drem_test): Likewise.
32690         (remainder_tonearest_test_data): Likewise.
32691         (remainder_test_tonearest): Likewise.
32692         (drem_test_tonearest): Likewise.
32693         (remainder_towardzero_test_data): Likewise.
32694         (remainder_test_towardzero): Likewise.
32695         (drem_test_towardzero): Likewise.
32696         (remainder_downward_test_data): Likewise.
32697         (remainder_test_downward): Likewise.
32698         (drem_test_downward): Likewise.
32699         (remainder_upward_test_data): Likewise.
32700         (remainder_test_upward): Likewise.
32701         (drem_test_upward): Likewise.
32702         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
32703         (round_test): Use ALL_RM_TEST.
32704         (signbit_test): Likewise.
32705         (trunc_test): Likewise.
32706         (significand_test): Likewise.
32707         (main): Don't call removed functions.
32709 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32711         [BZ #16674]
32712         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
32713         || __USE_XOPEN2K8].
32714         (ILL_ILLOPN): Likewise.
32715         (ILL_ILLADR): Likewise.
32716         (ILL_ILLTRP): Likewise.
32717         (ILL_PRVOPC): Likewise.
32718         (ILL_PRVREG): Likewise.
32719         (ILL_COPROC): Likewise.
32720         (ILL_BADSTK): Likewise.
32721         (FPE_INTDIV): Likewise.
32722         (FPE_INTOVF): Likewise.
32723         (FPE_FLTDIV): Likewise.
32724         (FPE_FLTOVF): Likewise.
32725         (FPE_FLTUND): Likewise.
32726         (FPE_FLTRES): Likewise.
32727         (FPE_FLTINV): Likewise.
32728         (FPE_FLTSUB): Likewise.
32729         (SEGV_MAPERR): Likewise.
32730         (SEGV_ACCERR): Likewise.
32731         (BUS_ADRALN): Likewise.
32732         (BUS_ADRERR): Likewise.
32733         (BUS_OBJERR): Likewise.
32734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32735         (TRAP_TRACE): Likewise.
32736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32737         __USE_XOPEN2K8].
32738         (CLD_KILLED): Likewise.
32739         (CLD_DUMPED): Likewise.
32740         (CLD_TRAPPED): Likewise.
32741         (CLD_STOPPED): Likewise.
32742         (CLD_CONTINUED): Likewise.
32743         (POLL_IN): Likewise.
32744         (POLL_OUT): Likewise.
32745         (POLL_MSG): Likewise.
32746         (POLL_ERR): Likewise.
32747         (POLL_PRI): Likewise.
32748         (POLL_HUP): Likewise.
32749         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
32750         Likewise.
32751         (ILL_ILLOPN): Likewise.
32752         (ILL_ILLADR): Likewise.
32753         (ILL_ILLTRP): Likewise.
32754         (ILL_PRVOPC): Likewise.
32755         (ILL_PRVREG): Likewise.
32756         (ILL_COPROC): Likewise.
32757         (ILL_BADSTK): Likewise.
32758         (FPE_INTDIV): Likewise.
32759         (FPE_INTOVF): Likewise.
32760         (FPE_FLTDIV): Likewise.
32761         (FPE_FLTOVF): Likewise.
32762         (FPE_FLTUND): Likewise.
32763         (FPE_FLTRES): Likewise.
32764         (FPE_FLTINV): Likewise.
32765         (FPE_FLTSUB): Likewise.
32766         (SEGV_MAPERR): Likewise.
32767         (SEGV_ACCERR): Likewise.
32768         (BUS_ADRALN): Likewise.
32769         (BUS_ADRERR): Likewise.
32770         (BUS_OBJERR): Likewise.
32771         (BUS_MCEERR_AR): Likewise.
32772         (BUS_MCEERR_AO): Likewise.
32773         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32774         (TRAP_TRACE): Likewise.
32775         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32776         __USE_XOPEN2K8].
32777         (CLD_KILLED): Likewise.
32778         (CLD_DUMPED): Likewise.
32779         (CLD_TRAPPED): Likewise.
32780         (CLD_STOPPED): Likewise.
32781         (CLD_CONTINUED): Likewise.
32782         (POLL_IN): Likewise.
32783         (POLL_OUT): Likewise.
32784         (POLL_MSG): Likewise.
32785         (POLL_ERR): Likewise.
32786         (POLL_PRI): Likewise.
32787         (POLL_HUP): Likewise.
32788         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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/ia64/bits/siginfo.h (ILL_ILLOPC):
32827         Likewise.
32828         (ILL_ILLOPN): Likewise.
32829         (ILL_ILLADR): Likewise.
32830         (ILL_ILLTRP): Likewise.
32831         (ILL_PRVOPC): Likewise.
32832         (ILL_PRVREG): Likewise.
32833         (ILL_COPROC): Likewise.
32834         (ILL_BADSTK): Likewise.
32835         (ILL_BADIADDR): Likewise.
32836         (ILL_BREAK): Likewise.
32837         (FPE_INTDIV): Likewise.
32838         (FPE_INTOVF): Likewise.
32839         (FPE_FLTDIV): Likewise.
32840         (FPE_FLTOVF): Likewise.
32841         (FPE_FLTUND): Likewise.
32842         (FPE_FLTRES): Likewise.
32843         (FPE_FLTINV): Likewise.
32844         (FPE_FLTSUB): Likewise.
32845         (FPE_DECOVF): Likewise.
32846         (FPE_DECDIV): Likewise.
32847         (FPE_DECERR): Likewise.
32848         (FPE_INVASC): Likewise.
32849         (FPE_INVDEC): Likewise.
32850         (SEGV_MAPERR): Likewise.
32851         (SEGV_ACCERR): Likewise.
32852         (SEGV_PSTKOVF): Likewise.
32853         (BUS_ADRALN): Likewise.
32854         (BUS_ADRERR): Likewise.
32855         (BUS_OBJERR): Likewise.
32856         (BUS_MCEERR_AR): Likewise.
32857         (BUS_MCEERR_AO): Likewise.
32858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32859         (TRAP_TRACE): Likewise.
32860         (TRAP_BRANCH): Likewise.
32861         (TRAP_HWBKPT): Likewise.
32862         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32863         __USE_XOPEN2K8].
32864         (CLD_KILLED): Likewise.
32865         (CLD_DUMPED): Likewise.
32866         (CLD_TRAPPED): Likewise.
32867         (CLD_STOPPED): Likewise.
32868         (CLD_CONTINUED): Likewise.
32869         (POLL_IN): Likewise.
32870         (POLL_OUT): Likewise.
32871         (POLL_MSG): Likewise.
32872         (POLL_ERR): Likewise.
32873         (POLL_PRI): Likewise.
32874         (POLL_HUP): Likewise.
32875         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32876         (ILL_ILLOPN): Likewise.
32877         (ILL_ILLADR): Likewise.
32878         (ILL_ILLTRP): Likewise.
32879         (ILL_PRVOPC): Likewise.
32880         (ILL_PRVREG): Likewise.
32881         (ILL_COPROC): Likewise.
32882         (ILL_BADSTK): Likewise.
32883         (FPE_INTDIV): Likewise.
32884         (FPE_INTOVF): Likewise.
32885         (FPE_FLTDIV): Likewise.
32886         (FPE_FLTOVF): Likewise.
32887         (FPE_FLTUND): Likewise.
32888         (FPE_FLTRES): Likewise.
32889         (FPE_FLTINV): Likewise.
32890         (FPE_FLTSUB): Likewise.
32891         (SEGV_MAPERR): Likewise.
32892         (SEGV_ACCERR): Likewise.
32893         (BUS_ADRALN): Likewise.
32894         (BUS_ADRERR): Likewise.
32895         (BUS_OBJERR): Likewise.
32896         (BUS_MCEERR_AR): Likewise.
32897         (BUS_MCEERR_AO): Likewise.
32898         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32899         (TRAP_TRACE): 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/s390/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/sparc/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/tile/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         (ILL_DBLFLT): Likewise.
32998         (ILL_HARDWALL): Likewise.
32999         (FPE_INTDIV): Likewise.
33000         (FPE_INTOVF): Likewise.
33001         (FPE_FLTDIV): Likewise.
33002         (FPE_FLTOVF): Likewise.
33003         (FPE_FLTUND): Likewise.
33004         (FPE_FLTRES): Likewise.
33005         (FPE_FLTINV): Likewise.
33006         (FPE_FLTSUB): Likewise.
33007         (SEGV_MAPERR): Likewise.
33008         (SEGV_ACCERR): Likewise.
33009         (BUS_ADRALN): Likewise.
33010         (BUS_ADRERR): Likewise.
33011         (BUS_OBJERR): Likewise.
33012         (BUS_MCEERR_AR): Likewise.
33013         (BUS_MCEERR_AO): Likewise.
33014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33015         (TRAP_TRACE): Likewise.
33016         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33017         __USE_XOPEN2K8].
33018         (CLD_KILLED): Likewise.
33019         (CLD_DUMPED): Likewise.
33020         (CLD_TRAPPED): Likewise.
33021         (CLD_STOPPED): Likewise.
33022         (CLD_CONTINUED): Likewise.
33023         (POLL_IN): Likewise.
33024         (POLL_OUT): Likewise.
33025         (POLL_MSG): Likewise.
33026         (POLL_ERR): Likewise.
33027         (POLL_PRI): Likewise.
33028         (POLL_HUP): Likewise.
33029         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33030         (ILL_ILLOPN): Likewise.
33031         (ILL_ILLADR): Likewise.
33032         (ILL_ILLTRP): Likewise.
33033         (ILL_PRVOPC): Likewise.
33034         (ILL_PRVREG): Likewise.
33035         (ILL_COPROC): Likewise.
33036         (ILL_BADSTK): 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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33068         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33070         [BZ #16670]
33071         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33072         before #include of <time.h>.
33073         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33074         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33075         (test-xfail-UNIX98/sched.h/conform): Likewise.
33077 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33079         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33080         error absence of trapping exception support.
33081         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33083 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33085         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33086         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33087         * timezone/Makefile (testdata): Move definition above include of
33088         Rules.
33089         (test-zones): New variable.
33090         (tests-special): Add zone files.
33091         (build-testdata): Use $(evaluate-test).
33093         * elf/Makefile (tests-special): Rename tests to end with .out.
33094         ($(objpfx)noload-mem): Likewise.
33095         ($(objpfx)tst-leaks1-mem): Likewise.
33096         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33097         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33098         $(objpfx)test-iconvconfig.out.
33099         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33100         set -e inside subshell and redirect output to file.
33101         * iconvdata/Makefile (generated): Rename tests to end with .out.
33102         Correct type.
33103         (tests-special): Rename tests to end with .out.
33104         ($(objpfx)mtrace-tst-loading): Likewise.
33105         * intl/Makefile (generated): Likewise.
33106         (tests-special): Likewise.
33107         ($(objpfx)mtrace-tst-gettext): Likewise.
33108         * misc/Makefile (generated): Likewise.
33109         (tests-special): Likewise.
33110         ($(objpfx)tst-error1-mem): Likewise.
33111         * nptl/Makefile (tests-special): Likewise.
33112         ($(objpfx)tst-stack3-mem): Likewise.
33113         (generated): Likewise.
33114         * posix/Makefile (generated): Likewise.
33115         (tests-special): Likewise.
33116         (xtests-special): Likewise.
33117         ($(objpfx)tst-fnmatch-mem): Likewise.
33118         ($(objpfx)bug-regex2-mem): Likewise.
33119         ($(objpfx)bug-regex14-mem): Likewise.
33120         ($(objpfx)bug-regex21-mem): Likewise.
33121         ($(objpfx)bug-regex31-mem): Likewise.
33122         ($(objpfx)tst-vfork3-mem): Likewise.
33123         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33124         ($(objpfx)tst-pcre-mem): Likewise.
33125         ($(objpfx)tst-boost-mem): Likewise.
33126         ($(objpfx)bug-ga2-mem): Likewise.
33127         ($(objpfx)bug-glob2-mem): Likewise.
33128         * resolv/Makefile (generate): Likewise.
33129         (tests-special): Likewise.
33130         (xtests-special): Likewise.
33131         (generated): Likewise.
33132         ($(objpfx)mtrace-tst-leaks): Likewise.
33133         ($(objpfx)mtrace-tst-leaks2): Likewise.
33135         * scripts/merge-test-results.sh: New file.
33136         * Makefile (tests-special-notdir): New variable.
33137         (tests): Run merge-test-results.sh.
33138         (xtests): Likewise.
33139         * Rules (tests-special-notdir): New variable.
33140         (xtests-special-notdir): Likewise.
33141         (tests): Run merge-test-results.sh
33142         (xtests): Likewise.
33144         * Makeconfig (test-xfail-name): New variable.
33145         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33146         compute variable name for expected failures.
33147         * conform/Makefile (conformtest-headers-data): New variable.
33148         (conformtest-standards): Likewise.
33149         (conformtest-headers-ISO): Likewise.
33150         (conformtest-headers-ISO99): Likewise.
33151         (conformtest-headers-ISO11): Likewise.
33152         (conformtest-headers-POSIX): Likewise.
33153         (conformtest-headers-XPG3): Likewise.
33154         (conformtest-headers-XPG4): Likewise.
33155         (conformtest-headers-UNIX98): Likewise.
33156         (conformtest-headers-XOPEN2K): Likewise.
33157         (conformtest-headers-POSIX2008): Likewise.
33158         (conformtest-headers-XOPEN2K8): Likewise.
33159         (conformtest-header-list-base): Likewise.
33160         (conformtest-header-list-tests): Likewise.
33161         (conformtest-header-base): Likewise.
33162         (conformtest-header-tests): Likewise.
33163         (tests-special): Add $(conformtest-header-list-tests).  If
33164         [$(fast-check) && !$(cross-compiling)], add
33165         $(conformtest-header-tests) instead of
33166         $(objpfx)run-conformtest.out.
33167         (generated): Add $(conformtest-header-list-base).  If
33168         [$(fast-check) && !$(cross-compiling)], add
33169         $(conformtest-header-base).  Remove previous setting.
33170         ($(conformtest-header-list-tests)): New target.
33171         (test-xfail-run-conformtest): Remove variable.
33172         ($(objpfx)run-conformtest.out): Remove target.
33173         (test-xfail-ISO11/complex.h/conform): New variable.
33174         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33175         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33176         (test-xfail-XPG3/varargs.h/conform): Likewise.
33177         (test-xfail-XPG4/varargs.h/conform): Likewise.
33178         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33179         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33180         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33181         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33182         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33183         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33184         (test-xfail-XPG3/ftw.h/conform): Likewise.
33185         (test-xfail-XPG3/grp.h/conform): Likewise.
33186         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33187         (test-xfail-XPG3/limits.h/conform): Likewise.
33188         (test-xfail-XPG3/pwd.h/conform): Likewise.
33189         (test-xfail-XPG3/search.h/conform): Likewise.
33190         (test-xfail-XPG3/signal.h/conform): Likewise.
33191         (test-xfail-XPG3/stdio.h/conform): Likewise.
33192         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33193         (test-xfail-XPG3/string.h/conform): Likewise.
33194         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33195         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33196         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33197         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33198         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33199         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33200         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33201         (test-xfail-XPG3/termios.h/conform): Likewise.
33202         (test-xfail-XPG3/time.h/conform): Likewise.
33203         (test-xfail-XPG3/unistd.h/conform): Likewise.
33204         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33205         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33206         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33207         (test-xfail-XPG4/netdb.h/conform): Likewise.
33208         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33209         (test-xfail-XPG4/signal.h/conform): Likewise.
33210         (test-xfail-XPG4/stdio.h/conform): Likewise.
33211         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33212         (test-xfail-XPG4/stropts.h/conform): Likewise.
33213         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33214         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33215         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33216         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33217         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33218         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33219         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33220         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33221         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33222         (test-xfail-XPG4/termios.h/conform): Likewise.
33223         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33224         (test-xfail-XPG4/unistd.h/conform): Likewise.
33225         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33226         (test-xfail-POSIX/sched.h/conform): Likewise.
33227         (test-xfail-POSIX/signal.h/conform): Likewise.
33228         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33229         (test-xfail-POSIX/tar.h/conform): Likewise.
33230         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33231         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33232         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33233         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33234         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33235         (test-xfail-UNIX98/sched.h/conform): Likewise.
33236         (test-xfail-UNIX98/signal.h/conform): Likewise.
33237         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33238         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33239         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33240         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33241         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33242         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33243         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33244         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33245         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33246         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33247         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33248         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33249         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33250         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33251         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33252         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33253         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33254         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33255         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33256         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33257         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33258         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33259         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33260         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33261         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33262         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33263         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33264         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33265         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33266         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33267         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33268         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33269         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33270         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33271         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33272         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33273         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33274         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33275         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33276         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33277         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33278         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33279         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33280         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33281         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33282         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33283         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33284         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33285         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33286         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33287         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33288         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33289         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33290         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33291         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33292         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33293         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33294         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33295         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33296         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33297         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33298         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33299         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33300         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33301         (conformtest-cc-flags): Likewise.
33302         ($(conformtest-header-tests): New target.
33303         * conform/check-header-lists.sh: New file.
33304         * conform/run-conformtest.sh: Remove.
33306         * conform/conformtest.pl: Allow ' and \ in values given for
33307         constants.
33308         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33309         inclusion.
33310         [POSIX] (sys/types.h): Likewise.
33311         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33312         inclusion.
33313         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33314         inclusion.
33315         * conform/data/signal.h-data (SIGIO): Remove expectation.
33316         [XPG3] (SIGBUS): Do not expect.
33317         [POSIX || XPG3] (SIGPOLL): Likewise.
33318         [POSIX || XPG3] (SIGPROF): Likewise.
33319         [POSIX || XPG3] (SIGSYS): Likewise.
33320         [XPG3] (SIGTRAP): Likewise.
33321         [POSIX || XPG3] (SIGURG): Likewise.
33322         [POSIX || XPG3] (SIGVTALRM): Likewise.
33323         [POSIX || XPG3] (SIGXCPU): Likewise.
33324         [POSIX || XPG3] (SIGXFSZ): Likewise.
33325         [POSIX] (SA_SIGINFO): Expect.
33326         [XPG3] (siginfo_t): Do not expect type or contents.
33327         [POSIX] (si_pid): Do not expect element.
33328         [POSIX] (si_uid): Likewise.
33329         [POSIX] (si_addr): Likewise.
33330         [POSIX] (si_status): Likewise.
33331         [POSIX] (si_band): Likewise.
33332         [XPG4] (si_value): Likewise.
33333         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
33334         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
33335         [POSIX || XPG3] (ILL_ILLADR): Likewise.
33336         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
33337         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
33338         [POSIX || XPG3] (ILL_PRVREG): Likewise.
33339         [POSIX || XPG3] (ILL_COPROC): Likewise.
33340         [POSIX || XPG3] (ILL_BADSTK): Likewise.
33341         [POSIX || XPG3] (FPE_INTDIV): Likewise.
33342         [POSIX || XPG3] (FPE_INTOVF): Likewise.
33343         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
33344         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
33345         [POSIX || XPG3] (FPE_FLTUND): Likewise.
33346         [POSIX || XPG3] (FPE_FLTRES): Likewise.
33347         [POSIX || XPG3] (FPE_FLTINV): Likewise.
33348         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
33349         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
33350         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
33351         [POSIX || XPG3] (BUS_ADRALN): Likewise.
33352         [POSIX || XPG3] (BUS_ADRERR): Likewise.
33353         [POSIX || XPG3] (BUS_OBJERR): Likewise.
33354         [POSIX || XPG3] (CLD_EXITED): Likewise.
33355         [POSIX || XPG3] (CLD_KILLED): Likewise.
33356         [POSIX || XPG3] (CLD_DUMPED): Likewise.
33357         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
33358         [POSIX || XPG3] (CLD_STOPPED): Likewise.
33359         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
33360         [POSIX || XPG3] (POLL_IN): Likewise.
33361         [POSIX || XPG3] (POLL_OUT): Likewise.
33362         [POSIX || XPG3] (POLL_MSG): Likewise.
33363         [POSIX || XPG3] (POLL_ERR): Likewise.
33364         [POSIX || XPG3] (POLL_PRI): Likewise.
33365         [POSIX || XPG3] (POLL_HUP): Likewise.
33366         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
33367         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
33368         (SIG*): Do not allow.
33369         [XPG3] (si_*): Likewise.
33370         [XPG3] (SI_*): Likewise.
33371         [XPG3 || XPG4] (sigev_*): Likewise.
33372         [XPG3 || XPG4] (SIGEV_*): Likewise.
33373         [XPG3 || XPG4] (sival_*): Likewise.
33374         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
33375         [POSIX || XPG3] (BUS_*): Likewise.
33376         [POSIX || XPG3] (CLD_*): Likewise.
33377         [POSIX || XPG3] (FPE_*): Likewise.
33378         [POSIX || XPG3] (ILL_*): Likewise.
33379         [POSIX || XPG3] (POLL_*): Likewise.
33380         [POSIX || XPG3] (SEGV_*): Likewise.
33381         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
33382         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
33383         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
33384         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
33385         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
33386         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
33387         Specify type and value.
33388         (TVERSLEN): Likewise.
33389         (REGTYPE): Likewise.
33390         (AREGTYPE): Likewise.
33391         (LNKTYPE): Likewise.
33392         (SYMTYPE): Likewise.
33393         (CHRTYPE): Likewise.
33394         (BLKTYPE): Likewise.
33395         (DIRTYPE): Likewise.
33396         (FIFOTYPE): Likewise.
33397         (CONTTYPE): Likewise.
33398         (TSUID): Likewise.
33399         (TSGID): Likewise.
33400         (TSVTX): Likewise.
33401         (TUREAD): Likewise.
33402         (TUWRITE): Likewise.
33403         (TUEXEC): Likewise.
33404         (TGREAD): Likewise.
33405         (TGWRITE): Likewise.
33406         (TGEXEC): Likewise.
33407         (TOREAD): Likewise.
33408         (TOWRITE): Likewise.
33409         (TOEXEC): Likewise.
33410         [POSIX] (TSVTX): Expect constant.
33412 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
33414         * Makefile (tests): Change dependencies to ....
33415         (tests-special): ... additions to this variable.
33416         (tests): Depend on $(tests-special).
33417         * Makerules (check-abi-list): New variable.
33418         (check-abi): Depend on $(check-abi-list).
33419         [$(subdir) = elf] (tests-special): Add
33420         $(objpfx)check-abi-libc.out.
33421         [$(build-shared) = yes && subdir] (tests-special): Add
33422         $(check-abi-list).
33423         [$(build-shared) = yes && subdir] (tests): Do not depend on
33424         check-abi.
33425         * Rules (tests): Depend on $(tests-special).
33426         (xtests): Depend on $(xtests-special).
33427         * catgets/Makefile (tests): Change dependencies to ....
33428         (tests-special): ... additions to this variable.
33429         * conform/Makefile (tests): Change dependencies to ....
33430         (tests-special): ... additions to this variable.
33431         * elf/Makefile (tests): Change dependencies to ....
33432         (tests-special): ... additions to this variable.
33433         * grp/Makefile (tests): Change dependencies to ....
33434         (tests-special): ... additions to this variable.
33435         * iconv/Makefile (xtests): Change dependencies to ....
33436         (xtests-special): ... additions to this variable.
33437         * iconvdata/Makefile (tests): Change dependencies to ....
33438         (tests-special): ... additions to this variable.
33439         * intl/Makefile (tests): Change dependencies to ....
33440         (tests-special): ... additions to this variable.  Also add
33441         $(objpfx)tst-gettext.out.
33442         * io/Makefile (tests): Change dependencies to ....
33443         (tests-special): ... additions to this variable.
33444         * libio/Makefile (tests): Change dependencies to ....
33445         (tests-special): ... additions to this variable.
33446         * malloc/Makefile (tests): Change dependencies to ....
33447         (tests-special): ... additions to this variable.
33448         * misc/Makefile (tests): Change dependencies to ....
33449         (tests-special): ... additions to this variable.
33450         * nptl/Makefile (tests): Change dependencies to ....
33451         (tests-special): ... additions to this variable.
33452         * nptl_db/Makefile (tests): Change dependencies to ....
33453         (tests-special): ... additions to this variable.
33454         * posix/Makefile (tests): Change dependencies to ....
33455         (tests-special): ... additions to this variable.
33456         (xtests): Change dependencies to ....
33457         (xtests-special): ... additions to this variable.
33458         * resolv/Makefile (tests): Change dependencies to ....
33459         (tests-special): ... additions to this variable.
33460         (xtests): Change dependencies to ....
33461         (xtests-special): ... additions to this variable.
33462         * stdio-common/Makefile (tests): Change dependencies to ....
33463         (tests-special): ... additions to this variable.
33464         (do-tst-unbputc): Remove target.
33465         (do-tst-printf): Likewise.
33466         * stdlib/Makefile (tests): Change dependencies to ....
33467         (tests-special): ... additions to this variable.
33468         * string/Makefile (tests): Change dependencies to ....
33469         (tests-special): ... additions to this variable.
33470         * sysdeps/x86/Makefile (tests): Change dependencies to ....
33471         (tests-special): ... additions to this variable.
33473         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
33474         whole file.
33475         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
33476         whole file.
33477         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
33478         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
33480         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
33481         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
33482         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
33483         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
33484         * conform/data/libgen.h-data [XPG3]: Likewise.
33485         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
33486         * conform/data/ndbm.h-data [XPG3]: Likewise.
33487         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33488         * conform/data/netdb.h-data [XPG3]: Likewise.
33489         * conform/data/netinet/in.h-data [XPG3]: Likewise.
33490         * conform/data/poll.h-data [XPG3]: Likewise.
33491         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
33492         * conform/data/strings.h-data [XPG3]: Likewise.
33493         * conform/data/stropts.h-data [XPG3]: Likewise.
33494         * conform/data/sys/mman.h-data [XPG3]: Likewise.
33495         * conform/data/sys/resource.h-data [XPG3]: Likewise.
33496         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
33497         Likewise.
33498         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
33499         * conform/data/sys/time.h-data [XPG3]: Likewise.
33500         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
33501         * conform/data/sys/uio.h-data [XPG3]: Likewise.
33502         * conform/data/sys/un.h-data [XPG3]: Likewise.
33503         * conform/data/syslog.h-data [XPG3]: Likewise.
33504         * conform/data/ucontext.h-data [XPG3]: Likewise.
33505         * conform/data/utmpx.h-data [XPG3]: Likewise.
33506         * conform/data/varargs.h-data [UNIX98]: Enable file.
33508         * manual/Makefile (INSTALL_INFO): Remove variable setting.
33510         * math/libm-test.inc (struct test_f_f_data): Move expected results
33511         into structure for each rounding mode.
33512         (struct test_ff_f_data): Likewise.
33513         (struct test_ff_f_data_nexttoward): Likewise.
33514         (struct test_fi_f_data): Likewise.
33515         (struct test_fl_f_data): Likewise.
33516         (struct test_if_f_data): Likewise.
33517         (struct test_fff_f_data): Likewise.
33518         (struct test_c_f_data): Likewise.
33519         (struct test_f_f1_data): Likewise.
33520         (struct test_fF_f1_data): Likewise.
33521         (struct test_ffI_f1_data): Likewise.
33522         (struct test_c_c_data): Likewise.
33523         (struct test_cc_c_data): Likewise.
33524         (struct test_f_i_data): Likewise.
33525         (struct test_ff_i_data): Likewise.
33526         (struct test_f_l_data): Likewise.
33527         (struct test_f_L_data): Likewise.
33528         (struct test_fFF_11_data): Likewise.
33529         (RM_): New macro.
33530         (RM_FE_DOWNWARD): Likewise.
33531         (RM_FE_TONEAREST): Likewise.
33532         (RM_FE_TOWARDZERO): Likewise.
33533         (RM_FE_UPWARD): Likewise.
33534         (RUN_TEST_LOOP_f_f): Update references to expected results.
33535         (RUN_TEST_LOOP_2_f): Likewise.
33536         (RUN_TEST_LOOP_fff_f): Likewise.
33537         (RUN_TEST_LOOP_c_f): Likewise.
33538         (RUN_TEST_LOOP_f_f1): Likewise.
33539         (RUN_TEST_LOOP_fF_f1): Likewise.
33540         (RUN_TEST_LOOP_fI_f1): Likewise.
33541         (RUN_TEST_LOOP_ffI_f1): Likewise.
33542         (RUN_TEST_LOOP_c_c): Likewise.
33543         (RUN_TEST_LOOP_cc_c): Likewise.
33544         (RUN_TEST_LOOP_f_i): Likewise.
33545         (RUN_TEST_LOOP_f_i_tg): Likewise.
33546         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33547         (RUN_TEST_LOOP_f_b): Likewise.
33548         (RUN_TEST_LOOP_f_b_tg): Likewise.
33549         (RUN_TEST_LOOP_f_l): Likewise.
33550         (RUN_TEST_LOOP_f_L): Likewise.
33551         (RUN_TEST_LOOP_fFF_11): Likewise.
33552         * math/gen-libm-test.pl (parse_args): Output four copies of
33553         expected results for each test.
33555         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33556         (__ASSUME_UTIMES): Remove.
33557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33558         (__ASSUME_UTIMES): Likewise.
33560         * math/gen-auto-libm-tests.c: Update comment on output format.
33561         (output_for_one_input_case): Generate before-rounding and
33562         after-rounding information as conditions on output flags not
33563         floating-point format.
33564         * math/auto-libm-test-out: Regenerated.
33565         * math/gen-libm-test.pl (cond_value): New function.
33566         (or_cond_value): Use cond_value.
33567         (generate_testfile): Handle conditional exceptions.
33569 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
33571         * math/libm-test.inc (max_valid_error): New variable.
33572         (init_max_error): Take new argument specifying whether function
33573         results are exactly determined.  Set max_valid_error and bound
33574         other variables for errors based on this argument.
33575         (set_max_error): Do not record results above max_valid_error.
33576         (check_float_internal): Only accept errors of up to 0.5ulps if
33577         also at most max_valid_error.
33578         (START): Take new argument EXACT and pass it to init_max_error.
33579         (acos_test): Update call to START.
33580         (acos_test_tonearest): Likewise.
33581         (acos_test_towardzero): Likewise.
33582         (acos_test_downward): Likewise.
33583         (acos_test_upward): Likewise.
33584         (acosh_test): Likewise.
33585         (asin_test): Likewise.
33586         (asin_test_tonearest): Likewise.
33587         (asin_test_towardzero): Likewise.
33588         (asin_test_downward): Likewise.
33589         (asin_test_upward): Likewise.
33590         (asinh_test): Likewise.
33591         (atan_test): Likewise.
33592         (atanh_test): Likewise.
33593         (atan2_test): Likewise.
33594         (cabs_test): Likewise.
33595         (cacos_test): Likewise.
33596         (cacosh_test): Likewise.
33597         (carg_test): Likewise.
33598         (casin_test): Likewise.
33599         (casinh_test): Likewise.
33600         (catan_test): Likewise.
33601         (catanh_test): Likewise.
33602         (cbrt_test): Likewise.
33603         (ccos_test): Likewise.
33604         (ccosh_test): Likewise.
33605         (ceil_test): Likewise.
33606         (cexp_test): Likewise.
33607         (cimag_test): Likewise.
33608         (clog_test): Likewise.
33609         (clog10_test): Likewise.
33610         (conj_test): Likewise.
33611         (copysign_test): Likewise.
33612         (cos_test): Likewise.
33613         (cos_test_tonearest): Likewise.
33614         (cos_test_towardzero): Likewise.
33615         (cos_test_downward): Likewise.
33616         (cos_test_upward): Likewise.
33617         (cosh_test): Likewise.
33618         (cosh_test_tonearest): Likewise.
33619         (cosh_test_towardzero): Likewise.
33620         (cosh_test_downward): Likewise.
33621         (cosh_test_upward): Likewise.
33622         (cpow_test): Likewise.
33623         (cproj_test): Likewise.
33624         (creal_test): Likewise.
33625         (csin_test): Likewise.
33626         (csinh_test): Likewise.
33627         (csqrt_test): Likewise.
33628         (ctan_test): Likewise.
33629         (ctan_test_tonearest): Likewise.
33630         (ctan_test_towardzero): Likewise.
33631         (ctan_test_downward): Likewise.
33632         (ctan_test_upward): Likewise.
33633         (ctanh_test): Likewise.
33634         (ctanh_test_tonearest): Likewise.
33635         (ctanh_test_towardzero): Likewise.
33636         (ctanh_test_downward): Likewise.
33637         (ctanh_test_upward): Likewise.
33638         (erf_test): Likewise.
33639         (erfc_test): Likewise.
33640         (exp_test): Likewise.
33641         (exp_test_tonearest): Likewise.
33642         (exp_test_towardzero): Likewise.
33643         (exp_test_downward): Likewise.
33644         (exp_test_upward): Likewise.
33645         (exp10_test): Likewise.
33646         (exp10_test_tonearest): Likewise.
33647         (exp10_test_towardzero): Likewise.
33648         (exp10_test_downward): Likewise.
33649         (exp10_test_upward): Likewise.
33650         (pow10_test): Likewise.
33651         (exp2_test): Likewise.
33652         (expm1_test): Likewise.
33653         (expm1_test_tonearest): Likewise.
33654         (expm1_test_towardzero): Likewise.
33655         (expm1_test_downward): Likewise.
33656         (expm1_test_upward): Likewise.
33657         (fabs_test): Likewise.
33658         (fdim_test): Likewise.
33659         (floor_test): Likewise.
33660         (fma_test): Likewise.
33661         (fma_test_towardzero): Likewise.
33662         (fma_test_downward): Likewise.
33663         (fma_test_upward): Likewise.
33664         (fmax_test): Likewise.
33665         (fmin_test): Likewise.
33666         (fmod_test): Likewise.
33667         (fpclassify_test): Likewise.
33668         (frexp_test): Likewise.
33669         (hypot_test): Likewise.
33670         (ilogb_test): Likewise.
33671         (isfinite_test): Likewise.
33672         (finite_test): Likewise.
33673         (isgreater_test): Likewise.
33674         (isgreaterequal_test): Likewise.
33675         (isinf_test): Likewise.
33676         (isless_test): Likewise.
33677         (islessequal_test): Likewise.
33678         (islessgreater_test): Likewise.
33679         (isnan_test): Likewise.
33680         (isnormal_test): Likewise.
33681         (issignaling_test): Likewise.
33682         (isunordered_test): Likewise.
33683         (j0_test): Likewise.
33684         (j1_test): Likewise.
33685         (jn_test): Likewise.
33686         (ldexp_test): Likewise.
33687         (lgamma_test): Likewise.
33688         (gamma_test): Likewise.
33689         (lrint_test): Likewise.
33690         (lrint_test_tonearest): Likewise.
33691         (lrint_test_towardzero): Likewise.
33692         (lrint_test_downward): Likewise.
33693         (lrint_test_upward): Likewise.
33694         (llrint_test): Likewise.
33695         (llrint_test_tonearest): Likewise.
33696         (llrint_test_towardzero): Likewise.
33697         (llrint_test_downward): Likewise.
33698         (llrint_test_upward): Likewise.
33699         (log_test): Likewise.
33700         (log10_test): Likewise.
33701         (log1p_test): Likewise.
33702         (log2_test): Likewise.
33703         (logb_test): Likewise.
33704         (logb_test_downward): Likewise.
33705         (lround_test): Likewise.
33706         (llround_test): Likewise.
33707         (modf_test): Likewise.
33708         (nearbyint_test): Likewise.
33709         (nextafter_test): Likewise.
33710         (nexttoward_test): Likewise.
33711         (pow_test): Likewise.
33712         (pow_test_tonearest): Likewise.
33713         (pow_test_towardzero): Likewise.
33714         (pow_test_downward): Likewise.
33715         (pow_test_upward): Likewise.
33716         (remainder_test): Likewise.
33717         (drem_test): Likewise.
33718         (remainder_test_tonearest): Likewise.
33719         (drem_test_tonearest): Likewise.
33720         (remainder_test_towardzero): Likewise.
33721         (drem_test_towardzero): Likewise.
33722         (remainder_test_downward): Likewise.
33723         (drem_test_downward): Likewise.
33724         (remainder_test_upward): Likewise.
33725         (drem_test_upward): Likewise.
33726         (remquo_test): Likewise.
33727         (rint_test): Likewise.
33728         (rint_test_tonearest): Likewise.
33729         (rint_test_towardzero): Likewise.
33730         (rint_test_downward): Likewise.
33731         (rint_test_upward): Likewise.
33732         (round_test): Likewise.
33733         (scalb_test): Likewise.
33734         (scalbn_test): Likewise.
33735         (scalbln_test): Likewise.
33736         (signbit_test): Likewise.
33737         (sin_test): Likewise.
33738         (sin_test_tonearest): Likewise.
33739         (sin_test_towardzero): Likewise.
33740         (sin_test_downward): Likewise.
33741         (sin_test_upward): Likewise.
33742         (sincos_test): Likewise.
33743         (sinh_test): Likewise.
33744         (sinh_test_tonearest): Likewise.
33745         (sinh_test_towardzero): Likewise.
33746         (sinh_test_downward): Likewise.
33747         (sinh_test_upward): Likewise.
33748         (sqrt_test): Likewise.
33749         (sqrt_test_tonearest): Likewise.
33750         (sqrt_test_towardzero): Likewise.
33751         (sqrt_test_downward): Likewise.
33752         (sqrt_test_upward): Likewise.
33753         (tan_test): Likewise.
33754         (tan_test_tonearest): Likewise.
33755         (tan_test_towardzero): Likewise.
33756         (tan_test_downward): Likewise.
33757         (tan_test_upward): Likewise.
33758         (tanh_test): Likewise.
33759         (tgamma_test): Likewise.
33760         (trunc_test): Likewise.
33761         (y0_test): Likewise.
33762         (y1_test): Likewise.
33763         (yn_test): Likewise.
33764         (significand_test): Likewise.
33766         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
33767         individual tests in comment.
33768         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
33769         (prev_max_error): New variable.
33770         (prev_real_max_error): Likewise.
33771         (prev_imag_max_error): Likewise.
33772         (compare_ulp_data): Don't refer to test names in comment.
33773         (find_test_ulps): Remove function.
33774         (find_function_ulps): Likewise.
33775         (find_complex_function_ulps): Likewise.
33776         (init_max_error): Take function name as argument.  Look up ulps
33777         for that function.
33778         (print_ulps): Remove function.
33779         (print_max_error): Use prev_max_error instead of calling
33780         find_function_ulps.
33781         (print_complex_max_error): Use prev_real_max_error and
33782         prev_imag_max_error instead of calling find_complex_function_ulps.
33783         (check_float_internal): Take max_ulp parameter instead of calling
33784         find_test_ulps.  Don't call print_ulps.
33785         (check_float): Update call to check_float_internal.
33786         (check_complex): Update calls to check_float_internal.
33787         (START): Pass argument to init_max_error.
33788         * math/gen-libm-test.pl (%results): Don't include "kind"
33789         information.
33790         (parse_ulps): Don't handle ulps of individual tests.
33791         (print_ulps_file): Likewise.
33792         (output_ulps): Likewise.
33793         * math/README.libm-test: Update.
33794         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33795         individual tests.
33796         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
33797         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
33798         * sysdeps/arm/libm-test-ulps: Likewise.
33799         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
33800         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
33801         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
33802         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
33803         * sysdeps/microblaze/libm-test-ulps: Likewise.
33804         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
33805         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33807         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
33808         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33809         * sysdeps/sh/libm-test-ulps: Likewise.
33810         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33811         * sysdeps/tile/libm-test-ulps: Likewise.
33812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33814 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
33816         * math/libm-test.inc (print_complex_max_error): Check separately
33817         whether real and imaginary errors are within allowed range and
33818         pass 0 to print_complex_function_ulps instead of value within
33819         allowed range.
33821 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33823         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
33824         formatting.
33825         (get_handles_fopen): Likewise.
33826         (do_write_test): Likewise.
33828         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
33830         * libio/fileops.c (do_ftell): Use cached offset when
33831         available.
33832         * libio/iofwide.c (do_ftell_wide): Likewise.
33833         * libio/iofdopen.c (_IO_new_fdopen): Don't use
33834         _IO_file_attach.
33835         * libio/wfileops.c (_IO_fwide): Don't cache offset.
33837         [BZ #16532]
33838         * libio/libioP.h (get_file_offset): New function.
33839         * libio/fileops.c (get_file_offset): Likewise.
33840         (do_ftell): Likewise.
33841         (_IO_new_file_seekoff): Split out ftell logic.
33842         * libio/wfileops.c (do_ftell_wide): Likewise.
33843         (_IO_wfile_seekoff): Split out ftell logic.
33844         * libio/tst-ftell-active-handler.c: New test case.
33845         * libio/Makefile (tests): Add it.
33847 2014-03-03  Roland McGrath  <roland@hack.frob.com>
33849         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
33850         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
33852 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854         [BZ #16639]
33855         * nscd/connections.c (nscd_init): Call do_exit.
33856         (start_threads): Call do_exit and notify_parent.
33857         (begin_drop_privileges): Call do_exit.
33858         (finish_drop_privileges): Likewise.
33859         * nscd/selinux.c (preserve_capabilities): Likewise.
33860         (install_real_capabilities): Likewise.
33861         (nscd_selinux_enabled): Likewise.
33862         (avc_create_thread): Likewise.
33863         (avc_alloc_lock): Likewise.
33864         (nscd_avc_init): Likewise.
33865         * nscd/nscd.c (parent_fd): New static variable.
33866         (main): Create a pipe between parent and child processes.
33867         Skip closing parent_fd.
33868         (monitor_child): New function.
33869         (do_exit): Likewise.
33870         (notify_parent): Likewise.
33871         * nscd/nscd.h (notify_parent): Likewise.
33872         (do_exit): Likewise.
33874 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33876         * malloc/malloc.c (__libc_calloc): Revert last change.
33878 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33882 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33884         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33886         implementation.
33887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33888         (__libc_ifunc_impl_list): Likewise.
33889         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33890         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33891         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33892         * string/strrchr.c: Define STRRCHR.
33894 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33896         * benchtest/bench-strtok.c (simple_strtok): Delete.
33897         (strtok_string): Use as benchmark.
33898         * string/strtok (STRTOK): New macro.
33900 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33902         * manual/threads.texi: Add header and standard comments to all
33903         functions.
33905         * elf/dl-lookup.c (check_match): New function.
33906         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33907         (do_lookup_x): Remove nested function check_match. Use non-nested
33908         function check_match.
33910 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33912         * csu/Makefile (generated, before-compile): Use += rather than =.
33913         * catgets/Makefile (generated, generated-dirs): Likewise.
33914         * debug/Makefile (generated): Likewise.
33915         * dlfcn/Makefile (generated): Likewise.
33916         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33917         * iconvdata/Makefile (before-compile, generated): Likewise.
33918         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33919         * libio/Makefile (generated): Likewise.
33920         * malloc/Makefile (generated): Likewise.
33921         * manual/Makefile (generated, generated-dirs): Likewise.
33922         * misc/Makefile (generated): Likewise.
33923         * posix/Makefile (generated): Likewise.
33924         * resolv/Makefile (generated): Likewise.
33925         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33926         * timezone/Makefile (generated, generated-dirs): Likewise.
33928         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33930 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33933         power8 implementation.
33934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33935         file: POWER8 llround ifunc implementation.
33936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33937         (__lllround): Add POWER8 implementation.
33938         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33939         POWER8 llround implementation.
33941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33942         power8 implementation.
33943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33944         file: POWER8 llrint ifunc implementation.
33945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33946         Add POWER8 implementation.
33947         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33948         POWER8 llrint implementation.
33950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33951         power8 implementation.
33952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33953         file: POWER8 finite ifunc implementation.
33954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33955         Add POWER8 implementation.
33956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33957         Likewise.
33958         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33959         POWER8 finite implementation.
33960         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33963         power8 implementation.
33964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33965         file: POWER8 isinf ifunc implementation.
33966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33967         POWER8 implementation.
33968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33969         Likewise.
33970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33971         isinf implementation.
33972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33974         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33975         (INIT_ARCH): Add hwcap2 initialization.
33976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33977         power8 implementation.
33978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33979         file: POWER8 isnan ifunc implementation.
33980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33981         POWER8 implementation.
33982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33983         Likewise.
33984         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33985         isnan implementation.
33986         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33988 2014-02-27  Joey Ye  <joey.ye@arm.com>
33990         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33991         (_FP_NANFRAC_Q): Set to zero.
33993 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33995         [BZ #16623]
33996         * math/auto-libm-test-in: New test inputs.
33997         * math/auto-libm-test-out: Regenerate.
33998         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33999         and DA.
34000         (__cos): Likewise.
34001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34003 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34005         * scripts/evaluate-test.sh: Take new argument indicating whether
34006         failure is expected.
34007         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34008         indicating whether failure is expected.
34009         * conform/Makefile (test-xfail-run-conformtest): New variable.
34010         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34011         level.
34012         * posix/Makefile (test-xfail-annexc): New variable.
34013         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34015 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34017         * argp/Makefile: Include Makeconfig immediately after defining
34018         subdir.
34019         * assert/Makefile: Likewise.
34020         * benchtests/Makefile: Likewise.
34021         * catgets/Makefile: Likewise.
34022         * conform/Makefile: Likewise.
34023         * crypt/Makefile: Likewise.
34024         * csu/Makefile: Likewise.
34025         (all): Remove target.
34026         * ctype/Makefile: Include Makeconfig immediately after defining
34027         subdir.
34028         * debug/Makefile: Likewise.
34029         * dirent/Makefile: Likewise.
34030         * dlfcn/Makefile: Likewise.
34031         * gmon/Makefile: Likewise.
34032         * gnulib/Makefile: Likewise.
34033         * grp/Makefile: Likewise.
34034         * gshadow/Makefile: Likewise.
34035         * hesiod/Makefile: Likewise.
34036         * hurd/Makefile: Likewise.
34037         (all): Remove target.
34038         * iconvdata/Makefile: Include Makeconfig immediately after
34039         defining subdir.
34040         * inet/Makefile: Likewise.
34041         * intl/Makefile: Likewise.
34042         * io/Makefile: Likewise.
34043         * libio/Makefile: Likewise.
34044         (all): Remove target.
34045         * locale/Makefile: Include Makeconfig immediately after defining
34046         subdir.
34047         * login/Makefile: Likewise.
34048         * mach/Makefile: Likewise.
34049         (all): Remove target.
34050         * malloc/Makefile: Include Makeconfig immediately after defining
34051         subdir.
34052         (all): Remove target.
34053         * manual/Makefile: Include Makeconfig immediately after defining
34054         subdir.
34055         * math/Makefile: Likewise.
34056         * misc/Makefile: Likewise.
34057         * nis/Makefile: Likewise.
34058         * nss/Makefile: Likewise.
34059         * po/Makefile: Likewise.
34060         (all): Remove target.
34061         * posix/Makefile: Include Makeconfig immediately after defining
34062         subdir.
34063         * pwd/Makefile: Likewise.
34064         * resolv/Makefile: Likewise.
34065         * resource/Makefile: Likewise.
34066         * rt/Makefile: Likewise.
34067         * setjmp/Makefile: Likewise.
34068         * shadow/Makefile: Likewise.
34069         * signal/Makefile: Likewise.
34070         * socket/Makefile: Likewise.
34071         * soft-fp/Makefile: Likewise.
34072         * stdio-common/Makefile: Likewise.
34073         * stdlib/Makefile: Likewise.
34074         * streams/Makefile: Likewise.
34075         * string/Makefile: Likewise.
34076         * sunrpc/Makefile: Likewise.
34077         (all): Remove target.
34078         * sysvipc/Makefile: Include Makeconfig immediately after defining
34079         subdir.
34080         * termios/Makefile: Likewise.
34081         * time/Makefile: Likewise.
34082         * timezone/Makefile: Likewise.
34083         (all): Remove target.
34084         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34085         subdir.
34086         * wctype/Makefile: Likewise.
34088 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34090         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34091         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34092         (libc_feholdexcept_setround_mips): Ditto.
34093         (libc_feholdsetround): New.
34094         (libc_feholdsetroundf): New.
34095         (libc_feholdsetroundl): New.
34096         (libc_feupdateenv_test_mips): New.
34097         (libc_feupdateenv_test): New.
34098         (libc_feupdateenv_testf): New.
34099         (libc_feupdateenv_testl): New.
34100         (libc_feresetround): New.
34101         (libc_feresetroundf): New.
34102         (libc_feresetroundl): New.
34103         (libc_fetestexcept_mips): New.
34104         (libc_fetestexcept): New.
34105         (libc_fetestexceptf): New.
34106         (libc_fetestexceptl): New.
34107         (HAVE_RM_CTX): New.
34108         (libc_feholdexcept_setround_mips_ctx): New.
34109         (libc_feholdexcept_setround_ctx): New.
34110         (libc_feholdexcept_setroundf_ctx): New.
34111         (libc_feholdexcept_setroundl_ctx): New.
34112         (libc_fesetenv_mips_ctx): New.
34113         (libc_fesetenv_ctx): New.
34114         (libc_fesetenv_ctxf): New.
34115         (libc_fesetenv_ctxl): New.
34116         (libc_feupdateenv_mips_ctx): New.
34117         (libc_feupdateenv_ctx): New.
34118         (libc_feupdateenvf_ctx): New.
34119         (libc_feupdateenvl_ctx): New.
34120         (libc_feholdsetround_mips_ctx): New.
34121         (libc_feholdsetround_ctx): New.
34122         (libc_feholdsetroundf_ctx): New.
34123         (libc_feholdsetroundl_ctx): New.
34124         (libc_feresetround_mips_ctx): New.
34125         (libc_feresetround_ctx): New.
34126         (libc_feresetroundf_ctx): New.
34127         (libc_feresetroundl_ctx): New.
34129 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34131         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34133         * manual/ipc.texi: New file.
34134         * manual/Makefile (chapters): Add ipc.
34135         * manual/job.texi: Add "Inter-Process Communication" to next.
34136         * manual/process.texi: Add "Inter-Process Communication" to prev.
34138 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34142 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34144         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34146         * manual/arith.texi: Fix spaces after sentences.
34147         * manual/charset.texi: Likewise.
34148         * manual/errno.texi: Likewise.
34149         * manual/install.texi: Likewise.
34150         * manual/llio.texi: Likewise.
34151         * manual/locale.texi: Likewise.
34152         * manual/maint.texi: Likewise.
34153         * manual/math.texi: Likewise.
34154         * manual/memory.texi: Likewise.
34155         * manual/message.texi: Likewise.
34156         * manual/probes.texi: Likewise.
34157         * manual/resource.texi: Likewise.
34158         * manual/signal.texi: Likewise.
34159         * manual/socket.texi: Likewise.
34160         * manual/stdio.texi: Likewise.
34161         * manual/string.texi: Likewise.
34162         * manual/time.texi: Likewise.
34163         * manual/users.texi: Likewise.
34165 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34167         [BZ #16632]
34168         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34169         _DEFAULT_SOURCE is defined.
34171 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34172             Carlos O'Donell  <carlos@redhat.com>
34174         [BZ #16613]
34175         * elf/dl-tls.c (_dl_count_modids): New function.
34176         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34177         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34178         audit library and increment generation counter.
34179         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34180         * elf/tst-audit9.c: New file.
34181         * elf/tst-auditmod9a.c: New file.
34182         * elf/tst-auditmod9b.c: New file.
34183         * elf/Makefile: Add rules to build and run tst-audit9.
34185 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34187         [BZ #15347]
34188         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34190 2014-02-25  Will Newton  <will.newton@linaro.org>
34192         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34193         (__longjmp): Restore sp and lr before restoring callee
34194         saved registers.  Add longjmp and longjmp_target
34195         SystemTap probe point.
34196         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34197         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34198         Define to zero to match jmpbuf layout.
34199         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34200         (__sigsetjmp): Save sp and lr before saving callee
34201         saved registers.  Add setjmp SystemTap probe point.
34203 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34205         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34207 2014-02-24  Andreas Schwab  <schwab@suse.de>
34209         [BZ #15804]
34210         * elf/pldd.c (wait_for_ptrace_stop): New function.
34211         (main): Call it after attaching.
34213 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34215         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34216         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34217         Versions files is now verboten.
34218         * hurd/Versions (libc: GLIBC_2.0):
34219         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34220         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34221         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34222         * mach/Versions: Likewise.
34224         * csu/Versions: Remove unused %include.
34225         * resolv/Versions: Likewise.
34227 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34229         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34230         ($(objpfx)check-local-headers.out): Likewise.
34231         ($(objpfx)begin-end-check.out): Likewise.
34232         * Makerules (check-abi-%.out): Likewise.
34233         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34234         ($(objpfx)test2.cat): Likewise.
34235         ($(objpfx)de/libc.cat): Likewise.
34236         ($(objpfx)test-gencat.out): Likewise.
34237         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34238         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34239         ($(objpfx)noload-mem): Likewise.
34240         ($(objpfx)tst-pathopt.out): Likewise.
34241         ($(objpfx)tst-rtld-load-self.out): Likewise.
34242         ($(objpfx)tst-array1-cmp.out): Likewise.
34243         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34244         ($(objpfx)tst-array2-cmp.out): Likewise.
34245         ($(objpfx)tst-array3-cmp.out): Likewise.
34246         ($(objpfx)tst-array4-cmp.out): Likewise.
34247         ($(objpfx)tst-array5-cmp.out): Likewise.
34248         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34249         ($(objpfx)check-textrel.out): Likewise.
34250         ($(objpfx)check-execstack.out): Likewise.
34251         ($(objpfx)check-localplt.out): Likewise.
34252         ($(objpfx)order2-cmp.out): Likewise.
34253         ($(objpfx)tst-leaks1-mem): Likewise.
34254         ($(objpfx)tst-leaks1-static-mem): Likewise.
34255         ($(objpfx)tst-initorder-cmp.out): Likewise.
34256         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34257         ($(objpfx)tst-unused-dep.out): Likewise.
34258         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34259         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34260         * iconv/Makefile (test-iconvconfig): Likewise.
34261         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34262         ($(objpfx)iconv-test.out): Likewise.
34263         ($(objpfx)tst-tables.out): Likewise.
34264         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34265         ($(objpfx)tst-gettext.out): Likewise.
34266         ($(objpfx)tst-translit.out): Likewise.
34267         ($(objpfx)tst-gettext2.out): Likewise.
34268         ($(objpfx)tst-gettext4.out): Likewise.
34269         ($(objpfx)tst-gettext6.out): Likewise.
34270         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34271         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34272         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34273         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34274         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34275         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34276         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34277         ($(objpfx)wordexp-tst.out): Likewise.
34278         ($(objpfx)annexc.out): Likewise.
34279         ($(objpfx)tst-fnmatch-mem): Likewise.
34280         ($(objpfx)bug-regex2-mem): Likewise.
34281         ($(objpfx)bug-regex14-mem): Likewise.
34282         ($(objpfx)bug-regex21-mem): Likewise.
34283         ($(objpfx)bug-regex31-mem): Likewise.
34284         ($(objpfx)tst-vfork3-mem): Likewise.
34285         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34286         ($(objpfx)tst-pcre-mem): Likewise.
34287         ($(objpfx)tst-boost-mem): Likewise.
34288         ($(objpfx)tst-getconf.out): Likewise.
34289         ($(objpfx)bug-ga2-mem): Likewise.
34290         ($(objpfx)bug-glob2-mem): Likewise.
34291         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34292         ($(objpfx)mtrace-tst-leaks2): Likewise.
34293         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34294         ($(objpfx)tst-printf.out): Likewise.
34295         ($(objpfx)tst-setvbuf1.out): Likewise.
34296         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34297         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34298         ($(objpfx)tst-fmtmsg.out): Likewise.
34299         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34300         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34302         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34303         * bits/sigaction.h [__USE_MISC]: Likewise.
34304         * bits/waitstatus.h: Update #endif comments.
34305         * ctype/ctype.h: Likewise.
34306         * dirent/dirent.h: Likewise.
34307         [__USE_MISC]: Remove redundant conditionals.
34308         * grp/grp.h: Update #endif comments.
34309         [__USE_GNU]: Remove redundant conditionals.
34310         [__USE_MISC]: Likewise.
34311         * inet/netinet/in.h [__USE_GNU]: Likewise.
34312         * io/sys/stat.h [__USE_MISC]: Likewise.
34313         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34314         * libio/bits/stdio.h: Update #endif comments.
34315         [__USE_MISC]: Remove redundant conditionals.
34316         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34317         * libio/stdio.h: Update #endif comments.
34318         [__USE_MISC]: Remove redundant conditionals.
34319         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34320         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34321         * math/math.h: Update #else and #endif comments.
34322         [__USE_MISC]: Remove redundant conditionals.
34323         * misc/sys/uio.h: Update #endif comments.
34324         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
34325         * posix/glob.h [__USE_MISC]: Likewise.
34326         * posix/sys/types.h: Update #endif comments.
34327         [__USE_MISC]: Remove redundant conditionals.
34328         * posix/sys/wait.h: Update #endif comments.
34329         [__USE_MISC]: Remove redundant conditionals.
34330         * posix/unistd.h: Update #endif comments.
34331         [__USE_MISC]: Remove redundant conditionals.
34332         * pwd/pwd.h [__USE_GNU]: Likewise.
34333         [__USE_MISC]: Likewise.
34334         * resolv/netdb.h [__USE_GNU]: Likewise.
34335         * signal/signal.h: Update #endif comments.
34336         [__USE_MISC]: Remove redundant conditionals.
34337         * stdlib/stdlib.h: Update #else and #endif comments.
34338         [__USE_MISC]: Remove redundant conditionals.
34339         [__USE_GNU]: Likewise.
34340         * string/bits/string2.h [__USE_MISC]: Likewise.
34341         * string/string.h: Update #endif comments.
34342         [__USE_MISC]: Remove redundant conditionals.
34343         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
34344         Likewise.
34345         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
34346         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
34347         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
34348         Likewise.
34349         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
34350         Likewise.
34351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
34352         comments.
34353         [__USE_MISC]: Remove redundant conditionals.
34354         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
34355         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
34356         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
34357         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
34358         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
34359         Likewise.
34360         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
34361         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
34362         Likewise.
34363         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
34364         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
34365         Likewise.
34366         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
34367         Likewise.
34368         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
34369         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
34370         Likewise.
34371         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
34372         Likewise.
34373         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
34374         * sysdeps/x86/bits/string.h: Update #endif comments.
34375         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
34376         conditionals.
34377         * time/sys/time.h: Update #endif comments.
34378         * time/time.h: Likewise.
34379         [__USE_MISC]: Remove redundant conditionals.
34381 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
34383         [BZ #16600]
34384         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
34386 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
34388         * Versions.def (librt): Add GLIBC_2.17.
34390 2014-02-21  Adam Conrad  <adconrad@0c3.net>
34392         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
34393         synonym for _SYS_AUXV_H to allow direct inclusion.
34394         * sysdeps/sparc/bits/hwcap.h: Likewise.
34395         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
34396         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
34397         * sysdeps/sparc/sysdep.h: Likewise.
34399 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34401         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
34403 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34405         * benchtests/bench-strrchr.c: Print length instead of position.
34407 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
34409         [BZ #16611]
34410         * sysdeps/unix/sysv/linux/kernel-features.h
34411         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
34412         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
34413         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
34414         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
34415         Likewise.
34416         [__i386__ || __powerpc__ || __sh__ || __sparc__]
34417         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34418         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
34419         (__ASSUME_SENDMMSG): Define instead of using previous
34420         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
34421         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34422         (__ASSUME_SENDMMSG_SYSCALL): Define.
34423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34424         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
34425         Likewise.
34426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34427         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34428         Likewise.
34429         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34431         Likewise.
34432         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
34433         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34434         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34435         [__ASSUME_SENDMMSG]: Change conditionals to
34436         [__ASSUME_SENDMMSG_SOCKETCALL].
34437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34438         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
34439         Define.
34440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34441         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
34442         Likewise.
34443         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
34444         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
34445         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
34446         [!__ASSUME_SENDMMSG]: Change conditional to
34447         [!__ASSUME_SENDMMSG_SOCKETCALL].
34448         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34449         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
34450         Define.
34452         [BZ #16610]
34453         * sysdeps/unix/sysv/linux/kernel-features.h
34454         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
34455         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
34456         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
34457         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
34458         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34459         [__i386__ || __sparc__]
34460         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34461         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
34462         (__ASSUME_RECVMMSG): Define instead of using previous
34463         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
34464         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34465         (__ASSUME_RECVMMSG_SYSCALL): Define.
34466         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34468         Likewise.
34469         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34471         Likewise.
34472         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34473         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34474         Likewise.
34475         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
34476         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34477         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34478         [__ASSUME_RECVMMSG]: Change condition to
34479         [__ASSUME_RECVMMSG_SOCKETCALL].
34480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34481         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34482         Define.
34483         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34484         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
34486         Likewise.
34487         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
34488         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
34489         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
34490         [!__ASSUME_RECVMMSG]: Change condition to
34491         [!__ASSUME_RECVMMSG_SOCKETCALL].
34492         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34493         (__ASSUME_RECVMMSG_SYSCALL): Define.
34495         [BZ #16609]
34496         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
34497         __powerpc__ || __s390__ || __sh__ || __sparc__]
34498         (__ASSUME_SOCKETCALL): Define.
34499         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
34500         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
34501         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
34502         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
34503         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34504         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34505         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
34506         (__ASSUME_ACCEPT4): Define instead of using previous
34507         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
34508         __powerpc__ || __sparc__ || __s390__)] condition.
34509         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34510         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34511         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
34512         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34513         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34514         [!__ASSUME_ACCEPT4]: Change condition to
34515         [!__ASSUME_ACCEPT4_SOCKETCALL].
34516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34517         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
34518         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
34519         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34520         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
34521         __ASSUME_ACCEPT4_SYSCALL.
34522         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
34523         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
34524         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34525         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
34526         __ASSUME_ACCEPT4_SYSCALL.
34527         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
34528         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
34529         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
34530         [__ASSUME_ACCEPT4]: Change condition to
34531         [__ASSUME_ACCEPT4_SOCKETCALL].
34532         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34533         (__ASSUME_SOCKETCALL): Define.
34534         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
34535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34536         (__ASSUME_SOCKETCALL): Define.
34537         (__ASSUME_ACCEPT4): Remove.
34538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
34539         Define.
34540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34541         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
34542         Likewise.
34543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34544         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
34546         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
34547         macro.
34548         (HWCAP_ARM_LPAE): Likewise.
34549         (HWCAP_ARM_EVTSTRM): Likewise.
34550         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
34551         Add vpfd32, lpae and evtstrm.
34552         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
34553         Increase to 22.
34555 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
34557         * math/auto-libm-test-in: Add tests of clog10.
34558         * math/auto-libm-test-out: Regenerated.
34559         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
34560         * sysdeps/i386/fpu/libm-test-ulps: Update.
34561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34563 2014-02-18  Andreas Schwab  <schwab@suse.de>
34565         [BZ #16574]
34566         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
34567         Store non-zero if the second buffer was newly allocated.
34568         (send_dg): Likewise.
34569         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
34570         to send_vc and send_dg.
34571         (res_nsend): Pass NULL for ansp2_malloced.
34572         * resolv/res_query.c (__libc_res_nquery): Add parameter
34573         answerp2_malloced and pass it down to __libc_res_nsend.
34574         (res_nquery): Pass additional NULL to __libc_res_nquery.
34575         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
34576         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
34577         second answer buffer if answerp2_malloced was set.
34578         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
34579         (__libc_res_nquerydomain): Add parameter
34580         answerp2_malloced and pass it down to __libc_res_nquery.
34581         (res_nquerydomain): Pass additional NULL to
34582         __libc_res_nquerydomain.
34583         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
34584         additional NULL to __libc_res_nsend and __libc_res_nquery.
34585         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
34586         additional NULL to __libc_res_nsearch.
34587         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
34588         parameter of __libc_res_nsearch to check for separately allocated
34589         second buffer.
34590         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
34591         __libc_res_nquery.
34592         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
34593         additional NULL to __libc_res_nquery.
34594         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34595         __libc_res_nsearch.
34596         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
34597         * include/resolv.h: Update prototypes of __libc_res_nquery,
34598         __libc_res_nsearch, __libc_res_nsend.
34600 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
34602         * math/auto-libm-test-in: Add tests of fma.
34603         * math/auto-libm-test-out: Regenerated.
34604         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
34605         (fma_towardzero_test_data): Likewise.
34606         (fma_downward_test_data): Likewise.
34607         (fma_upward_test_data): Likewise.
34608         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
34609         mpc_mode.
34610         (rounding_modes): Add values for new field.
34611         (func_calc_method): Add value mpfr_fff_f.
34612         (func_calc_desc): Add mpfr_fff_f union field.
34613         (test_function): Add field exact_args.
34614         (FUNC): Add macro argument EXACT_ARGS.
34615         (FUNC_mpfr_f_f): Update call to FUNC.
34616         (FUNC_mpfr_f_f): Likewise.
34617         (FUNC_mpfr_ff_f): Likewise.
34618         (FUNC_mpfr_if_f): Likewise.
34619         (FUNC_mpc_c_f): Likewise.
34620         (FUNC_mpc_c_c): Likewise.
34621         (test_functions): Add fma.  Update calls to FUNC.
34622         (handle_input_arg): Add argument exact_args.
34623         (add_test): Update call to handle_input_arg.
34624         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
34625         (output_for_one_input_case): Update call to calc_generic_results.
34626         Recalculate exact zero results in each rounding mode.
34628         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
34629         non-negative before setting low bit.
34630         * math/auto-libm-test-in: Mark one asin test possibly having
34631         spurious underflow.
34632         * math/auto-libm-test-out: Regenerated.
34633         * sysdeps/i386/fpu/libm-test-ulps: Update.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34636 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
34638         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
34639         * sysdeps/unix/sysv/linux/microblaze: Move directory from
34640         ports/sysdeps/unix/sysv/linux/microblaze.
34641         * README: Add missing listing for microblaze*-*-linux-gnu.
34643 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
34645         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
34646         duplicate code
34648 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
34650         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
34651         * sysdeps/unix/sysv/linux/ia64: Move directory from
34652         ports/sysdeps/unix/sysv/linux/ia64.
34653         * README: Update listing for ia64-*-linux-gnu.
34655 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
34656             Joseph Myers  <joseph@codesourcery.com>
34658         * Makeconfig (test-name): New variable.
34659         (evaluate-test): Likewise.
34660         * Makerules (do-test-clean): Remove .test-result files.
34661         (common-mostlyclean): Likewise.
34662         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
34663         * scripts/evaluate-test.sh: New file.
34665 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
34667         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
34668         separate $(objpfx)tst-fopenloc-cmp.out and
34669         $(objpfx)tst-fopenloc-mem.out targets.
34670         (tests): Update dependencies.
34671         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
34672         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
34673         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
34674         (tst-rxspencer-no-utf8-ARGS): New variable.
34675         (tst-rxspencer-no-utf8-ENV): Likewise.
34676         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
34677         instead of $(objpfx)tst-rxspencer-mem.
34678         ($(objpfx)tst-rxspencer-mem): Change target to
34679         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
34680         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
34681         * posix/tst-rxspencer-no-utf8.c: New file.
34683         * elf/Makefile ($(objpfx)order.out): Remove rule.
34684         [$(run-built-tests) = yes] (tests): Depend on
34685         $(objpfx)order-cmp.out.
34686         ($(objpfx)order-cmp.out): New rule.
34687         [$(run-built-tests) = yes] (tests): Depend on
34688         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
34689         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
34690         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
34691         $(objpfx)tst-array5-static-cmp.out.
34692         ($(objpfx)tst-array1.out): Remove rule.
34693         ($(objpfx)tst-array1-cmp.out): New rule.
34694         ($(objpfx)tst-array1-static.out): Remove rule.
34695         ($(objpfx)tst-array1-static-cmp.out): New rule.
34696         ($(objpfx)tst-array2.out): Remove rule.
34697         ($(objpfx)tst-array2-cmp.out): New rule.
34698         ($(objpfx)tst-array3.out): Remove rule.
34699         ($(objpfx)tst-array3-cmp.out): New rule.
34700         ($(objpfx)tst-array4.out): Remove rule.
34701         ($(objpfx)tst-array4-cmp.out): New rule.
34702         ($(objpfx)tst-array5.out): Remove rule.
34703         ($(objpfx)tst-array5-cmp.out): New rule.
34704         ($(objpfx)tst-array5-static.out): Remove rule.
34705         ($(objpfx)tst-array5-static-cmp.out): New rule.
34706         [$(run-built-tests) = yes] (tests): Depend on
34707         $(objpfx)order2-cmp.out.
34708         ($(objpfx)order2.out): Remove rule.
34709         ($(objpfx)order2-cmp.out): New rule.
34710         ($(objpfx)tst-initorder.out): Remove rule.
34711         [$(run-built-tests) = yes] (tests): Depend on
34712         $(objpfx)tst-initorder-cmp.out.
34713         ($(objpfx)tst-initorder-cmp.out): New rule.
34714         ($(objpfx)tst-initorder2.out): Remove rule.
34715         [$(run-built-tests) = yes] (tests): Depend on
34716         $(objpfx)tst-initorder2-cmp.out.
34717         ($(objpfx)tst-initorder2-cmp.out): New rule.
34718         [$(run-built-tests) = yes] (tests): Depend on
34719         $(objpfx)tst-unused-dep-cmp.out.
34720         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
34721         ($(objpfx)tst-unused-dep-cmp.out): New rule.
34722         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
34723         on $(objpfx)tst-setvbuf1-cmp.out.
34724         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
34725         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
34726         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
34727         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
34728         ($(objpfx)tst-svc.out): Remove rule.
34729         ($(objpfx)tst-svc-cmp.out): New rule.
34731 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
34733         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
34734         * ctype/ctype.h [__USE_MISC]: Likewise.
34735         * dirent/dirent.h [__USE_MISC]: Likewise.
34736         * grp/grp.h [__USE_MISC]: Likewise.
34737         * io/fcntl.h [__USE_MISC]: Likewise.
34738         * io/sys/stat.h [__USE_MISC]: Likewise.
34739         * libio/stdio.h [__USE_MISC]: Likewise.
34740         * posix/unistd.h [__USE_MISC]: Likewise.
34741         * pwd/pwd.h [__USE_MISC]: Likewise.
34742         * stdlib.h [__USE_MISC]: Likewise.
34743         * string/bits/string2.h [__USE_MISC]: Likewise.
34744         * string/string.h [__USE_MISC]: Likewise.
34745         * time/time.h [__USE_MISC]: Likewise.
34747 2014-02-13  Andreas Schwab  <schwab@suse.de>
34749         [BZ #16574]
34750         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
34751         second answer buffer if it was separately allocated.
34753 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
34755         * sysdeps/mips/math-tests.h: Include <features.h>.
34756         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34757         (ROUNDING_TESTS_long_double): Do not define.
34758         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
34759         (EXCEPTION_TESTS_long_double): Likewise.
34760         * sysdeps/mips/mips64/libm-test-ulps: Update.
34762         * include/features.h (__USE_BSD): Remove macro definitions.
34763         (__USE_SVID): Likewise.
34764         (_BSD_SOURCE): Likewise.
34765         (_SVID_SOURCE): Likewise.
34766         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
34767         from definition of _DEFAULT_SOURCE.
34768         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
34769         [_DEFAULT_SOURCE].
34770         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
34771         * bits/mman.h [__USE_BSD]: Likewise.
34772         * bits/termios.h [__USE_BSD]: Likewise.
34773         * bits/waitstatus.h [__USE_BSD]: Likewise.
34774         * ctype/ctype.h [__USE_SVID]: Likewise.
34775         * dirent/dirent.h [__USE_BSD]: Likewise.
34776         * grp/grp.h [__USE_SVID]: Likewise.
34777         [__USE_BSD]: Likewise.
34778         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
34779         * io/fcntl.h [__USE_BSD]: Likewise.
34780         * io/ftw.h [__USE_BSD]: Likewise.
34781         * io/sys/stat.h [__USE_BSD]: Likewise.
34782         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
34783         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
34784         * libio/stdio.h [__USE_SVID]: Likewise.
34785         [__USE_BSD]: Likewise.
34786         * math/math.h [__USE_SVID]: Likewise.
34787         [__USE_BSD]: Likewise.
34788         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
34789         * misc/bits/syslog.h [__USE_BSD]: Likewise.
34790         * misc/search.h [__USE_SVID]: Likewise.
34791         * misc/sys/mman.h [__USE_BSD]: Likewise.
34792         * misc/sys/syslog.h [__USE_BSD]: Likewise.
34793         * misc/sys/uio.h [__USE_BSD]: Likewise.
34794         * posix/bits/unistd.h [__USE_BSD]: Likewise.
34795         * posix/glob.h [__USE_BSD]: Likewise.
34796         * posix/regex.h [__USE_BSD]: Likewise.
34797         * posix/sys/types.h [__USE_BSD]: Likewise.
34798         [__USE_SVID]: Likewise.
34799         * posix/sys/utsname.h [__USE_SVID]: Likewise.
34800         * posix/sys/wait.h [__USE_BSD]: Likewise.
34801         [__USE_SVID]: Likewise.
34802         * posix/unistd.h [__USE_BSD]: Likewise.
34803         [__USE_SVID]: Likewise.
34804         * pwd/pwd.h [__USE_SVID]: Likewise.
34805         * resolv/netdb.h [__USE_BSD]: Likewise.
34806         * setjmp/setjmp.h [__USE_BSD]: Likewise.
34807         * signal/signal.h [__USE_BSD]: Likewise.
34808         [__USE_SVID]: Likewise.
34809         * socket/sys/socket.h [__USE_BSD]: Likewise.
34810         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
34811         * stdlib/stdlib.h [__USE_BSD]: Likewise.
34812         [__USE_SVID]: Likewise.
34813         * string/bits/string2.h [__USE_BSD]: Likewise.
34814         [__USE_SVID]: Likewise.
34815         * string/bits/string3.h [__USE_BSD]: Likewise.
34816         * string/endian.h [__USE_BSD]: Likewise.
34817         * string/string.h [__USE_SVID]: Likewise.
34818         [__USE_BSD]: Likewise.
34819         * string/strings.h [__USE_BSD]: Likewise.
34820         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
34821         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
34822         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
34823         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
34824         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
34825         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
34826         Likewise.
34827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
34828         Likewise.
34829         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
34830         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
34833         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
34834         Likewise.
34835         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
34836         Likewise.
34837         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
34838         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
34839         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
34840         Likewise.
34841         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
34842         Likewise.
34843         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
34844         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
34845         * termios/termios.h [__USE_BSD]: Likewise.
34846         * time/sys/time.h [__USE_BSD]: Likewise.
34847         * time/time.h [__USE_BSD]: Likewise.
34848         [__USE_SVID]: Likewise.
34850         * Makefile (subdir_targets): Remove subdir_lint.out.
34852         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34853         (do-tst-printf): Likewise.
34854         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34855         $(objpfx)tst-printf.out.
34857         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34859         * Makerules (check-abi-%): Change target to
34860         $(objpfx)check-abi-%.out.
34861         (check-abi target): Update dependencies.
34862         (check-abi-pattern variable): Redirect output of diff to $@.
34863         (check-abi variable): Likewise.
34864         * elf/Makefile (check-abi): Update dependencies.
34866         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34867         unused.
34868         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34869         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34870         subnormal range.
34871         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34872         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34873         value has largest subnormal exponent.
34874         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34875         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34876         * sysdeps/aarch64/soft-fp/sfp-machine.h
34877         (_FP_TININESS_AFTER_ROUNDING): New macro.
34878         * sysdeps/alpha/soft-fp/sfp-machine.h
34879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34880         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34881         Likewise.
34882         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34883         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34884         * sysdeps/mips/soft-fp/sfp-machine.h
34885         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34886         * sysdeps/powerpc/soft-fp/sfp-machine.h
34887         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34888         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34889         Likewise.
34890         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34891         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34892         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34894         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34895         Likewise.
34897 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34899         [BZ #16545]
34900         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34901         model 1.
34903 2014-02-12  Richard Henderson  <rth@redhat.com>
34905         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34906         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34907         * sysdeps/unix/sysv/linux/alpha: Move directory from
34908         ports/sysdeps/unix/sysv/linux/alpha.
34909         * README: Update listing for alpha-*-linux-gnu.
34911 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34913         * include/features.h: Update comment documenting feature test
34914         macros.
34915         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34916         _DEFAULT_SOURCE.
34917         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34918         (_SVID_SOURCE): Likewise.
34919         (_DEFAULT_SOURCE): Update description of default features.
34920         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34921         with _GNU_SOURCE.
34922         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34923         (S_ISVTX): Likewise.
34924         * manual/math.texi (Mathematical Constants): Likewise.
34925         * manual/signal.texi (Interrupted Primitives): Likewise.
34926         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34927         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34928         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34929         Don't refer to _SVID_SOURCE in warning text.
34931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34933         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34934         already defined.
34935         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34936         * sysdeps/mips/dl-lookup.c: Remove.
34937         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34939 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34941         [BZ #16447]
34942         * math/auto-libm-test-in: Add testcase for expl.
34943         * math/auto-libm-test-out: Regenerate.
34944         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34945         calculation of unsafe.
34946         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34948 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34950         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34951         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34952         ports/sysdeps/unix/sysv/linux/aarch64.
34953         * README: Update listing for aarch64*-*-linux-gnu.
34955 2014-02-11  Will Newton  <will.newton@linaro.org>
34957         * manual/probes.texi (Mathematical Function Probes): Use
34958         "triggered" instead of "hit".
34960         * manual/probes.texi (Internal Probes): Add documentation
34961         of setjmp, longjmp and longjmp_target probes.
34963         * include/stap-probe.h: Add comment about probe argument
34964         format.
34966         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34967         definition.  (tr_where, tr_freehook, tr_mallochook,
34968         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34970 2014-02-11  David S. Miller  <davem@davemloft.net>
34972         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34973         processing int_tests.
34975 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34977         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34978         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34979         * sysdeps/unix/sysv/linux/mips: Move directory from
34980         ports/sysdeps/unix/sysv/linux/mips.
34981         * README: Update listing for mips-*-linux-gnu and
34982         mips64-*-linux-gnu.
34984 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34986         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34987         * sysdeps/unix/sysv/linux/m68k: Move directory from
34988         ports/sysdeps/unix/sysv/linux/m68k.
34989         * README: Update listing for m68k-*-linux-gnu.
34991 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34993         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34994         * sysdeps/unix/sysv/linux/generic: Move directory from
34995         ports/sysdeps/unix/sysv/linux/generic.
34996         * sysdeps/unix/sysv/linux/tile: Move directory from
34997         ports/sysdeps/unix/sysv/linux/tile.
34998         * README: Update listing for tile*-*-linux-gnu.
35000 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35002         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35003         __builtin_expect.
35004         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35005         * catgets/open_catalog.c (__open_catalog): Likewise.
35006         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35007         * debug/confstr_chk.c: Likewise.
35008         * debug/fread_chk.c (__fread_chk): Likewise.
35009         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35010         * debug/getgroups_chk.c: Likewise.
35011         * debug/mbsnrtowcs_chk.c: Likewise.
35012         * debug/mbsrtowcs_chk.c: Likewise.
35013         * debug/mbstowcs_chk.c: Likewise.
35014         * debug/memcpy_chk.c: Likewise.
35015         * debug/memmove_chk.c: Likewise.
35016         * debug/mempcpy_chk.c: Likewise.
35017         * debug/memset_chk.c: Likewise.
35018         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35019         * debug/strcat_chk.c (__strcat_chk): Likewise.
35020         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35021         * debug/strncat_chk.c (__strncat_chk): Likewise.
35022         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35023         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35024         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35025         * debug/wcpncpy_chk.c: Likewise.
35026         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35027         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35028         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35029         * debug/wcsncpy_chk.c: Likewise.
35030         * debug/wcsnrtombs_chk.c: Likewise.
35031         * debug/wcsrtombs_chk.c: Likewise.
35032         * debug/wcstombs_chk.c: Likewise.
35033         * debug/wmemcpy_chk.c: Likewise.
35034         * debug/wmemmove_chk.c: Likewise.
35035         * debug/wmempcpy_chk.c: Likewise.
35036         * debug/wmemset_chk.c: Likewise.
35037         * dirent/scandirat.c (SCANDIRAT): Likewise.
35038         * dlfcn/dladdr1.c (dladdr1): Likewise.
35039         * dlfcn/dladdr.c (dladdr): Likewise.
35040         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35041         * dlfcn/dlerror.c (__dlerror): Likewise.
35042         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35043         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35044         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35045         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35046         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35047         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35048         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35049         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35050         Likewise.
35051         * elf/dl-conflict.c: Likewise.
35052         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35053         * elf/dl-dst.h: Likewise.
35054         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35055         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35056         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35057         * elf/dl-init.c (call_init, _dl_init): Likewise.
35058         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35059         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35060         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35061         Likewise.
35062         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35063         Likewise.
35064         * elf/dl-minimal.c (__libc_memalign): Likewise.
35065         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35066         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35067         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35068         * elf/dl-sym.c (do_sym): Likewise.
35069         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35070         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35071         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35072         * elf/dl-writev.h (_dl_writev): Likewise.
35073         * elf/ldconfig.c (search_dir): Likewise.
35074         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35075         (dl_main): Likewise.
35076         * elf/setup-vdso.h (setup_vdso): Likewise.
35077         * grp/compat-initgroups.c (compat_call): Likewise.
35078         * grp/fgetgrent.c (fgetgrent): Likewise.
35079         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35080         * grp/putgrent.c (putgrent): Likewise.
35081         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35082         Likewise.
35083         * hurd/hurdinit.c: Likewise.
35084         * iconvdata/8bit-gap.c (struct): Likewise.
35085         * iconvdata/ansi_x3.110.c : Likewise.
35086         * iconvdata/big5.c : Likewise.
35087         * iconvdata/big5hkscs.c : Likewise.
35088         * iconvdata/cp1255.c: Likewise.
35089         * iconvdata/cp1258.c : Likewise.
35090         * iconvdata/cp932.c : Likewise.
35091         * iconvdata/euc-cn.c: Likewise.
35092         * iconvdata/euc-jisx0213.c : Likewise.
35093         * iconvdata/euc-jp.c: Likewise.
35094         * iconvdata/euc-jp-ms.c : Likewise.
35095         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35096         * iconvdata/gb18030.c : Likewise.
35097         * iconvdata/gbbig5.c (const): Likewise.
35098         * iconvdata/gbgbk.c: Likewise.
35099         * iconvdata/gbk.c : Likewise.
35100         * iconvdata/ibm1364.c : Likewise.
35101         * iconvdata/ibm930.c : Likewise.
35102         * iconvdata/ibm932.c: Likewise.
35103         * iconvdata/ibm933.c : Likewise.
35104         * iconvdata/ibm935.c : Likewise.
35105         * iconvdata/ibm937.c : Likewise.
35106         * iconvdata/ibm939.c : Likewise.
35107         * iconvdata/ibm943.c: Likewise.
35108         * iconvdata/iso_11548-1.c: Likewise.
35109         * iconvdata/iso-2022-cn.c : Likewise.
35110         * iconvdata/iso-2022-cn-ext.c : Likewise.
35111         * iconvdata/iso-2022-jp-3.c: Likewise.
35112         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35113         * iconvdata/iso-2022-kr.c : Likewise.
35114         * iconvdata/iso646.c (gconv_end): Likewise.
35115         * iconvdata/iso_6937-2.c : Likewise.
35116         * iconvdata/iso_6937.c : Likewise.
35117         * iconvdata/iso8859-1.c: Likewise.
35118         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35119         * iconvdata/shift_jisx0213.c : Likewise.
35120         * iconvdata/sjis.c : Likewise.
35121         * iconvdata/t.61.c : Likewise.
35122         * iconvdata/tcvn5712-1.c : Likewise.
35123         * iconvdata/tscii.c: Likewise.
35124         * iconvdata/uhc.c : Likewise.
35125         * iconvdata/unicode.c (gconv_end): Likewise.
35126         * iconvdata/utf-16.c (gconv_end): Likewise.
35127         * iconvdata/utf-32.c (gconv_end): Likewise.
35128         * iconvdata/utf-7.c (base64): Likewise.
35129         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35130         * iconv/gconv_close.c (__gconv_close): Likewise.
35131         * iconv/gconv_open.c (__gconv_open): Likewise.
35132         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35133         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35134         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35135         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35136         (ucs4le_internal_loop_single): Likewise.
35137         * iconv/iconv.c (iconv): Likewise.
35138         * iconv/iconv_close.c: Likewise.
35139         * iconv/loop.c (SINGLE): Likewise.
35140         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35141         * include/atomic.h: Likewise.
35142         * inet/inet6_option.c (option_alloc): Likewise.
35143         * intl/bindtextdom.c (set_binding_values): Likewise.
35144         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35145         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35146         * intl/localealias.c (read_alias_file): Likewise.
35147         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35148         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35149         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35150         * libio/fmemopen.c (fmemopen): Likewise.
35151         * libio/iofgets.c (_IO_fgets): Likewise.
35152         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35153         * libio/iofgetws.c (fgetws): Likewise.
35154         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35155         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35156         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35157         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35158         * locale/findlocale.c (_nl_find_locale): Likewise.
35159         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35160         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35161         Likewise.
35162         * locale/setlocale.c (setlocale): Likewise.
35163         * login/programs/pt_chown.c (main): Likewise.
35164         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35165         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35166         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35167         (mmap, mmap64, mremap, munmap): Likewise.
35168         * math/e_exp2l.c: Likewise.
35169         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35170         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35171         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35172         * math/s_catan.c (__catan): Likewise.
35173         * math/s_catanf.c (__catanf): Likewise.
35174         * math/s_catanh.c (__catanh): Likewise.
35175         * math/s_catanhf.c (__catanhf): Likewise.
35176         * math/s_catanhl.c (__catanhl): Likewise.
35177         * math/s_catanl.c (__catanl): Likewise.
35178         * math/s_ccosh.c (__ccosh): Likewise.
35179         * math/s_ccoshf.c (__ccoshf): Likewise.
35180         * math/s_ccoshl.c (__ccoshl): Likewise.
35181         * math/s_cexp.c (__cexp): Likewise.
35182         * math/s_cexpf.c (__cexpf): Likewise.
35183         * math/s_cexpl.c (__cexpl): Likewise.
35184         * math/s_clog10.c (__clog10): Likewise.
35185         * math/s_clog10f.c (__clog10f): Likewise.
35186         * math/s_clog10l.c (__clog10l): Likewise.
35187         * math/s_clog.c (__clog): Likewise.
35188         * math/s_clogf.c (__clogf): Likewise.
35189         * math/s_clogl.c (__clogl): Likewise.
35190         * math/s_csin.c (__csin): Likewise.
35191         * math/s_csinf.c (__csinf): Likewise.
35192         * math/s_csinh.c (__csinh): Likewise.
35193         * math/s_csinhf.c (__csinhf): Likewise.
35194         * math/s_csinhl.c (__csinhl): Likewise.
35195         * math/s_csinl.c (__csinl): Likewise.
35196         * math/s_csqrt.c (__csqrt): Likewise.
35197         * math/s_csqrtf.c (__csqrtf): Likewise.
35198         * math/s_csqrtl.c (__csqrtl): Likewise.
35199         * math/s_ctan.c (__ctan): Likewise.
35200         * math/s_ctanf.c (__ctanf): Likewise.
35201         * math/s_ctanh.c (__ctanh): Likewise.
35202         * math/s_ctanhf.c (__ctanhf): Likewise.
35203         * math/s_ctanhl.c (__ctanhl): Likewise.
35204         * math/s_ctanl.c (__ctanl): Likewise.
35205         * math/w_pow.c: Likewise.
35206         * math/w_powf.c: Likewise.
35207         * math/w_powl.c: Likewise.
35208         * math/w_scalb.c (sysv_scalb): Likewise.
35209         * math/w_scalbf.c (sysv_scalbf): Likewise.
35210         * math/w_scalbl.c (sysv_scalbl): Likewise.
35211         * misc/error.c (error_tail): Likewise.
35212         * misc/pselect.c (__pselect): Likewise.
35213         * nis/nis_callback.c (__nis_create_callback): Likewise.
35214         * nis/nis_call.c (__nisfind_server): Likewise.
35215         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35216         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35217         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35218         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35219         * nis/nis_lookup.c (nis_lookup): Likewise.
35220         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35221         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35222         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35223         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35224         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35225         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35226         * nis/nss_compat/compat-initgroups.c (add_group)
35227         (internal_getgrent_r): Likewise.
35228         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35229         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35230         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35231         (internal_getspnam_r): Likewise.
35232         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35233         (_nss_nis_getaliasbyname_r): Likewise.
35234         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35235         (_nss_nis_getntohost_r): Likewise.
35236         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35237         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35238         (_nss_nis_getgrgid_r): Likewise.
35239         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35240         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35241         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35242         (_nss_nis_gethostbyname4_r): Likewise.
35243         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35244         (initgroups_netid): Likewise.
35245         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35246         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35247         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35248         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35249         (_nss_nis_getprotobynumber_r): Likewise.
35250         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35251         (_nss_nis_getsecretkey): Likewise.
35252         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35253         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35254         (_nss_nis_getpwuid_r): Likewise.
35255         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35256         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35257         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35258         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35259         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35260         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35261         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35262         Likewise.
35263         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35264         (_nss_nisplus_getntohost_r): Likewise.
35265         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35266         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35267         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35268         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35269         Likewise.
35270         * nis/nss_nisplus/nisplus-initgroups.c
35271         (_nss_nisplus_initgroups_dyn): Likewise.
35272         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35273         (_nss_nisplus_getnetbyaddr_r): Likewise.
35274         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35275         (_nss_nisplus_getprotobynumber_r): Likewise.
35276         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35277         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35278         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35279         Likewise.
35280         * nis/nss_nisplus/nisplus-service.c
35281         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35282         (_nss_nisplus_getservbyport_r): Likewise.
35283         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35284         (_nss_nisplus_getspnam_r): Likewise.
35285         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35286         Likewise.
35287         * nscd/aicache.c (addhstaiX): Likewise.
35288         * nscd/cache.c (cache_search, prune_cache): Likewise.
35289         * nscd/connections.c (register_traced_file, send_ro_fd)
35290         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35291         (main_loop_epoll): Likewise.
35292         * nscd/grpcache.c (addgrbyX): Likewise.
35293         * nscd/hstcache.c (addhstbyX): Likewise.
35294         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35295         * nscd/mem.c (gc, mempool_alloc): Likewise.
35296         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35297         (addinnetgrX): Likewise.
35298         * nscd/nscd-client.h (__nscd_acquire_maplock)
35299         (__nscd_drop_map_ref): Likewise.
35300         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35301         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35302         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35303         Likewise.
35304         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35305         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35306         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35307         (__nscd_get_map_ref): Likewise.
35308         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35309         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35310         Likewise.
35311         * nscd/pwdcache.c (addpwbyX): Likewise.
35312         * nscd/selinux.c (preserve_capabilities): Likewise.
35313         * nscd/servicescache.c (addservbyX): Likewise.
35314         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35315         * posix/fnmatch.c (fnmatch): Likewise.
35316         * posix/getopt.c (_getopt_internal_r): Likewise.
35317         * posix/glob.c (glob, glob_in_dir): Likewise.
35318         * posix/wordexp.c (exec_comm_child): Likewise.
35319         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35320         (getanswer_r, gaih_getanswer_slice): Likewise.
35321         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35322         * resolv/res_init.c: Likewise.
35323         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35324         * resolv/res_query.c (__libc_res_nquery): Likewise.
35325         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
35326         Likewise.
35327         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
35328         * stdio-common/perror.c (perror): Likewise.
35329         * stdio-common/printf_fp.c (___printf_fp): Likewise.
35330         * stdio-common/tmpnam.c (tmpnam): Likewise.
35331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35332         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
35333         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
35334         Likewise.
35335         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
35336         * stdlib/putenv.c (putenv): Likewise.
35337         * stdlib/setenv.c (__add_to_environ): Likewise.
35338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35339         * stdlib/strtol_l.c (INTERNAL): Likewise.
35340         * string/memmem.c (memmem): Likewise.
35341         * string/strerror.c (strerror): Likewise.
35342         * string/strnlen.c (__strnlen): Likewise.
35343         * string/test-memmem.c (simple_memmem): Likewise.
35344         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
35345         * sunrpc/pm_getport.c (__get_socket): Likewise.
35346         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
35347         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
35348         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
35349         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
35350         Likewise.
35351         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
35352         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
35353         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35354         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
35355         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35356         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
35357         Likewise.
35358         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
35359         Likewise.
35360         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35361         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35362         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35363         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35364         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
35365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
35366         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35367         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
35368         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35369         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
35370         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35371         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
35372         Likewise.
35373         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
35374         Likewise.
35375         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
35376         Likewise.
35377         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
35378         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35379         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
35380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
35381         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
35382         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
35383         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35384         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
35385         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
35386         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
35387         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
35388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35389         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35390         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
35391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35392         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35393         Likewise.
35394         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
35395         Likewise.
35396         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
35397         Likewise.
35398         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
35399         Likewise.
35400         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35402         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
35403         Likewise.
35404         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
35405         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
35406         * sysdeps/posix/opendir.c (__opendirat): Likewise.
35407         * sysdeps/posix/sleep.c: Likewise.
35408         * sysdeps/posix/tempname.c: Likewise.
35409         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
35410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35411         Likewise.
35412         * sysdeps/powerpc/powerpc32/dl-machine.h
35413         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
35414         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35416         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
35417         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
35418         Likewise.
35419         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
35420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
35421         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
35423         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
35424         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
35425         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
35426         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
35427         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35428         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
35429         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
35430         (elf_machine_lazy_rel): Likewise.
35431         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35432         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
35433         (elf_machine_lazy_rel): Likewise.
35434         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
35435         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
35436         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
35437         * sysdeps/unix/grantpt.c (grantpt): Likewise.
35438         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
35439         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
35440         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
35441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35442         Likewise.
35443         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
35444         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
35445         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
35446         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
35447         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35448         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35449         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
35450         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
35451         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
35452         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35453         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35454         Likewise.
35455         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
35456         (__posix_fallocate64_l64): Likewise.
35457         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
35458         (posix_fallocate): Likewise.
35459         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
35460         Likewise.
35461         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35462         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
35463         (getifaddrs_internal): Likewise.
35464         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
35465         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
35466         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
35467         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35468         * sysdeps/unix/sysv/linux/posix_fallocate64.c
35469         (__posix_fallocate64_l64): Likewise.
35470         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
35471         Likewise.
35472         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
35473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
35474         (__get_clockfreq): Likewise.
35475         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
35476         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35477         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
35478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35480         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
35481         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
35482         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
35483         Likewise.
35484         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
35485         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
35486         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
35487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
35488         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35489         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
35490         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
35491         Likewise.
35492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35493         (posix_fallocate): Likewise.
35494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35495         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
35496         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
35497         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
35498         (elf_machine_rela, elf_machine_rela_relative)
35499         (elf_machine_lazy_rel): Likewise.
35500         * time/asctime.c (asctime_internal): Likewise.
35501         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
35502         * time/tzset.c (__tzset_parse_tz): Likewise.
35503         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35504         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35505         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
35506         * wcsmbs/wcsmbsload.h: Likewise.
35508         [BZ #15894]
35509         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
35511         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
35512         (arena_get2): Remove THREAD_STATS conditionals.
35513         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
35514         (__malloc_stats, int): Likewise.
35516 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
35518         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
35519         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
35521         * manual/setjmp.texi: Fix typos/grammar errors.
35523         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
35524         Only return early when n is <= 0.  Delete unused return statement.
35526         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
35527         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
35528         * debug/tst-longjmp_chk3.c: New file.
35530         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
35531         (test_main): Replace code with set_fortify_handler call.
35532         * debug/test-strcpy_chk.c: Likewise.
35533         * debug/tst-chk1.c: Likewise.
35534         * debug/tst-longjmp_chk.c: Likewise.
35535         * test-skeleton.c: Include fcntl.h & paths.h
35536         (set_fortify_handler): Define.
35538         * debug/tst-longjmp_chk.c: Add header comment and include
35539         ../test-skeleton.c.
35540         (do_test): Mark static.
35541         (TEST_FUNCTION): Define.
35543         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
35544         (IP_PMTUDISC_INTERFACE): Likewise.
35545         (IP_MULTICAST_IF): Likewise.
35546         (IP_MULTICAST_TTL): Likewise.
35547         (IP_MULTICAST_LOOP): Likewise.
35548         (IP_ADD_MEMBERSHIP): Likewise.
35549         (IP_DROP_MEMBERSHIP): Likewise.
35550         (IP_UNBLOCK_SOURCE): Likewise.
35551         (IP_BLOCK_SOURCE): Likewise.
35552         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
35553         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
35554         (IP_MSFILTER): Likewise.
35555         (MCAST_JOIN_GROUP): Likewise.
35556         (MCAST_BLOCK_SOURCE): Likewise.
35557         (MCAST_UNBLOCK_SOURCE): Likewise.
35558         (MCAST_LEAVE_GROUP): Likewise.
35559         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35560         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35561         (MCAST_MSFILTER): Likewise.
35562         (IP_MULTICAST_ALL): Likewise.
35563         (IP_UNICAST_IF): Likewise.
35565         * timezone/Makefile: Delete $(have-ksh) check.
35566         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
35567         * timezone/tzselect.ksh: Add +x mode bits.
35569         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
35570         (ANON_INODE_FS_MAGIC): Likewise.
35571         (BDEVFS_MAGIC): Likewise.
35572         (BINFMTFS_MAGIC): Likewise.
35573         (BTRFS_TEST_MAGIC): Likewise.
35574         (CRAMFS_MAGIC_WEND): Likewise.
35575         (DEBUGFS_MAGIC): Likewise.
35576         (ECRYPTFS_SUPER_MAGIC): Likewise.
35577         (EXT3_SUPER_MAGIC): Likewise.
35578         (EXT4_SUPER_MAGIC): Likewise.
35579         (FUTEXFS_SUPER_MAGIC): Likewise.
35580         (HOSTFS_SUPER_MAGIC): Likewise.
35581         (HUGETLBFS_MAGIC): Likewise.
35582         (MINIX3_SUPER_MAGIC): Likewise.
35583         (MTD_INODE_FS_MAGIC): Likewise.
35584         (NILFS_SUPER_MAGIC): Likewise.
35585         (OPENPROM_SUPER_MAGIC): Likewise.
35586         (PIPEFS_MAGIC): Likewise.
35587         (PSTOREFS_MAGIC): Likewise.
35588         (QNX6_SUPER_MAGIC): Likewise.
35589         (RAMFS_MAGIC): Likewise.
35590         (REISERFS_SUPER_MAGIC_STRING): Likewise.
35591         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
35592         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
35593         (SECURITYFS_MAGIC): Likewise.
35594         (SELINUX_MAGIC): Likewise.
35595         (SMACK_MAGIC): Likewise.
35596         (SOCKFS_MAGIC): Likewise.
35597         (SQUASHFS_MAGIC): Likewise.
35598         (STACK_END_MAGIC): Likewise.
35599         (TMPFS_MAGIC): Likewise.
35600         (USBDEVICE_SUPER_MAGIC): Likewise.
35601         (V9FS_MAGIC): Likewise.
35602         (XENFS_SUPER_MAGIC): Likewise.
35603         (CRAMFS_MAGIC): Fix typo in comment.
35604         (EXT2_SUPER_MAGIC): Update comment.
35605         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
35607 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
35609         * sysdeps/arm: Move directory from ports/sysdeps/arm.
35610         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
35611         * sysdeps/unix/sysv/linux/arm: Move directory from
35612         ports/sysdeps/unix/sysv/linux/arm.
35613         * README: Update listing for arm-*-linux-gnueabi.
35615         * README: Remove mention of am33.
35617 2014-02-07  Roland McGrath  <roland@hack.frob.com>
35619         * bits/sigset.h (__sigemptyset): Use a statement expression rather
35620         than the comma operator, to avoid "rhs of comma has no effect"
35621         compiler warnings.
35622         (__sigfillset, __sigandset, __sigorset): Likewise.
35623         * include/signal.h (__sigemptyset): Likewise.
35624         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
35626 2014-02-07  Allan McRae  <allan@archlinux.org>
35628         * version.h (RELEASE): Set to "development".
35629         (VERSION): Set to "2.19.90"
35630         * NEWS: Add 2.20 section.
35632 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
35634         [BZ #16529]
35635         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
35637 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35639         * manual/contrib.texi: Update entry for Carlos O'Donell,
35640         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
35642 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
35644         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
35646         * sysdeps/unix/sysv/linux/kernel-features.h
35647         [__LINUX_KERNEL_VERSION >= 0x020621]
35648         (__ASSUME_PROC_PID_TASK_COMM): Define.
35650 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35652         [BZ #16398]
35653         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
35654         conversion when destination buffer does not have enough space.
35655         * libio/tst-ftell-partial-wide.c: New test case.
35656         * libio/Makefile (tests): Add tst-ftell-partial-wide.
35658         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
35659         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
35660         Leonard and Allan McRae.
35662 2014-02-04  David S. Miller  <davem@davemloft.net>
35664         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
35665         32-bit.
35667 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35670         New file
35671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35672         New file
35673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35674         New file.
35675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35676         New file.
35677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35678         New file.
35679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35680         New file.
35681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35682         New file.
35683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35684         New file.
35685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35686         New file.
35687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35688         New file.
35689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35690         New file.
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35692         New file.
35693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35694         New file.
35696 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35698         * nptl/shlib-versions: Change powerpc*le start to 2.17.
35699         * shlib-versions: Likewise.
35701 2014-02-04  Roland McGrath  <roland@hack.frob.com>
35702             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35704         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
35705         (abilist-pattern): New variable, set to %-le.abilist.
35707         * Makerules (abilist-pattern): New variable.
35708         (vpath): Use $(abilist-pattern) in place of %.abilist.
35709         (check-abi-% pattern rule): Likewise.
35710         (check-abi, update-abi): Likewise.
35712 2014-02-04  Eric Wong  <normalperson@yhbt.net>
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35716 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
35718         * manual/startup.texi: Add next, previous, and top entries for
35719         the `Program Arguments' and `Environment Variables' nodes.
35721 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
35723         * manual/macros.texi: Add comments before MTASC-safety macros.
35725         * manual/users.texi: Document MTASC-safety properties.
35727         * manual/threads.texi (pthread_key_create, pthread_key_delete)
35728         (pthread_getspecific, pthread_setspecific): Format with
35729         @deftypefun, and add @safety note.
35730         * manual/signal.texi: Move comments that analyze the above
35731         functions to their home place.
35733 2014-02-03  Allan McRae  <allan@archlinux.org>
35735         * po/sl.po: Update Slovenian translation from translation project.
35737 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
35739         * manual/time.texi (timegm): Add missing blank after @c.
35740         Reported by Joseph Myers <joseph@codesourcery.com>.
35742 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
35744         * manual/check-safety.sh: New.
35745         * manual/Makefile ($(objpfx)stamp-summary): Run it.
35747         * manual/terminal.texi: Document MTASC-safety properties.
35749         * manual/filesys.texi: Document MTASC-safety properties.
35751         * manual/errno.texi: Document MTASC-safety properties.
35753         * manual/intro.texi: Document safety identifiers and
35754         conditionals.
35756         * manual/string.texi (wcstok): Fix prototype.
35757         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
35759         * manual/time.texi: Document MTASC-safety properties.
35761         * manual/string.texi: Document MTASC-safety properties.
35763         * manual/threads.texi: Document MTASC-safety properties.
35765         * manual/stdio.texi: Document MTASC-safety properties.
35767         * manual/syslog.texi: Document MTASC-safety properties.
35769         * manual/sysinfo.texi: Document MTASC-safety properties.
35771         * manual/startup.texi: Document MTASC-safety properties.
35773         * manual/socket.texi: Document MTASC-safety properties.
35775         * manual/signal.texi: Document MTASC-safety properties.
35777 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
35779         * manual/setjmp.texi: Document MTASC-safety properties.
35781         * manual/search.texi: Document MTASC-safety properties.
35783         * manual/resource.texi: Document MTASC-safety properties.
35785         * manual/process.texi: Document MTASC-safety properties.
35787         * manual/platform.texi: Document MTASC-safety properties.
35789         * manual/pipe.texi: Document MTASC-safety properties.
35791         * manual/pattern.texi: Document MTASC-safety properties.
35793         * manual/message.texi: Document MTASC-safety properties.
35795         [BZ #12751]
35796         * manual/memory.texi: Document MTASC-safety properties.
35798         * manual/math.texi: Document MTASC-safety properties.
35800         * manual/locale.texi: Document MTASC-safety properties.
35802         * manual/llio.texi: Document MTASC-safety properties.
35804         * manual/libdl.texi: New.
35806         * manual/lang.texi: Document MTASC-safety properties.
35808         * manual/job.texi: Document MTASC-safety properties.
35810         * manual/getopt.texi: Document MTASC-safety properties.
35812         * manual/ctype.texi: Document MTASC-safety properties.
35814 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
35816         [BZ #16046]
35817         * csu/libc-tls.c (static_map): Remove variable.
35818         (__libc_setup_tls): Use main executable's link map for TLS data.
35819         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
35820         casing for LM_ID_BASE and GL(dl_nns).
35821         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
35822         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
35823         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
35824         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
35825         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
35826         member.
35827         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35828         l_phnum members.
35830 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
35832         * manual/debug.texi: Document MTASC-safety properties.
35834 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
35836         [BZ #16510]
35837         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
35838         of __x86_64__ when disabling x87 inline functions.
35840 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
35842         * manual/charset.texi: Document MTASC-safety properties.
35844         * manual/crypt.texi: Document MTASC-safety properties.
35846         * manual/conf.texi: Document MTASC-safety properties.
35848         * manual/arith.texi: Document MTASC-safety properties.
35850         * manual/argp.texi: Document MTASC-safety properties.
35852         * manual/macros.texi: Introduce macros to document multi
35853         thread, asynchronous signal and asynchronous cancellation
35854         safety properties.
35855         * manual/intro.texi: Introduce the properties themselves.
35857 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35859         * sysdeps/sh/sh4/Makefile: New file.
35861 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35863         * math/gen-libm-test.pl ($srcdir): New variable.
35864         ($auto_input): Use it.
35866 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35868         [BZ #16506]
35869         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35870         access beyond array bounds when parsing netgroups file.
35872         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35873         the old buffer before realloc.
35875 2014-01-27  Allan McRae  <allan@archlinux.org>
35877         * po/fr.po: Update French translation from translation project.
35879 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35881         * sysdeps/sh/libm-test-ulps: Regenerate.
35883 2014-01-24  David S. Miller  <davem@davemloft.net>
35885         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35887 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35889         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35890         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35892 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35894         [BZ #16474]
35895         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35896         string pointers after reallocation.
35898 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35900         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35901         __SH4A__ instead of __SH_FPU_ANY__.
35903 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35905         * sysdeps/sh/fpu_control.h: New file.
35906         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35907         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35908         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35909         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35910         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35911         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35912         * sysdeps/sh/sys/ucontext.h: Remove.
35913         * sysdeps/sh/sys: Remove directory.
35915 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35917         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35918         s390/sys/ucontext.h.
35919         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35922 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35924         [BZ #15605]
35925         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35927 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35929         [BZ#16431]
35930         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35931         Adjust the vDSO correctly for internal calls.
35932         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35934 2014-01-20  Allan McRae  <allan@archlinux.org>
35936         * po/ca.po: Update Catalan translation from translation project.
35938 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35940         * sysdeps/s390/sotruss-lib.c: New file.
35942 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35944         [BZ#16430]
35945         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35946         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35947         local calls issues by not having a PLT stub required for IFUNC calls.
35948         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35950 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35952         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35953         * math/test-fpucw-static.c: Likewise.
35955 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35957         [BZ #16453]
35958         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35960 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35962         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35963         implementation for powerpc.
35965 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35967         [BZ #14782]
35968         * sysdeps/posix/system.c (__libc_system): Do not enable
35969         asynchronous cancellation.
35971 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35973         [BZ #16427]
35974         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35975         handling only for numbers special also in the IEEE case.
35977 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35979         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35981 2014-01-11  Allan McRae  <allan@archlinux.org>
35983         * po/bg.po: Update Bulgarian translation from translation project.
35985         * po/de.po: Update German translation from translation project.
35987 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35989         * sysdeps/generic/gcc-compat.h: New file.
35991 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35993         * benchtests/asin-inputs: Correct slow inputs.
35994         * benchtests/acos-inputs: Likewise.
35996 2014-01-10  Allan McRae  <allan@archlinux.org>
35998         * po:sv.po: Update Swedish translation from translation project.
36000         * po/vi.po: Update Vietnamese translation from translation project.
36002         * po/eo.po: Update Esperanto translation from translation project.
36004         * po/cs.po: Update Czech translation from translation project.
36006         * po/nl.po: Update Dutch translation from translation project.
36008         * po/pl.po: Update Polish translation from translation project.
36010         * po/ru.po: Update Russian translation from translation project.
36012         * po/uk.po: Update Ukrainian translation from translation project.
36014 2014-01-08  Brooks Moses  <bmoses@google.com>
36016         * elf/dl-load.c: Fix comment typo.
36018 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36020         * po/header.pot: Rename to...
36021         * po/pot.header: ... this.
36022         * po/Makefile: Use pot.header.
36024 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36025             Maxim Kuvyrkov  <maxim@kugelworks.com>
36027         [BZ #16394]
36028         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36029         SRC and DEST against LEN.
36031 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36033         [BZ #16414]
36034         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36035         implementation.
36036         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36038 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36042 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36044         [BZ #16408]
36045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36046         for large positive arguments.
36048 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36050         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36052         * math/auto-libm-test-in: Mark various tests with
36053         xfail-rounding:ldbl-128ibm.
36054         * math/auto-libm-test-out: Regenerated.
36056         [BZ #16407]
36057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36058         Increase overflow threshold.
36060 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36062         [BZ #14286]
36063         * stdio-common/vfprintf.c: Check for integer overflow.
36065 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36067         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36068         the first argument and return value of __tls_get_addr_internal.
36070 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36072         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36073         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36075 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36077         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36078         * sysdeps/s390/rtld-global-offsets.sym: New file.
36079         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36080         GLIBC_2.19 symbol.
36081         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36082         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36083         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36084         ... this.
36085         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36086         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36087         ... this.
36088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36089         Regenerate.
36090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36091         Regenerate.
36092         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36093         halfs of GPRs for high_gprs contexts.
36094         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36095         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36096         field.
36097         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36098         uc_flags field.
36099         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36100         64 bit versions:
36101         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36102         for high GPRs (uc_high_gprs) and for future extensions
36103         (__reserved).
36104         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36105         for future extensions (__reserved).
36106         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36107         64 bit versions:
36108         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36109         SC_HIGHGPRS offset definition.
36110         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36111         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36113         * Versions.def: Add GLIBC_2.19 for libpthread.
36114         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36115         siglongjmp for libpthread with GLIBC_2.19 symver.
36116         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36117         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36118         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36119         * sysdeps/s390/__longjmp.c: New file.
36120         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36121         * sysdeps/s390/longjmp.c: New file.
36122         * sysdeps/s390/setjmp.S: New file.
36123         * sysdeps/s390/sigjmp.S: New file.
36124         * sysdeps/s390/v1-longjmp.c: New file.
36125         * sysdeps/s390/v1-setjmp.h: New file.
36126         * sysdeps/s390/v1-sigjmp.c: New file.
36127         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36128         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36129         GLIBC_2.19 version.
36130         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36131         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36132         versioned symbols for ____longjmp_chk.
36133         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36134         Likewise.
36135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36136         Regenerate.
36137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36138         Regenerate.
36139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36140         Regenerate.
36141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36142         Regenerate.
36143         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36144         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36145         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36146         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36147         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36148         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36149         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36150         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36151         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36152         * sysdeps/s390/rtld-__longjmp.c: New file.
36153         * sysdeps/s390/rtld-setjmp.S: New file.
36155 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36157         [BZ #16400]
36158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36159         Return -__logl (x) for small positive arguments without evaluating
36160         a polynomial.
36162 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36164         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36165         Rename to ...
36166         (__ptrace_peeksiginfo_args): ... this.
36167         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36168         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36169         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36171 2014-01-06  Allan McRae  <allan@archlinux.org>
36173         * inet/netinet/in.h: Fix typo in comment.
36175 2014-01-05  Andreas Jaeger  <aj@suse.de>
36177         * sysdeps/i386/fpu/libm-test-ulps: Update.
36179 2014-01-05  Allan McRae  <allan@archlinux.org>
36181         * po/libc.pot: Regenerated.
36183         * malloc/memusagestat.c: Fix gettext call formatting.
36185 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36187         * nscd/nscd.c: Improve usage() output.
36189 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36191         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36192         * sysdeps/unix/sysv/linux/configure: Regenerated.
36193         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36194         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36198         [BZ #16390]
36199         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36200         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36202 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36205         extra tokens at end of #undef directive.
36206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36207         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36208         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36210 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36212         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36214         * math/auto-libm-test-in: Mark various tests with
36215         xfail-rounding:ldbl-128ibm.
36216         * math/auto-libm-test-out: Regenerated.
36218 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36220         [BZ #16386]
36221         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36222         numbers with subnormal high part when calculating exponent.
36224         [BZ #16385]
36225         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36226         fabs.
36228         [BZ #16384]
36229         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36230         M_LN2l.
36231         (__ieee754_acoshl): Use __log1pl not __log1p.
36233 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36235         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36236         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36237         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36238         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36239         (reused_arena, arena_get2): Convert to GNU style.
36240         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36241         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36242         (memalign_check, __malloc_set_state): Likewise.
36243         * malloc/mallocbug.c (main): Likewise.
36244         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36245         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36246         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36247         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36248         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36249         (__posix_memalign, malloc_info): Likewise.
36250         * malloc/malloc.h: Likewise.
36251         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36252         (mallochook, memalignhook, reallochook, mabort): Likewise.
36253         * malloc/mcheck.h: Likewise.
36254         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36255         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36256         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36257         * malloc/morecore.c (__default_morecore): Likewise.
36258         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36259         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36260         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36261         (print_and_abort): Likewise.
36262         * malloc/obstack.h: Likewise.
36263         * malloc/set-freeres.c (__libc_freeres): Likewise.
36264         * malloc/tst-mallocstate.c (main): Likewise.
36265         * malloc/tst-mtrace.c (main): Likewise.
36266         * malloc/tst-realloc.c (do_test): Likewise.
36268 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36270         [BZ #16366]
36271         * nscd/netgroupcache.c (do_notfound): New function.
36272         (addgetnetgrentX): Use it.
36274         [BZ # 16365]
36275         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36276         NSS_STATUS_NOTFOUND.
36278 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36280         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36283 2014-01-01  Allan McRae  <allan@archlinux.org>
36285         * scripts/update-copyrights: Update configure input file suffix.
36287         * NEWS: Update copyright year.
36288         * catgets/gencat.c: Likewise.
36289         * csu/version.c: Likewise.
36290         * debug/catchsegv.sh: Likewise.
36291         * debug/pcprofiledump.c: Likewise.
36292         * debug/xtrace.sh: Likewise.
36293         * elf/ldconfig.c: Likewise.
36294         * elf/ldd.bash.in: Likewise.
36295         * elf/pldd.c: Likewise.
36296         * elf/sotruss.ksh: Likewise.
36297         * elf/sprof.c: Likewise.
36298         * iconv/iconv_prog.c: Likewise.
36299         * iconv/iconvconfig.c: Likewise.
36300         * locale/programs/locale.c: Likewise.
36301         * locale/programs/localedef.c: Likewise.
36302         * login/programs/pt_chown.c: Likewise.
36303         * malloc/memusage.sh: Likewise.
36304         * malloc/memusagestat.c: Likewise.
36305         * malloc/mtrace.pl: Likewise.
36306         * manual/libc.texinfo: Likewise.
36307         * nscd/nscd.c: Likewise.
36308         * nss/getent.c: Likewise.
36309         * nss/makedb.c: Likewise.
36310         * posix/getconf.c: Likewise.
36311         * scripts/test-installation.pl: Likewise.
36313         * All files with FSF copyright notices: Update copyright dates
36314         using scripts/update-copyrights.
36315         * intl/plural.c: Regenerated.
36316         * locale/programs/charmap-kw.h: Likewise.
36317         * locale/programs/locfile-kw.h: Likewise.
36319 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36321         * sysdeps/unix/sysv/linux/configure: Regenerated.
36322         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36323         the linux/fanotify.h header.
36324         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
36325         HAVE_LINUX_FANOTIFY_H is defined.
36327 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36329         * benchtests/cos-inputs: New inputs.
36330         * benchtests/sin-inputs: Likewise.
36332         * benchtests/atan-inputs: New inputs. Fix name of multiple
36333         precision fallback inputs.
36335         * benchtests/atanh-inputs: New inputs.
36336         * benchtests/tanh-inputs: Likewise.
36338         * benchtests/acosh-inputs: New inputs.
36339         * benchtests/asinh-inputs: Likewise.
36341         * benchtests/cosh-inputs: New inputs.
36342         * benchtests/sinh-inputs: Likewise.
36344         * benchtests/acos-inputs: Add more inputs.
36345         * benchtests/asin-inputs: Likewise.
36347 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
36349         [BZ #16375]
36350         * manual/arith.texi: Fix spelling.
36351         * manual/charset.texi: Likewise.
36352         * manual/errno.texi: Likewise.
36353         * manual/filesys.texi: Likewise.
36354         * manual/lang.texi: Likewise.
36355         * manual/llio.texi: Likewise.
36356         * manual/locale.texi: Likewise.
36357         * manual/message.texi: Likewise.
36358         * manual/resource.texi: Likewise.
36359         * manual/search.texi: Likewise.
36360         * manual/setjmp.texi: Likewise.
36361         * manual/stdio.texi: Likewise.
36362         * manual/string.texi: Likewise.
36363         * manual/sysinfo.texi: Likewise.
36364         * manual/time.texi: Likewise.
36366 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
36368         * po/sl.po: New file.
36370 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
36372         * .gitignore: Add core/.gdbinit/.gdb_history.
36374 2013-12-27  Allan McRae  <allan@archlinux.org>
36376         [BZ #16369]
36377         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
36378         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
36380 2013-12-24  Brooks Moses  <bmoses@google.com>
36382         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36383         all compilers that claim C++98 compliance, not just GCC.
36384         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36385         Likewise.
36387 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36389         * NEWS: Restore accidentally deleted bug-fix entries.
36391 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
36392             Ondřej Bílka  <neleai@seznam.cz>
36394         [BZ #15073]
36395         * malloc/malloc.c (_int_free): Perform sanity check only if we
36396         have_lock.
36398 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
36400         [BZ #12986]
36401         * manual/stdio.texi (String Input Conversions): Clarify that character
36402         classes are not supported.
36404 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36408 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
36410         [BZ #16337]
36411         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36412         Calculate results for small negative arguments directly rather
36413         than using reflection formula with special underflow handling.
36415         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
36416         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
36417         sysdeps/unix/bsd/bsd4.4/syscalls.list.
36418         (fchflags): Likewise.
36419         (revoke): Likewise.
36420         (setlogin): Likewise.
36421         (sigaltstack): Likewise.
36422         (wait4): Likewise.
36423         (sigblock): Remove.
36424         (sigsetmask): Likewise.
36425         (wait3): Likewise.
36426         (waitpid): Likewise.
36427         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
36428         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
36429         file.
36430         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
36431         * sysdeps/unix/bsd/Makefile: ... here.
36432         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
36433         * sysdeps/unix/bsd/Versions: ... here.
36434         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
36435         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
36436         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
36437         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
36438         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
36439         * sysdeps/unix/bsd/sigblock.c: ... here.
36440         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
36441         * sysdeps/unix/bsd/sigsetmask.c: ... here.
36442         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
36443         * sysdeps/unix/bsd/sigvec.c: ... here.
36444         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
36445         * sysdeps/unix/bsd/tcdrain.c: ... here.
36446         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
36447         * sysdeps/unix/bsd/tcgetattr.c: ... here.
36448         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
36449         * sysdeps/unix/bsd/tcsetattr.c: ... here.
36450         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
36451         * sysdeps/unix/bsd/wait.c: ... here.
36452         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
36453         * sysdeps/unix/bsd/wait3.c: ... here.
36454         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
36455         * sysdeps/unix/bsd/waitpid.c: ... here.
36457 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
36459         [BZ #16356]
36460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
36461         round-to-nearest for [!USE_AS_EXPM1L].
36462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
36463         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
36464         more tests of exp and exp10.  Expect some exp10 tests to miss
36465         exceptions or fail in directed rounding modes.
36466         * math/auto-libm-test-out: Regenerated.
36467         * math/libm-test.inc (exp10_tonearest_test_data): New array.
36468         (exp10_test_tonearest): New function.
36469         (exp10_towardzero_test_data): New array.
36470         (exp10_test_towardzero): New function.
36471         (exp10_downward_test_data): New array.
36472         (exp10_test_downward): New function.
36473         (exp10_upward_test_data): New array.
36474         (exp10_test_upward): New function.
36475         (main): Call the new functions.
36476         * sysdeps/i386/fpu/libm-test-ulps: Update.
36477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36479 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
36481         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
36482         asinh, atan, atan2, atanh, cbrt, cos and cosh.
36483         * math/auto-libm-test-out: Regenerated.
36484         * math/libm-test.inc (acosh_test_data): Add more tests.
36485         (atanh_test_data): Likewise.
36486         (ceil_test_data): Likewise.
36487         (copysign_test_data): Likewise.
36488         * sysdeps/i386/fpu/libm-test-ulps: Update.
36489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36491         * timezone/checktab.awk: Update from tzcode 2013i.
36492         * timezone/private.h: Likewise.
36493         * timezone/scheck.c: Likewise.
36494         * timezone/tzfile.h: Likewise.
36495         * timezone/tzselect.ksh: Likewise.
36496         * timezone/zdump.c: Likewise.
36497         * timezone/zic.c: Likewise.
36499         * math/auto-libm-test-in: Add tests of cpow.
36500         * math/auto-libm-test-out: Regenerated.
36501         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
36502         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36503         mpc_cc_c.
36504         (func_calc_desc): Add mpc_cc_c union field.
36505         (test_functions): Add cpow.
36506         (special_fill_2pi): New function.
36507         (special_real_inputs): Add 2pi.
36508         (calc_generic_results): Handle mpc_cc_c.
36509         * sysdeps/i386/fpu/libm-test-ulps: Update.
36510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36512         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
36513         csqrt, ctan and ctanh.
36514         * math/auto-libm-test-out: Regenerated.
36515         * math/libm-test.inc (TEST_COND_x86_64): New macro.
36516         (TEST_COND_x86): Likewise.
36517         (ccos_test_data): Use AUTO_TESTS_c_c.
36518         (ccosh_test_data): Likewise.
36519         (cexp_test_data): Likewise.
36520         (clog_test_data): Likewise.
36521         (csqrt_test_data): Likewise.
36522         (ctan_test_data): Likewise.
36523         (ctan_tonearest_test_data): Likewise.
36524         (ctan_towardzero_test_data): Likewise.
36525         (ctan_downward_test_data): Likewise.
36526         (ctan_upward_test_data): Likewise.
36527         (ctanh_test_data): Likewise.
36528         (ctanh_tonearest_test_data): Likewise.
36529         (ctanh_towardzero_test_data): Likewise.
36530         (ctanh_downward_test_data): Likewise.
36531         (ctanh_upward_test_data): Likewise.
36532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36533         mpc_c_c.
36534         (func_calc_desc): Add mpc_c_c union field.
36535         (FUNC_mpc_c_c): New macro.
36536         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
36537         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
36538         ctanh.
36539         (special_fill_min_subnorm_p120): New function.
36540         (special_real_inputs): Add min_subnorm_p120.
36541         (calc_generic_results): Handle mpc_c_c.
36542         * sysdeps/i386/fpu/libm-test-ulps: Update.
36543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36545 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36547         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
36548         (do_sin_slow): New functions.
36549         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
36550         (cslow2, csloww1, csloww2): Use the new functions.
36552         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
36553         Use M to change sign of result instead of X.  Assume X is
36554         positive.
36555         (csloww1): Likewise.
36556         (__sin): Adjust.
36557         (__cos): Adjust.
36559         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
36560         arguments A and DA.
36561         (__sin): Adjust.
36562         (__cos): Likewise.
36564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
36565         (__cos): Likewise.
36566         (sloww1): Don't adjust sign of DX.
36567         (csloww1): Likewise.
36568         (sloww2): Use X directly and don't adjust sign of DX.
36569         (csloww2): Likewise.
36571 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36573         * math/auto-libm-test-in: Add tests of cabs and carg.
36574         * math/auto-libm-test-out: Regenerated.
36575         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
36576         (carg_test_data): Likewise.
36577         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36578         mpc_c_f.
36579         (func_calc_desc): Add mpc_c_f union field.
36580         (test_functions): Add cabs and carg.
36581         (calc_generic_results): Handle mpc_c_f.
36583         * sysdeps/powerpc/powerpc32/libgcc-compat.S
36584         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
36585         as a macro and a compat symbol.
36586         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
36587         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
36588         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
36589         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
36590         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
36591         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
36592         not use .hidden.
36593         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
36594         Likewise.
36595         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
36596         Likewise.
36597         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
36598         Likewise.
36599         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
36600         Likewise.
36601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
36602         Likewise.
36603         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
36604         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
36605         from GLIBC_2.3.2.
36607 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36611 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36613         * manual/texinfo.tex: Update to version 2013-11-26.10 with
36614         trailing whitespace removed.
36615         * scripts/config.guess: Update to version 2013-11-29.
36616         * scripts/config.sub: Update to version 2013-10-01.
36618         * math/auto-libm-test-in: Add tests of sincos.
36619         * math/auto-libm-test-out: Regenerated.
36620         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
36621         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36622         mpfr_f_11.
36623         (func_calc_desc): Add mpfr_f_11 union field.
36624         (test_functions): Add sincos.
36625         (calc_generic_results): Handle mpfr_f_11.
36626         * sysdeps/i386/fpu/libm-test-ulps: Update.
36627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36629 2013-12-19  Andreas Schwab  <schwab@suse.de>
36631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
36632         CALL_MCOUNT.
36633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36634         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
36635         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
36637 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
36639         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
36640         * sysdeps/i386/fpu/libm-test-ulps: Update.
36641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36643         [BZ #16293]
36644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
36645         round-to-nearest mode when using frndint.
36646         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
36647         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36649         Likewise.
36650         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
36651         sinh test to fail.
36652         * math/auto-libm-test-out: Regenerated.
36653         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
36654         (TEST_COND_x86): Likewise.
36655         (expm1_tonearest_test_data): New array.
36656         (expm1_test_tonearest): New function.
36657         (expm1_towardzero_test_data): New array.
36658         (expm1_test_towardzero): New function.
36659         (expm1_downward_test_data): New array.
36660         (expm1_test_downward): New function.
36661         (expm1_upward_test_data): New array.
36662         (expm1_test_upward): New function.
36663         (main): Run the new test functions.
36664         * sysdeps/i386/fpu/libm-test-ulps: Update.
36665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36667         * include/features.h: Update comment documenting feature test
36668         macros.  Mention _DEFAULT_SOURCE in comment.
36669         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
36670         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
36671         _BSD_SOURCE and _SVID_SOURCE.
36672         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
36673         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
36674         !_SVID_SOURCE]: Likewise.
36675         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36676         (__USE_POSIX_IMPLICITLY): Define.
36677         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36678         (_POSIX_SOURCE): Undefine and redefine.
36679         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
36680         (_POSIX_C_SOURCE): Likewise.
36681         * manual/creature.texi (_DEFAULT_SOURCE): Document.
36682         (Feature Test Macros): Update documentation of default features.
36684 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36686         * benchtests/Makefile: Add bench-strtok.
36687         * benchtests/bench-strtok.c: New file: strtok benchtest.
36689 2013-12-19  Allan McRae  <allan@archlinux.org>
36691         * manual/install.texi: Suppress menu for plain text output.
36692         * INSTALL: Regenerated.
36694 2013-12-18  Brooks Moses  <bmoses@google.com>
36696         [BZ #15846]
36697         * misc/getauxval.c: Include errno.h.
36698         (__getauxval): Set errno to ENOENT if the requested type is not
36699         found.
36700         * misc/sys/auxv.h (getauxval): Document that it may set errno;
36701         don't declare with __attribute_const__.
36702         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
36703         * manual/startup.texi: Document that getauxval sets errno.
36705 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36707         * math/auto-libm-test-in: Add tests of jn and yn.
36708         * math/auto-libm-test-out: Regenerated.
36709         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
36710         (yn_test_data): Likewise.
36711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36712         mpfr_if_f.
36713         (func_calc_desc): Add mpfr_if_f union field.
36714         (FUNC_mpfr_if_f): New macro.
36715         (test_functions): Add jn and yn.
36716         (calc_generic_results): Assert type of second input for
36717         mpfr_ff_f.  Handle mpfr_if_f.
36718         (output_for_one_input_case): Disable all checking for arguments
36719         fitting floating-point types in case of an integer argument.
36720         * sysdeps/i386/fpu/libm-test-ulps: Update.
36721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36724         Don't expect fegetround reference in libm.so.
36726 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36728         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
36729         $(config-cflags-nofma).
36731 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
36733         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
36734         * math/auto-libm-test-out: Regenerated.
36736         [BZ #16338]
36737         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
36738         to determine exponent and adjust argument to have exponent of -1.
36739         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
36740         log2.
36741         * math/auto-libm-test-out: Regenerated.
36742         * sysdeps/i386/fpu/libm-test-ulps: Update.
36743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36745 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
36747         * manual/probes.texi: Remove cases when per-thread arenas are
36748         disabled.
36750 2013-12-18  Andreas Schwab  <schwab@suse.de>
36752         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
36753         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
36754         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
36755         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
36756         * sysdeps/i386/i686/multiarch/Makefile: Update.
36757         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
36759 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36761         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
36762         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
36764 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
36766         [BZ #15968]
36767         Support TZ transition times < 00:00:00.
36768         This is needed for version-3 tz-format files; it supports time
36769         stamps past 2037 for America/Godthab (the only entry in the tz
36770         database for which this change is relevant).
36771         * manual/time.texi (TZ Variable): Document transition times
36772         from -167:59:59 through -00:00:01.
36773         * time/tzset.c (tz_rule): Time of day is now signed.
36774         (__tzset_parse_tz): Parse negative time of day.
36776         Document TZ transition times >= 25:00:00.
36777         * manual/time.texi (TZ Variable): Document transition times from
36778         25:00:00 through 167:59:59.  These are already supported, and this
36779         support will help with version-3 tz-format files.
36781         * manual/time.texi (TZ Variable): Modernize North America example
36782         to reflect current (i.e., 2007-and-later) daylight saving rules.
36784         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
36786 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36788         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
36789         * sysdeps/unix/bsd/bits/stat.h: Likewise.
36790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
36791         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36792         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
36793         * sysdeps/unix/bsd/bsdstat.h: Likewise.
36794         * sysdeps/unix/bsd/clock.c: Likewise.
36795         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
36796         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
36797         * sysdeps/unix/bsd/init-posix.c: Likewise.
36798         * sysdeps/unix/bsd/poll.c: Likewise.
36799         * sysdeps/unix/bsd/ptsname.c: Likewise.
36800         * sysdeps/unix/bsd/seekdir.c: Likewise.
36801         * sysdeps/unix/bsd/setegid.c: Likewise.
36802         * sysdeps/unix/bsd/seteuid.c: Likewise.
36803         * sysdeps/unix/bsd/setgid.c: Likewise.
36804         * sysdeps/unix/bsd/setrgid.c: Likewise.
36805         * sysdeps/unix/bsd/setruid.c: Likewise.
36806         * sysdeps/unix/bsd/setsid.c: Likewise.
36807         * sysdeps/unix/bsd/setuid.c: Likewise.
36808         * sysdeps/unix/bsd/sigaction.c: Likewise.
36809         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
36810         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
36811         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
36812         * sysdeps/unix/bsd/telldir.c: Likewise.
36813         * sysdeps/unix/bsd/times.c: Likewise.
36814         * sysdeps/unix/bsd/usleep.c: Likewise.
36816         * misc/Makefile (install-lib): Remove libbsd-compat.a.
36817         ($(objpfx)libbsd-compat.a): Remove rule.
36819         * include/features.h (__FAVOR_BSD): Do not define.
36820         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
36821         features conflicting with POSIX.
36822         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
36823         (_BSD_SOURCE): Remove description of not being a subset of other
36824         feature test macros.
36825         * manual/job.texi (getpgrp): Do not document BSD version.
36826         (getpgid): Do not document by reference to BSD getpgrp.
36827         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
36828         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
36829         * signal/signal.h [__FAVOR_BSD]: Likewise.
36830         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
36831         instead of making contents conditional on [__FAVOR_BSD].
36832         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
36834 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36838 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
36840         [BZ #16314]
36841         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
36842         values below 2**-450, not 2**-500.
36843         * math/auto-libm-test-in: Don't allow spurious underflow from
36844         hypot.
36845         * math/auto-libm-test-out: Regenerated.
36847         [BZ #16316]
36848         [BZ #16330]
36849         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
36850         values of ha and hb and sort them after adjusting subnormal
36851         arguments.
36852         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36853         Likewise.
36854         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36855         values of ea and eb and sort them after adjusting subnormal
36856         arguments.
36857         * math/auto-libm-test-in: Do not expect some hypot tests of
36858         subnormals to fail.  Add more hypot tests.
36859         * math/auto-libm-test-out: Regenerated.
36861 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36863         [BZ #13304]
36864         * sysdeps/sh/s_fma.c: New file.
36865         * sysdeps/sh/s_fmaf.c: New file.
36866         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36867         version.
36868         * sysdeps/sh/Implies: Add sh/soft-fp.
36870 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36872         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36873         level of indirection to members `objname', `errstring', `malloced'.
36874         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36875         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36876         it as the __longjmp argument (just pass 1 instead).
36877         (_dl_catch_error): Initialize C with argument pointers and address of
36878         volatile local ERRCODE rather than copying values out of C at return.
36880 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36882         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36883         * math/auto-libm-test-out: Regenerated.
36884         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36885         (hypot_test_data): Likewise.
36886         (pow_test_data): Likewise.
36887         (pow_tonearest_test_data): Likewise.
36888         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36889         mpfr_ff_f.
36890         (func_calc_desc): Add mpfr_ff_f union field.
36891         (FUNC_mpfr_ff_f): New macro.
36892         (test_functions): Add atan2, hypot and pow.
36893         (special_fill_min): New function.
36894         (special_fill_minus_min): Likewise.
36895         (special_fill_min_subnorm): Likewise.
36896         (special_fill_minus_min_subnorm): Likewise.
36897         (special_real_inputs): Add min, -min, min_subnorm and
36898         -min_subnorm.
36899         (calc_generic_results): Handle mpfr_ff_f.
36900         * sysdeps/i386/fpu/libm-test-ulps: Update.
36901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36903 2013-12-16  Will Newton  <will.newton@linaro.org>
36905         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36906         (Aligned Memory Blocks): Add documentation for aligned_alloc
36907         and suggest it as an alternative to posix_memalign.
36908         (Hooks for Malloc): Document __memalign_hook is also called
36909         for aligned_alloc.  (Summary of Malloc): Add summary for
36910         aligned alloc.  Document __memalign_hook is also called
36911         for aligned_alloc.
36913 2013-12-16  Will Newton  <will.newton@linaro.org>
36915         * manual/memory.texi (Malloc Examples): Clarify default
36916         alignment documentation.  Suggest posix_memalign rather
36917         than memalign or valloc.
36918         (Aligned Memory Blocks): Remove suggestion to use memalign
36919         or valloc.  Remove obsolete comment about BSD.
36920         Document memalign errno values and mark the function obsolete.
36921         Document posix_memalign returned error codes.  Mark valloc
36922         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36923         called for posix_memalign and valloc.
36924         (Summary of Malloc): Add posix_memalign to function summary.
36925         __memalign_hook is also called for posix_memalign and valloc.
36927 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36929         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36930         TAYLOR_SIN.
36931         (__sin): Adjust.
36932         (__cos): Likewise.
36933         (sloww): Use mynumber union.  Expand ternary operator into
36934         if-else statements.
36935         (cslow): use mynumber union.
36937 2013-12-16  Allan McRae  <allan@archlinux.org>
36939         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36940         * configure: Regenerated.
36942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36944         [BZ #14120]
36945         * configure.ac: Added --enable-maintainer-mode. Check for
36946         autoconf when enabled.
36947         * configure: Regenerated.
36949         * nscd/nscd.service: New file.
36950         * nscd/nscd.tmpfiles: New file.
36952 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36954         [BZ #12100]
36955         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36956         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36957         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36958         (strstr): Add __strstr_sse2_unaligned ifunc.
36959         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36960         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36961         (strcasestr): Remove __strcasestr_sse42 ifunc.
36962         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36966 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36968         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36969         * sysdeps/sh/bits/fenv.h: ... here.
36970         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36972 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36974         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36977         hypotf multiarch implementations.
36978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36980         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36981         multiarch hypot for PPC64.
36982         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36983         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36984         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36985         multiarch hypotf for PPC64.
36987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36988         modff multiarch implementations.
36989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36992         multiarch modf for PPC64.
36993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36996         multiarch modff for PPC64.
36998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36999         and logl multiarch implementations.
37000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37003         multiarch logb for PPC64.
37004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37007         multiarch logb for PPC64.
37008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37011         multiarch logb for PPC64.
37013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37014         isinff multiarch implementation.
37015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37016         file.
37017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37019         multiarch isinf for PPC64.
37020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37021         file.
37022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37023         multiarch isinff for PPC64.
37025         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37026         finitef multiarch implementation.
37027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37028         file.
37029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37031         multiarch finite for PPC64.
37032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37033         file.
37034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37035         multiarch finitef for PPC64.
37037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37038         lrint multiarch implementation.
37039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37040         file.
37041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37043         multiarch llrint for PPC64.
37044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37045         multiarch lrint for PPC64.
37047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37048         copysignf multiarch implementation.
37049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37050         file.
37051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37052         file.
37053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37054         multiarch copysign for PPC64.
37055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37056         multiarch copysignf for PPC64.
37058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37059         multiarch implementation.
37060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37061         file.
37062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37063         file.
37064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37065         file.
37066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37067         file.
37068         multiarch llround for PPC64.
37069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37070         multiarch trunc for PPC64.
37071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37072         multiarch truncf for PPC64.
37074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37075         multiarch implementation.
37076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37077         file.
37078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37079         file.
37080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37081         file.
37082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37083         file.
37084         multiarch llround for PPC64.
37085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37086         multiarch round for PPC64.
37087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37088         multiarch roundf for PPC64.
37090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37091         multiarch implementation.
37092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37093         file.
37094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37095         file.
37096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37097         file.
37098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37099         file.
37100         multiarch llround for PPC64.
37101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37102         multiarch floor for PPC64.
37103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37104         multiarch floorf for PPC64.
37106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37107         multiarch implementation.
37108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37109         file.
37110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37111         file.
37112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37113         file.
37114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37115         file.
37116         multiarch llround for PPC64.
37117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37118         multiarch ceil for PPC64.
37119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37120         multiarch ceilf for PPC64.
37122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37123         multiarch implementation.
37124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37125         file.
37126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37127         file.
37128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37129         file.
37130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37131         multiarch llround for PPC64.
37132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37133         multiarch lround for PPC64.
37135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37136         multiarch implementation.
37137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37140         file.
37141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37144         multiarch isnan for PPC64.
37145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37146         multiarch isnanf for PPC64.
37148         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37149         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37150         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37151         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37152         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37155         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37156         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37158         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37161         multiarch implementations.
37162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37163         (__libc_ifunc_impl_list): Likewise.
37164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37166         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37167         multiarch stpcpy for PPC64.
37169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37170         multiarch implementations.
37171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37172         (__libc_ifunc_impl_list): Likewise.
37173         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37174         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37175         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37176         multiarch strcpy for PPC64.
37178         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37179         redefine function name.
37180         (_wordcopy_fwd_dest_aligned): Likewise.
37181         (_wordcopy_bwd_aligned): Likewise.
37182         (_wordcopy_bwd_dest_aligned): Likewise.
37183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37184         multiarch implementations.
37185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37186         (__libc_ifunc_impl_list): Likewise.
37187         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37191         multiarch wcscpy for PPC64.
37193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37194         multiarch implementations.
37195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37196         (__libc_ifunc_impl_list): Likewise.
37197         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37199         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37200         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37201         multiarch wcscpy for PPC64.
37203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37204         multiarch implementations.
37205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37206         (__libc_ifunc_impl_list): Likewise.
37207         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37208         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37209         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37210         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37211         multiarch wcsrchr for PPC64.
37213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37214         multiarch implementations.
37215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37216         (__libc_ifunc_impl_list): Likewise.
37217         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37218         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37219         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37220         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37221         multiarch wcschr for PPC64.
37223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37224         multiarch implementations.
37225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37226         (__libc_ifunc_impl_list): Likewise.
37227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37228         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37229         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37230         multiarch strchrnul for PPC64.
37232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37233         implementations.
37234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37235         (__libc_ifunc_impl_list): Likewise.
37236         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37237         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37238         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37239         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37240         strchr for PPC64.
37242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37243         implementations.
37244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37245         (__libc_ifunc_impl_list): Likewise.
37246         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37247         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37248         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37249         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37250         strncmp for PPC64.
37252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37253         multiarch implementations.
37254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37255         (__libc_ifunc_impl_list): Likewise.
37256         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37257         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37258         strncasecmp for PPC64.
37259         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37260         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37261         multiarch strncasecmp_l for PPC64.
37263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37264         multiarch implementations.
37265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37266         (__libc_ifunc_impl_list): Likewise.
37267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37269         multiarch strcasecmp for PPC64.
37270         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37271         file.
37272         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37273         multiarch strcasecmp_l for PPC64.
37275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37276         implementations.
37277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37278         (__libc_ifunc_impl_list): Likewise.
37279         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37280         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37281         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37282         strnlen for PPC64.
37284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37285         implementations.
37286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37287         (__libc_ifunc_impl_list): Likewise.
37288         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37289         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37290         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37291         strlen for PPC64.
37293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37294         implementations.
37295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37296         (__libc_ifunc_impl_list): Likewise.
37297         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37298         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37299         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37300         rawmemrchr for PPC64.
37302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37303         implementation.
37304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37305         (__libc_ifunc_impl_list): Likewise.
37306         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37307         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37308         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37309         memrchr for PPC64.
37311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37312         implementation.
37313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37314         (__libc_ifunc_impl_list): Likewise.
37315         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37316         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37317         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37318         memchr for PPC64.
37320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37321         implementation.
37322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37323         (__libc_ifunc_impl_list): Likewise.
37324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
37325         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
37326         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
37327         mempcpy for PPC64.
37329         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
37330         avoid cretion of __bzero symbol.
37331         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
37332         Likewise.
37333         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
37334         Likewise.
37335         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
37336         Likewise.
37337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
37338         multiarch implementations.
37339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37340         (__libc_ifunc_impl_list): Likewise.
37341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
37342         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
37343         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
37344         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
37345         bzero for PPC32.
37346         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
37347         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
37348         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
37349         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
37350         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
37351         memset for PPC64.
37352         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
37354         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
37355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
37356         implementations.
37357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37358         (__libc_ifunc_impl_list): Likewise.
37359         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
37360         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37361         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
37362         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
37363         memcmp for PPC64.
37365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
37366         multiarch for POWER/PPC64.
37367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
37368         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
37369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
37370         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
37371         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
37372         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
37373         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
37374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
37375         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
37376         memcpy for PPC64.
37378         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
37379         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
37380         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
37381         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
37382         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
37383         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
37384         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
37385         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
37386         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
37387         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
37388         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
37389         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
37390         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
37391         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
37392         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
37394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
37396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
37397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
37398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
37401 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37403         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
37405 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37407         * benchtests/Makefile (bench): Add exp2 and log2.
37408         (LDLIBS-bench-exp2): Add -lm.
37409         (LDLIBS-bench-log2): Likewise.
37410         * benchtests/exp2-inputs: New inputs file.
37411         * benchtests/log2-inputs: New inputs file.
37412         * benchtests/log-inputs: Add new inputs.
37413         * benchtests/tan-inputs: Likewise.
37415 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37417         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
37418         definition...
37419         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
37420         (csloww2): ... from here.
37422         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
37423         instead of structures.
37424         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
37425         (POLYNOMIAL): Likewise.
37426         (TAYLOR_SLOW): Likewise.
37427         (__sin): Likewise.
37428         (__cos): Likewise.
37429         (slow1): Likewise.
37430         (slow2): Likewise.
37431         (sloww): Likewise.
37432         (sloww1); Likewise.
37433         (sloww2): Likewise.
37434         (bsloww1): Likewise.
37435         (bsloww2): Likewise.
37436         (cslow2): Likewise.
37437         (csloww): Likewise.
37438         (csloww1): Likewise.
37439         (csloww2): Likewise.
37441 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
37443         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
37444         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
37445         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
37446         * malloc/hooks.c (realloc_check): Likewise.
37448         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
37449         * malloc/arena.c: Remove PER_THREAD conditional.
37450         [!PER_THREAD]: Remove code.
37451         (ptmalloc_unlock_all2): Likewise.
37452         (ptmalloc_init): Likewise.
37453         (_int_new_arena): Likewise.
37454         (arena_get2): Likewise.
37455         * malloc/hooks.c (__malloc_get_state): Likewise.
37456         (__malloc_set_state): Likewise.
37457         * malloc/malloc.c: Likewise.
37458         (struct malloc_state): Likewise.
37459         (struct malloc_par): Likewise.
37460         (__libc_realloc): Likewise.
37461         (__libc_mallopt): Likewise.
37463 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37465         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
37467 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
37469         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
37470         macro to a function.  Check for zero perturb_byte.
37471         (_int_malloc, _int_free): Remove zero perturb_byte checks.
37473         * malloc/malloc.c: (force_reg): Remove.
37474         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
37475         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
37476         force_reg by atomic_forced_read.
37477         * malloc/arena.c (ptmalloc_init): Likewise.
37478         * malloc/hooks.c (top_check): Likewise.
37480 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37484 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
37486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37488 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
37490         * math/auto-libm-test-in: Add tests of lgamma.
37491         * math/auto-libm-test-out: Regenerated.
37492         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
37493         (M_LOG_2_SQRT_PIl): Likewise.
37494         (lgamma_test_data): Use AUTO_TESTS_f_f1.
37495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37496         mpfr_f_f1.
37497         (func_calc_desc): Add mpfr_f_f1 union field.
37498         (ARGS1): New macro.
37499         (ARGS2): Likewise.
37500         (ARGS3): Likewise.
37501         (ARGS4): Likewise.
37502         (RET1): Likewise.
37503         (RET2): Likewise.
37504         (CALC): Likewise.
37505         (FUNC): Likewise.
37506         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
37507         (test_functions): Add lgamma.
37508         (calc_generic_results): Handle mpfr_f_f1.
37509         * sysdeps/i386/fpu/libm-test-ulps: Update.
37510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37514         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
37515         __mpn_add_n for PowerPC64/POWER7.
37516         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
37517         __mpn_sub_n for PowerPC64/POWER7.
37519         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
37520         __mpn_addmul_1 for PowerPC64.
37521         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
37522         __mpn_submul_1 for PowerPC64.
37523         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
37524         for PowerPC64.
37525         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
37526         for PowerPC64.
37528 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
37530         [BZ #15089]
37531         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
37533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37535         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
37537         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
37538         add multiarch folders.
37539         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
37540         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
37541         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
37542         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
37543         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
37544         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
37545         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
37546         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
37547         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
37548         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
37549         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
37551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
37552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
37553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
37554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
37555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
37557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37558         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
37559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
37560         New file.
37561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
37562         New file.
37563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
37564         multiarch __ieee754_hypot for PowerPC32.
37565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
37566         New file.
37567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
37568         New file.
37569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
37570         multiarch __ieee754_hypotf for PowerPC32.
37572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
37573         long_double_symbol only if __logbl is defined.
37574         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
37575         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
37576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
37577         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
37578         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
37579         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
37580         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
37581         path for implementation.
37582         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
37583         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
37584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
37585         logb, and logbl multiarch implementations for PowerPC32.
37586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
37587         file.
37588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
37589         file.
37590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
37591         multiarch logb for PowerPC32.
37592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
37593         file.
37594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
37595         file.
37596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
37597         multiarch logbf for PowerPC32.
37598         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
37599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
37600         file.
37601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
37602         multiarch logbl implementation for PowerPC32.
37604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
37605         and modff multiarch implementations.
37606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
37607         New file.
37608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
37609         New file.
37610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
37611         multiarch modf for PowerPC32.
37612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
37613         New file.
37614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
37615         New file.
37616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
37617         multiarch modff for PowerPC32.
37619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
37620         and lrintf multiarch implementations.
37621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
37622         New file.
37623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
37624         New file.
37625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
37626         multiarch lrint for PowerPC32.
37627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
37628         file: multiarch lrintf for PowerPC32.
37630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
37631         and lroundf multiarch implementations.
37632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
37633         New file.
37634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
37635         New file.
37636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
37637         New file.
37638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
37639         multiarch lround for PowerPC32.
37640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
37641         file: multiarch lroundf for PowerPC32.
37643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
37644         copysign and copysignf multiarch implementations.
37645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
37646         New file.
37647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
37648         New file.
37649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
37650         file: multiarch copysign for PowerPC32.
37651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
37652         file: multiarch copysignf for PowerPC32.
37654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
37655         and truncf multiarch implementations.
37656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
37657         New file.
37658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
37659         file.
37660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
37661         multiarch trunc for PowerPC32.
37662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
37663         New file.
37664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
37665         New file.
37666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
37667         multiarch truncf for PowerPC32.
37669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
37670         and roundf multiarch implementations.
37671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
37672         New file.
37673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
37674         file.
37675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
37676         multiarch round for PowerPC32.
37677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
37678         New file.
37679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
37680         New file.
37681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
37682         multiarch roundf for PowerPC32.
37684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
37685         and floorf multiarch implementations.
37686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
37687         New file.
37688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
37689         file.
37690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
37691         multiarch floor for PowerPC32.
37692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
37693         New file.
37694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
37695         New file.
37696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
37697         multiarch floorf for PowerPC32.
37699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
37700         and ceilf multiarch implementations.
37701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
37702         New file.
37703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
37704         file.
37705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
37706         multiarch ceil for PowerPC32.
37707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
37708         New file.
37709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
37710         file.
37711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
37712         multiarch ceilf for PowerPC32.
37714         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
37715         is defined.
37716         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
37717         FINITEF is defined.
37718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
37719         and finitef multiarch implementations.
37720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
37721         New file.
37722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
37723         file.
37724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
37725         multiarch finite for PowerPC32.
37726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
37727         New file.
37728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
37729         file: multiarch finitef for PowerPC32.
37731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
37732         and isinff multiarch implementations.
37733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
37734         file.
37735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
37736         file.
37737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
37738         multiarch isinf for PowerPC32.
37739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
37740         New file.
37741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
37742         multiarch isinff for PowerPC32.
37744         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
37745         alias when __isnan is defined.
37746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
37747         and isnanf multiarch implementations.
37748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
37749         file.
37750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
37751         file.
37752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
37753         file.
37754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
37755         file.
37756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
37757         multiarch isnan for PowerPC32.
37758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
37759         New file.
37760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
37761         New file.
37762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
37763         multiarch isnanf for PowerPC32.
37765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
37766         and sqrtf multiarch implementations.
37767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
37768         file.
37769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
37770         file.
37771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
37772         multiarch sqrt for PowerPC32.
37773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
37774         file.
37775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
37776         file.
37777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
37778         multiarch sqrtf for PowerPC32.
37780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
37781         and llroundf multiarch implementations.
37782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
37783         New file.
37784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
37785         New file.
37786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
37787         New file.
37788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
37789         file: multiarch llround for PowerPC32.
37790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
37791         file: multiarch llroundf for PowerPC32.
37793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
37794         multiarch PowerPC32 fpu implementations.
37795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
37796         New file.
37797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
37798         New file.
37799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
37800         multiarch llrint for PowerPC32.
37801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
37802         New file.
37803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
37804         New file.
37805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
37806         file.
37808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
37810         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
37811         file.
37812         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
37813         file.
37814         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
37815         file.
37816         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
37817         multiarch wordcopy for PPC32.
37818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37819         wordcopy objects.
37820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37821         (__libc_ifunc_impl_list): Likewise.
37822         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
37823         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
37824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
37825         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
37826         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
37827         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
37829         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
37830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
37831         file.
37832         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
37833         file.
37834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
37835         file.
37836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
37837         multiarch wcscpy for PPC32.
37838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
37839         multiarch objects.
37840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37841         (__libc_ifunc_impl_list): Likewise.
37842         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37843         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37844         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
37845         sysdeps/powerpc/power6/wcscpy.c.
37847         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
37848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
37849         file.
37850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
37851         file.
37852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37853         file.
37854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37855         multiarch wcsrchr for PPC32.
37856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37857         multiarch objects.
37858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37859         (__libc_ifunc_impl_list): Likewise.
37860         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37861         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37862         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37863         sysdeps/powerpc/power6/wcsrchr.c.
37865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37866         file.
37867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37868         file.
37869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37871         multiarch wcschr for PPc32.
37872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37873         multiarch objects.
37874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37875         (__libc_ifunc_impl_list): Likewise.
37876         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37877         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37878         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37879         sysdeps/powerpc/power6/wcschr.c.
37881         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37883         file.
37884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37885         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37886         file: multiarch strchr for PPC32.
37887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37888         multiarch objects.
37889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37890         (__libc_ifunc_impl_list): Likewise.
37892         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37893         name.
37894         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37895         file.
37896         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37897         file.
37898         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37899         multiarch strchrnul for PPC32.
37900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37901         multiarch objects.
37902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37903         (__libc_ifunc_impl_list): Likewise.
37905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37906         file.
37907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37908         multiarch strncasecmp for PPC32.
37909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37910         file.
37911         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37912         multiarch strncasecmp_l for PPC32.
37913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37914         strncasecmp multiarch objects.
37915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37916         (__libc_ifunc_impl_list): Likewise.
37918         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37919         file.
37920         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37921         multiarch strncasecmp for PPC32.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37923         New file.
37924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37925         multiarch strcasecmp_l for PPC32.
37926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37927         multiarch objects.
37928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37929         (__libc_ifunc_impl_list): Likewise.
37931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37932         file.
37933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37934         file.
37935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37936         multiarch strncmp for PPC32.
37937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37938         multiarch objects.
37939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37940         (__libc_ifunc_impl_list): Likewise.
37942         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37943         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37944         file.
37945         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37946         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37948         multiarch objects.
37949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37950         (__libc_ifunc_impl_list): Likewise.
37952         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37953         file.
37954         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37955         file.
37956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37958         multiarch objects.
37959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37960         (__libc_ifunc_impl_list): Likewise.
37962         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37963         file.
37964         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37965         file.
37966         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37967         multiarch rawmemchr for PPC32.
37968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37969         multiarch objects.
37970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37971         (__libc_ifunc_impl_list): Likewise.
37973         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37974         file.
37975         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37976         file.
37977         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37978         file: memrchr multiarch for PPC32.
37979         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37980         multiarch objects.
37981         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37982         (__libc_ifunc_impl_list): Likewise.
37984         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37985         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37986         file.
37987         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37988         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37989         multiarch memchr for PPC32.
37990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37991         multiarch objects.
37992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37993         (__libc_ifunc_impl_list): Likewise.
37995         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37996         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37997         file.
37998         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37999         file.
38000         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38001         file: multiarch mempcpy for PPC32.
38002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38003         multiarch objects.
38004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38005         (__libc_ifunc_impl_list): Likewise.
38007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38008         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38010         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38011         multiarch bzero for PPC32.
38012         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38013         file.
38014         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38015         file.
38016         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38017         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38018         file: multiarch memset for PPC32.
38019         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38021         memset multiarch objects.
38022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38023         (__libc_ifunc_impl_list): Likewise.
38025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38026         file.
38027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38029         memcmp for PPC32.
38030         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38032         multiarch objects.
38033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38034         (__libc_ifunc_impl_list): Likewise.
38036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38039         file.
38040         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38041         file.
38042         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38043         file.
38044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38045         multiarch memcpy for PPC32.
38046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38047         multiarch objects.
38048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38049         (__libc_ifunc_impl_list): Likewise.
38051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38052         support multiarch for POWER/PPC32.
38053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38054         Likewise.
38055         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38057         Implies file to make multiarch folder appers before the fpu and
38058         default folder for power4 configuration.
38060 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38062         * scripts/bench.pl: Append volatile keyword to type.
38064 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38066         * sysdeps/sh/sotruss-lib.c: New file.
38067         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38069 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38073 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38075         [BZ #6810]
38076         * math/w_tgamma.c: Include <errno.h>.
38077         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38078         * math/w_tgammaf.c: Include <errno.h>.
38079         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38080         * math/w_tgammal.c: Include <errno.h>.
38081         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38082         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38083         underflow.  Add more tgamma tests.
38084         * math/auto-libm-test-out: Regenerated.
38085         * sysdeps/i386/fpu/libm-test-ulps: Update.
38086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38088         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38089         sin, sinh, tan, tanh, tgamma, y0 and y1.
38090         * math/auto-libm-test-out: Regenerated.
38091         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38092         (TEST_COND_x86): Likewise.
38093         (M_E2l): Remove macro.
38094         (M_E3l): Likewise.
38095         (M_2_SQRT_PIl): Likewise.
38096         (M_SQRT_PIl): Likewise.
38097         (M_1_DIV_El): Likewise.
38098         (log_test_data): Use AUTO_TESTS_f_f.
38099         (log10_test_data): Likewise.
38100         (log1p_test_data): Likewise.
38101         (log2_test_data): Likewise.
38102         (sin_test_data): Likewise.
38103         (sin_tonearest_test_data): Likewise.
38104         (sin_towardzero_test_data): Likewise.
38105         (sin_downward_test_data): Likewise.
38106         (sin_upward_test_data): Likewise.
38107         (sinh_test_data): Likewise.
38108         (sinh_tonearest_test_data): Likewise.
38109         (sinh_towardzero_test_data): Likewise.
38110         (sinh_downward_test_data): Likewise.
38111         (sinh_upward_test_data): Likewise.
38112         (tan_test_data): Likewise.
38113         (tan_tonearest_test_data): Likewise.
38114         (tan_towardzero_test_data): Likewise.
38115         (tan_downward_test_data): Likewise.
38116         (tan_upward_test_data): Likewise.
38117         (tanh_test_data): Likewise.
38118         (tgamma_test_data): Likewise.
38119         (y0_test_data): Likewise.
38120         (y1_test_data): Likewise.
38121         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38122         (special_real_inputs): Add pi/4.
38123         * sysdeps/i386/fpu/libm-test-ulps: Update.
38124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38126 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38128         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38129         "longjmp_target" static probes.
38130         (__longjmp): Rename to __longjmp_symbol.
38131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38132         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38133         on which longjmp to generate.
38134         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38135         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38136         probe.
38137         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38138         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38139         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38140         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38141         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38142         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38144         __longjmp_symbol based on which __longjmp to generate.
38145         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38146         probe.
38147         (setjmp): Rename to setjmp_symbol.
38148         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38149         (_setjmp): Rename to _setjmp_symbol.
38150         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38151         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38152         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38153         which setjmp to generate.
38154         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38155         "longjmp_target" static probes.
38157 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38159         * benchtests/README: Add note about output arguments.
38160         * benchtests/bench-sincos.c: Remove file.
38161         * benchtests/sincos-inputs: New file.
38162         * scripts/bench.pl: Identify output arguments and define
38163         static variables for them.
38165         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38167         [BZ #15941]
38168         * Makefile (INSTALL): Add install-plain.texi as the primary
38169         dependency.
38170         * manual/install-plain.texi: New file.
38171         * manual/install.texi: Include node directive only for
38172         non-plaintext output.
38174 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38176         * stdlib/longlong.h: Update from GCC.
38178         [BZ #6807]
38179         [BZ #15901]
38180         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38181         * math/w_j0f.c (y0f): Likewise.
38182         * math/w_j0l.c (__y0l): Likewise.
38183         * math/w_j1.c (y1): Likewise.
38184         * math/w_j1f.c (y1f): Likewise.
38185         * math/w_j1l.c (__y1l): Likewise.
38186         * math/w_jn.c (yn): Likewise.
38187         * math/w_jnf.c (ynf): Likewise.
38188         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38189         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38190         value for Bessel function domain errors outside _SVID_ mode.
38191         Adjust sign of return value for yn (negative integer, 0).
38192         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38193         by zero in return for negative x and set sign appropriately for
38194         negative n.
38195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38196         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38197         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38198         expectations in error cases.
38199         (y1_test_data): Likewise.
38200         (yn_test_data): Likewise.
38201         * sysdeps/i386/fpu/libm-test-ulps: Update.
38202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38204 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38206         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38207         "64" to "64-v1".  Add "64-v2".
38208         (abi-64-options): Rename to ...
38209         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38210         (abi-64-condition): Rename to ...
38211         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38212         (abi-64-ld-soname): Rename to ...
38213         (abi-64-v1-ld-soname): ... this.
38214         (abi-64-v2-options): Define.
38215         (abi-64-v2-condition): Likewise.
38216         (abi-64-v2-ld-soname): Likewise.
38217         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38218         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38223 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38224             Alan Modra  <amodra@gmail.com>
38226         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38227         New versions for use with the ELFv2 ABI.
38228         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38229         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38230         declaration.
38231         (struct La_ppc64v2_retval): Likewise.
38232         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38233         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38234         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38235         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38236         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38238         Do not save or restore CR.
38239         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38240         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38241         return values for ELFv2 ABI.  Fix location of FPR return registers.
38242         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38243         updated values for _CALL_ELF == 2.
38244         (La_regs, La_retval, int_retval): Likewise.
38246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38248         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38249         (FRAME_MIN_SIZE_PARM): Likewise.
38250         (FRAME_BACKCHAIN): Likewise.
38251         (FRAME_CR_SAVE): Likewise.
38252         (FRAME_LR_SAVE): Likewise.
38253         (FRAME_TOC_SAVE): Likewise.
38254         (FRAME_PARM_SAVE): Likewise.
38255         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38256         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38257         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38258         (call_mcount_parm_offset): New macro.
38259         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38260         (PROF): Use symbolic stack frame offsets.
38261         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38262         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38263         Redefine in terms of FRAME_MIN_SIZE.
38264         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38265         (_dl_profile_resolve): Likewise.  Update comment.
38266         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38267         symbols stack frame offsets.
38268         (__sigsetjmp): Likewise.
38269         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38270         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38271         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38272         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38275         (FRAME_BACKCHAIN): Remove.
38276         (FRAME_CR_SAVE): Likewise.
38277         (FRAME_LR_SAVE): Likewise.
38278         (FRAME_COMPILER_DW): Likewise.
38279         (FRAME_LINKER_DW): Likewise.
38280         (FRAME_TOC_SAVE): Likewise.
38281         (FRAME_PARM_SAVE): Likewise.
38282         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38283         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38284         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38286         (CHECK_SP): Use symbolic stack frame offsets.
38287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38288         zone" instead of caller's parameter save area for temp storage.
38289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38290         Likewise.  Also, use symbolic stack frame offsets.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38292         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38293         our own stack frame instead of the caller's.
38294         (__socket): Use symbolic stack frame offsets.
38296 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38297             Alan Modra  <amodra@gmail.com>
38299         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38300         Define.
38301         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38302         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38303         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38304         New function.
38305         (elf_machine_fixup_plt): Call it.
38306         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38307         reloc arguments.
38308         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38309         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38310         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38311         r2 before calling target.
38313 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38314             Alan Modra  <amodra@gmail.com>
38316         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38317         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38318         versions of macros to support ELFv2 ABI.
38319         (LOCALENTRY): New macro.
38320         (ENTRY, EALIGN): Use it.
38321         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38322         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38323         fall through into ENTRY entry point.
38324         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
38325         Only define if _CALL_ELF != 2.
38327         (elf_machine_matches_host): Verify ABI version matches.
38328         (RTLD_START): Use LOCALENTRY.
38329         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
38330         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
38331         (PLT_ENTRY_WORDS): New macro.
38332         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
38333         (elf_machine_runtime_setup): Support ELFv2 ABI.
38334         (elf_machine_fixup_plt): Likewise.
38335         (elf_machine_plt_conflict): Likewise.
38336         (resolve_ifunc): Likewise.
38337         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38338         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38339         Likewise.
38340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
38341         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
38342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38343         (makecontext): Support ELFv2 ABI.
38344         * elf/elf.h (EF_PPC64_ABI): Define.
38346 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38348         * sysdeps/powerpc/powerpc64/sysdep.h
38349         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
38350         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
38351         (ENTRY) [ASSEMBLER]: ... but instead here ...
38352         (EALIGN) [ASSEMBLER]: ... and here.
38353         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
38354         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
38355         (ENTRY_2) [!ASSEMBLER]: Use it.
38356         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
38357         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
38358         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38359         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
38360         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
38361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
38362         Use PPC64_LOAD_FUNCPTR.
38364         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
38366 2013-12-04  Alan Modra  <amodra@gmail.com>
38368         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
38369         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
38370         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
38371         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
38373         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
38374         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
38375         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
38376         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
38377         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
38378         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
38380 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38383         (__makecontext): Fix incorrect CFI when backtracing out of
38384         context created via makecontext.
38385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
38386         (__setcontext): Fix incorrect CFI during switch to new context.
38387         (__novec_setcontext): Likewise.
38389 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38391         [BZ #4772]
38392         * time/strptime_l.c (__strptime_internal): Allow modifiers
38393         in strptime.
38394         * time/tst-strptime.c (day_tests): Add testcase.
38396 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38398         * scripts/bench.pl: Skip over blank lines.
38400 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
38402         [BZ #926]
38403         * manual/time.texi (Calendar Time): Clarify what timezone functions
38404         use.
38406 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
38412         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
38413         implementation.
38414         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
38415         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
38416         * debug/memset_chk.c (__memset_chk): Likewise.
38417         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
38418         * debug/strncpy_chk.c: Likewise.
38420 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38422         [BZ #15268]
38423         [BZ #15425]
38424         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
38425         (__ieee754_exp): For possibly underflowing results, check size of
38426         result and force underflow exception if required.
38427         * math/auto-libm-test-in: Add more tests of exp.
38428         * math/auto-libm-test-out: Regenerated.
38429         * sysdeps/i386/fpu/libm-test-ulps: Update.
38430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38432         [BZ #16283]
38433         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
38434         * math/w_exp2f.c (__exp2f): Likewise.
38435         * math/w_exp2l.c (__exp2l): Likewise.
38436         * math/auto-libm-test-in: Do not allow missing errno on exp2
38437         underflow.
38438         * math/auto-libm-test-out: Regenerated.
38440 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
38442         [BZ #16274]
38443         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
38444         handle filename validation.
38445         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
38446         (do_open): Delete.
38448 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
38450         [BZ #6786]
38451         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
38452         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
38453         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
38454         <float.h>.
38455         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
38456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
38457         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
38459         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38460         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
38461         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
38462         * math/auto-libm-test-in: Don't allow missing errno from erfc.
38463         Add more erfc tests.
38464         * math/auto-libm-test-out: Regenerated.
38465         * sysdeps/i386/fpu/libm-test-ulps: Update.
38466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38468         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
38469         exp2, expm1, j0 and j1.
38470         * math/auto-libm-test-out: Regenerated.
38471         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
38472         (erfc_test_data): Likewise.
38473         (exp_test_data): Likewise.
38474         (exp_tonearest_test_data): Likewise.
38475         (exp_towardzero_test_data): Likewise.
38476         (exp_downward_test_data): Likewise.
38477         (exp_upward_test_data): Likewise.
38478         (exp10_test_data): Likewise.
38479         (exp2_test_data): Likewise.
38480         (expm1_test_data): Likewise.
38481         (j0_test_data): Likewise.
38482         (j1_test_data): Likewise.
38483         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
38484         (input_flag_type): Add flag_xfail_rounding.
38485         (input_flags): Add xfail-rounding.
38486         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
38487         (output_for_one_input_case): Handle flag_xfail_rounding.
38488         * sysdeps/i386/fpu/libm-test-ulps: Update.
38489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38491 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
38493         [BZ #16289]
38494         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
38495         division by 0.
38497 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38499         [BZ #16195]
38500         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
38501         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
38502         (STAP_PROBE0): New macro.
38503         (STAP_PROBE1): Likewise.
38504         (STAP_PROBE2): Likewise.
38505         (STAP_PROBE3): Likewise.
38506         (STAP_PROBE4): Likewise.
38508 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
38510         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
38512 2013-12-02  Steve Ellcey  <sellcey@mips.com>
38514         * benchtests/Makefile (bench): Add sqrt.
38515         (LDLIBS-bench-sqrt): New.
38516         * benchtests/sqrt-input: New.
38518 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
38520         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
38521         (GAIH_EAI): Likewise.
38522         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
38523         (gaih_inet): Likewise.
38524         (getaddrinfo): Don't use GAIH_EAI.
38526         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
38527         (struct gaih): Remove definition.
38529 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38531         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38532         Use HERRNOP directly.
38534 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38538 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
38540         * math/gen-auto-libm-tests.c (test_functions): Add more
38541         single-argument functions.
38542         (special_fill_pi_2): New function.
38543         (special_fill_minus_pi_2): Likewise.
38544         (special_fill_pi_6): Likewise.
38545         (special_fill_minus_pi_6): Likewise.
38546         (special_fill_pi_3): Likewise.
38547         (special_fill_2pi_3): Likewise.
38548         (special_fill_e): Likewise.
38549         (special_fill_1_e): Likewise.
38550         (special_fill_e_minus_1): Likewise.
38551         (special_real_inputs): Add more special inputs.
38552         (output_for_one_input_case): Do not require ERANGE on underflow to
38553         zero if round-to-nearest result does not underflow to zero, unless
38554         exact results required.
38555         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
38556         atan, atanh, cbrt, cos and cosh.
38557         * math/auto-libm-test-out: Regenerated.
38558         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
38559         (acos_tonearest_test_data): Likewise.
38560         (acos_towardzero_test_data): Likewise.
38561         (acos_downward_test_data): Likewise.
38562         (acos_upward_test_data): Likewise.
38563         (acosh_test_data): Likewise.
38564         (asin_test_data): Likewise.
38565         (asin_tonearest_test_data): Likewise.
38566         (asin_towardzero_test_data): Likewise.
38567         (asin_upward_test_data): Likewise.
38568         (asinh_test_data): Likewise.
38569         (atan_test_data): Likewise.
38570         (atanh_test_data): Likewise.
38571         (cbrt_test_data): Likewise.
38572         (cos_test_data): Likewise.
38573         (cos_tonearest_test_data): Likewise.
38574         (cos_towardzero_test_data): Likewise.
38575         (cos_downward_test_data): Likewise.
38576         (cos_upward_test_data): Likewise.
38577         (cosh_test_data): Likewise.
38578         (cosh_tonearest_test_data): Likewise.
38579         (cosh_towardzero_test_data): Likewise.
38580         (cosh_downward_test_data): Likewise.
38581         (cosh_upward_test_data): Likewise.
38582         * sysdeps/i386/fpu/libm-test-ulps: Update.
38583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38585 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
38587         [BZ #6787]
38588         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
38589         * math/w_exp10f.c (__exp10f): Likewise.
38590         * math/w_exp10l.c (__exp10l): Likewise.
38591         * math/libm-test.inc (exp10_test_data): Add more tests and expect
38592         errno settings in existing tests.
38594         [BZ #14032]
38595         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
38596         precision control set to double precision.
38597         * sysdeps/i386/fpu/w_sqrt.c: New file.
38598         * math/auto-libm-test-in: Add more tests.
38599         * math/auto-libm-test-out: Update.
38601         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
38602         (sqrt_test_tonearest): New function.
38603         (sqrt_towardzero_test_data): New variable.
38604         (sqrt_test_towardzero): New function.
38605         (sqrt_downward_test_data): New variable.
38606         (sqrt_test_downward): New function.
38607         (sqrt_upward_test_data): New variable.
38608         (sqrt_test_upward): New function.
38609         (main): Call the new functions.
38611         * math/gen-auto-libm-tests.c: New file.
38612         * math/auto-libm-test-in: Likewise.
38613         * math/auto-libm-test-out: New generated file.
38614         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
38615         variables.
38616         (%beautify): Add generated representations of zero.
38617         (top level): Set $auto_input and call parse_auto_input.
38618         (beautify): Remove trailing "f" from hex float constants.
38619         (parse_args): Handle XFAIL_TEST.
38620         (convert_condition): New function.
38621         (or_value): Likewise.
38622         (or_cond_value): Likewise.
38623         (generate_testfile): Handle AUTO_TESTS_* lines.
38624         (parse_auto_input): New function.
38625         * math/libm-test.inc (XFAIL_TEST): New macro.
38626         (ERRNO_UNCHANGED): Update value.
38627         (ERRNO_EDOM): Likewise.
38628         (ERRNO_ERANGE): Likewise.
38629         (IGNORE_RESULT): Likewise.
38630         (TEST_COND_flt_32): New macro.
38631         (TEST_COND_dbl_64): Likewise.
38632         (TEST_COND_ldbl_96_intel): Likewise.
38633         (TEST_COND_ldbl_96_m68k): Likewise.
38634         (TEST_COND_ldbl_128): Likewise.
38635         (TEST_COND_ldbl_128ibm): Likewise.
38636         (TEST_COND_long32): Likewise.
38637         (TEST_COND_long64): Likewise.
38638         (TEST_COND_before_rounding): Likewise.
38639         (TEST_COND_after_rounding): Likewise.
38640         (enable_test): Handle XFAIL_TEST flag.
38641         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
38642         with finite results.
38643         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
38644         auto-libm-test-out.
38646 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38647             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38649         [BZ #16214]
38650         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
38651         __tls_get_addr_internal instead of __tls_get_offset in order to
38652         avoid GOT pointer dependency.  Make rtld export
38653         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
38654         __tls_get_addr since we are a __tls_get_offset platform.
38655         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
38656         GOT pointer being set up before.
38657         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
38659 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
38661         * manual/math.texi (Errors in Math Functions): Document accuracy
38662         goals.
38664         [BZ #15004]
38665         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
38666         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
38667         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38668         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38669         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38670         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38671         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38672         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38673         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38674         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38675         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38676         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38677         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38679         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38680         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38682         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38683         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
38684         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
38685         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
38686         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
38687         Likewise.
38688         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
38689         Likewise.
38690         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
38691         Likewise.
38692         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
38693         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
38694         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
38695         atomic-feupdateenv and flt-rounds.
38696         * sysdeps/powerpc/nofpu/Versions (libc): Add
38697         __atomic_feholdexcept, __atomic_feclearexcept,
38698         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
38699         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
38700         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
38701         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
38702         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
38703         here.
38704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38705         Update.
38707         * manual/arith.texi (FP Exceptions): Document that exceptions may
38708         not be raised when matherr is used.
38709         (Math Error Reporting): Document overflow in directed rounding
38710         modes.  Document that errno may not be set when finite values are
38711         returned on overflow.  Document intent to set errno on underflow
38712         only for underflow to zero.
38714         [BZ #16271]
38715         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
38716         round-to-nearest then adjust result for other rounding modes.
38717         * include/fenv.h (fegetround): Use libm_hidden_proto.
38718         * math/fegetround.c (fegetround): Use libm_hidden_def.
38719         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38720         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38721         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38722         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38723         Likewise.
38724         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
38725         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38726         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38727         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
38729 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38731         [BZ #16077]
38732         * nss/Versions (libnss_files): Add
38733         _nss_files_gethostbyname3_r.
38734         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
38735         New function.
38736         (HOST_DB_LOOKUP): Remove macro.
38737         (_nss_files_gethostbyname_r): Implement function without the
38738         HOST_DB_LOOKUP macro.
38739         (_nss_files_gethostbyname2_r): Likewise.
38741 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
38743         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
38745 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
38747         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
38748         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
38749         warning.
38751 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38753         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
38754         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
38755         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38756         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38757         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
38758         __fe_nomask_env_priv and attribute_hidden.
38759         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
38760         (libc_feupdateenv_test_ppc): Likewise.
38761         (libc_feresetround_ppc): Likewise.
38762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38763         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
38764         compat_symbol macro.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38766         (__fe_nomask_env): Likewise.
38767         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
38769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38771         * string/Makefile: Remove ifunc tests.
38772         * string/test-string.h: Define TEST_IFUNC.
38773         * string/test-bcopy-ifunc.c: Remove.
38774         * string/test-bzero-ifunc.c: Likewise.
38775         * string/test-memccpy-ifunc.c: Likewise.
38776         * string/test-memchr-ifunc.c: Likewise.
38777         * string/test-memcmp-ifunc.c: Likewise.
38778         * string/test-memcpy-ifunc.c: Likewise.
38779         * string/test-memmem-ifunc.c: Likewise.
38780         * string/test-memmove-ifunc.c: Likewise.
38781         * string/test-mempcpy-ifunc.c: Likewise.
38782         * string/test-memrchr-ifunc.c: Likewise.
38783         * string/test-memset-ifunc.c: Likewise.
38784         * string/test-rawmemchr-ifunc.c: Likewise.
38785         * string/test-stpcpy-ifunc.c: Likewise.
38786         * string/test-stpncpy-ifunc.c: Likewise.
38787         * string/test-strcasecmp-ifunc.c: Likewise.
38788         * string/test-strcasestr-ifunc.c: Likewise.
38789         * string/test-strcat-ifunc.c: Likewise.
38790         * string/test-strchr-ifunc.c: Likewise.
38791         * string/test-strchrnul-ifunc.c: Likewise.
38792         * string/test-strcmp-ifunc.c: Likewise.
38793         * string/test-strcpy-ifunc.c: Likewise.
38794         * string/test-strcspn-ifunc.c: Likewise.
38795         * string/test-strlen-ifunc.c: Likewise.
38796         * string/test-strncasecmp-ifunc.c: Likewise.
38797         * string/test-strncat-ifunc.c: Likewise.
38798         * string/test-strncmp-ifunc.c: Likewise.
38799         * string/test-strncpy-ifunc.c: Likewise.
38800         * string/test-strnlen-ifunc.c: Likewise.
38801         * string/test-strpbrk-ifunc.c: Likewise.
38802         * string/test-strrchr-ifunc.c: Likewise.
38803         * string/test-strspn-ifunc.c: Likewise.
38804         * string/test-strstr-ifunc.c: Likewise.
38806 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38808         * benchtests/Makefile: Remove ifunc tests.
38809         * benchtests/bench-string.h: Define TEST_IFUNC.
38810         * benchtests/bench-bcopy-ifunc.c: Remove.
38811         * benchtests/bench-bzero-ifunc.c: Likewise.
38812         * benchtests/bench-memccpy-ifunc.c: Likewise.
38813         * benchtests/bench-memchr-ifunc.c: Likewise.
38814         * benchtests/bench-memcmp-ifunc.c: Likewise.
38815         * benchtests/bench-memcpy-ifunc.c: Likewise.
38816         * benchtests/bench-memmem-ifunc.c: Likewise.
38817         * benchtests/bench-memmove-ifunc.c: Likewise.
38818         * benchtests/bench-mempcpy-ifunc.c: Likewise.
38819         * benchtests/bench-memrchr-ifunc.c: Likewise.
38820         * benchtests/bench-memset-ifunc.c: Likewise.
38821         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
38822         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
38823         * benchtests/bench-stpcpy-ifunc.c: Likewise.
38824         * benchtests/bench-stpncpy-ifunc.c: Likewise.
38825         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
38826         * benchtests/bench-strcasestr-ifunc.c: Likewise.
38827         * benchtests/bench-strcat-ifunc.c: Likewise.
38828         * benchtests/bench-strchr-ifunc.c: Likewise.
38829         * benchtests/bench-strchrnul-ifunc.c: Likewise.
38830         * benchtests/bench-strcmp-ifunc.c: Likewise.
38831         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
38832         * benchtests/bench-strcpy-ifunc.c: Likewise.
38833         * benchtests/bench-strcspn-ifunc.c: Likewise.
38834         * benchtests/bench-strlen-ifunc.c: Likewise.
38835         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
38836         * benchtests/bench-strncat-ifunc.c: Likewise.
38837         * benchtests/bench-strncmp-ifunc.c: Likewise.
38838         * benchtests/bench-strncpy-ifunc.c: Likewise.
38839         * benchtests/bench-strnlen-ifunc.c: Likewise.
38840         * benchtests/bench-strpbrk-ifunc.c: Likewise.
38841         * benchtests/bench-strrchr-ifunc.c: Likewise.
38842         * benchtests/bench-strsep-ifunc.c: Likewise.
38843         * benchtests/bench-strspn-ifunc.c: Likewise.
38844         * benchtests/bench-strstr-ifunc.c: Likewise.
38846 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38848         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
38850 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38852         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38853         * rt/aio.h: Likewise.
38854         * sysdeps/gnu/bits/utmp.h: Likewise.
38855         * sysdeps/gnu/bits/utmpx.h: Likewise.
38856         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38857         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38858         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38859         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38860         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38861         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38862         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38863         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38864         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38865         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38866         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38867         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38868         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38870         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38871         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38872         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38873         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38874         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38875         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38876         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38877         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38878         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38879         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38880         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38882         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38883         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38884         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38885         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38886         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38887         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38888         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38889         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38890         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38891         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38892         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38893         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38894         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38895         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38896         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38897         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38899 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38901         [BZ #16245]
38902         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38903         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38905 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38907         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38909         Likewise.
38911 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38914         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38915         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38916         (__fesetround): Remove define.
38917         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38918         rounding and exceptions handling.
38919         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38920         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38921         (__fe_nomask_env): Likewise.
38922         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38923         __fegetround instead of fegetround.
38924         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38927 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38929         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38930         it's there.
38932         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38934 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38936         [BZ #11157]
38937         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38938         (encrypt_r): Likewise.
38939         * malloc/obstack.h (obstack_free): Likewise.
38940         * posix/unistd.h (encrypt): Likewise.
38942 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38944         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38945         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38946         DL_CALL_DT_FINI() that call the functions directly.
38947         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38948         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38949         * elf/dl-fini.c: Likewise.
38951 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38953         * malloc/hooks.c (memalign_check): Add alignment rounding.
38954         * malloc/malloc.c (_mid_memalign): New function.
38955         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38956         Implement by calling _mid_memalign.
38957         * manual/probes.texi (Memory Allocation Probes): Remove
38958         memory_valloc_retry and memory_pvalloc_retry.
38960 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38962         * locale/programs/locarchive.c (open_archive): Add const
38963         qualifier to ARCHIVEFNAME and copy default fname to
38964         DEFAULT_FNAME.
38966         [BZ #15601]
38967         * libio/tst-widetext.input: Rename Oriya to Odia.
38968         * locale/iso-639.def: Likewise.
38970         * manual/probes.texi (Mathematical Function Probes): Add
38971         documentation for sin, cos, asin and acos probes.
38972         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38973         (__sin32): Add slowasin probe.
38974         (__cos32): Add slowacos probe.
38975         (__mpsin): Add slowsin probe.
38976         (__mpcos): Add slowcos probe.
38978 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38980         [BZ #15483]
38981         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38982         thread-local __sim_exceptions_thread and global
38983         __sim_exceptions_global.
38984         (__sim_disabled_exceptions): Change to thread-local
38985         __sim_disabled_exceptions_thread and global
38986         __sim_disabled_exceptions_global.
38987         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38988         and global __sim_round_mode_global.
38989         (__simulate_exceptions): Use thread-local floating-point state and
38990         set global state from it as needed.
38991         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38992         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38993         __sim_round_mode_thread.
38994         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38995         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38996         and global __sim_exceptions_global.
38997         (__sim_disabled_exceptions): Change to thread-local
38998         __sim_disabled_exceptions_thread and global
38999         __sim_disabled_exceptions_global.
39000         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39001         and global __sim_round_mode_global.
39002         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39003         (SIM_SET_GLOBAL): Likewise.
39004         * sysdeps/powerpc/soft-fp/sfp-machine.h
39005         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39006         __sim_round_mode_thread.
39007         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39008         __sim_disabled_exceptions_thread.
39009         (__sim_exceptions): Change to __sim_exceptions_thread.
39010         (__sim_disabled_exceptions): Change to
39011         __sim_disabled_exceptions_thread.
39012         (__sim_round_mode): Change to __sim_round_mode_thread.
39013         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39014         thread-local floating-point state and set global state from it as
39015         needed.
39016         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39017         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39018         (__sim_disabled_exceptions): Remove extern declaration.
39019         (feenableexcept): Use thread-local floating-point state and set
39020         global state from it as needed.
39021         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39022         extern declaration.
39023         (__sim_disabled_exceptions): Likewise.
39024         (__sim_round_mode): Likewise.
39025         (__fegetenv): Use thread-local floating-point state.
39026         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39027         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39028         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39029         floating-point state and set global state from it as needed.
39030         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39031         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39032         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39033         Likewise.
39034         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39035         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39036         Likewise.
39037         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39038         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39039         Use __sim_round_mode_thread.
39040         * math/test-fenv-tls.c: New file.
39041         * math/Makefile (tests): Add test-fenv-tls.
39042         ($(objpfx)test-fenv-tls): Depend on
39043         $(common-objpfx)nptl/libpthread.so.
39045 2013-11-19  Andreas Schwab  <schwab@suse.de>
39047         * locale/programs/locale.c (show_info): Decode wordarray elements.
39048         * locale/categories.def (LC_MONETARY): Add element for
39049         _NL_MONETARY_CRNCYSTR.
39050         * locale/C-monetary.c (conversion_rate): New variable.
39051         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39052         element.
39054 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39056         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39057         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39059 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39061         * elf/Makefile (tst-auxv): New test.
39062         * elf/tst-auxv.c: New
39063         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39065 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39067         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39068         (hidden_proto): Caller changed.
39069         (hidden_tls_proto): New macro.
39070         (libc_hidden_tls_proto): Likewise.
39071         (rtld_hidden_tls_proto): Likewise.
39072         (libm_hidden_tls_proto): Likewise.
39073         (libresolv_hidden_tls_proto): Likewise.
39074         (librt_hidden_tls_proto): Likewise.
39075         (libdl_hidden_tls_proto): Likewise.
39076         (libnss_files_hidden_tls_proto): Likewise.
39077         (libnsl_hidden_tls_proto): Likewise.
39078         (libnss_nisplus_hidden_tls_proto): Likewise.
39079         (libutil_hidden_tls_proto): Likewise.
39081 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39083         [BZ #10253]
39084         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39085         (decompose_rpath): Defer expansion to fillin_rpath.
39086         (_dl_init_paths): Pass linkmap to fillin_rpath.
39088 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39090         * benchtests/Makefile: Add strsep.
39091         * benchtests/bench-strsep.c: New file: strsep benchtest.
39092         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39094 2013-11-18  Andreas Schwab  <schwab@suse.de>
39096         * locale/programs/locale.c (show_info) [case byte]: Check for
39097         '\377' instead of '\177'.
39098         * locale/C-monetary.c (not_available): Always use "\377".
39099         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39100         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39101         detect unavailable sign_posn locale elements.
39102         * locale/localeconv.c (__localeconv): For grouping and
39103         mon_grouping handle "\177" and "\377" like no grouping.
39104         (INT_ELEM): New macro.  Use it to set all numeric members.
39105         * locale/programs/ld-monetary.c (monetary_read)
39106         <tok_mon_grouping>: Normalize single -1 to the empty string.
39107         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39108         Likewise.
39110 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39112         [BZ #16055]
39113         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39114         when we match (nil).
39115         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39117 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39119         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39120         (NO_TEST_INLINE): Update value.
39121         (ERRNO_UNCHANGED): Likewise.
39122         (ERRNO_EDOM): Likewise.
39123         (ERRNO_ERANGE): Likewise.
39124         (IGNORE_RESULT): Likewise.
39125         (check_float_internal): Check signs of NaN results if
39126         TEST_NAN_SIGN used.
39127         (check_complex): Pass TEST_NAN_SIGN flag through to second
39128         check_float_internal call.
39129         (copysign_test_data): Add tests with quiet NaNs as second
39130         argument.  Use TEST_NAN_SIGN.
39131         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39132         TEST_NAN_SIGN.
39133         (signbit_test_data): Add tests of quiet NaN argument.
39134         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39136         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39137         $ignore_result.
39138         (parse_args): Handle function results specified as IGNORE.
39139         * math/libm-test.inc (IGNORE_RESULT): New macro.
39140         (check_float_internal): Do not check numerical result if flag
39141         IGNORE_RESULT set.
39142         (check_complex): Pass through IGNORE_RESULT to second
39143         check_float_internal call.
39144         (check_int): Do not check numerical result if flag IGNORE_RESULT
39145         set.
39146         (check_long): Likewise.
39147         (check_bool): Likewise.
39148         (check_longlong): Likewise.
39149         (lrint_test_data): Add tests of infinite and NaN arguments.
39150         (lrint_tonearest_test_data): Likewise.
39151         (lrint_towardzero_test_data): Likewise.
39152         (lrint_downward_test_data): Likewise.
39153         (lrint_upward_test_data): Likewise.
39154         (llrint_test_data): Likewise.
39155         (llrint_tonearest_test_data): Likewise.
39156         (llrint_towardzero_test_data): Likewise.
39157         (llrint_downward_test_data): Likewise.
39158         (llrint_upward_test_data): Likewise.
39159         (lround_test_data): Likewise.
39160         (llround_test_data): Likewise.
39162         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39163         (ERRNO_UNCHANGED): Update value.
39164         (ERRNO_EDOM): Likewise.
39165         (ERRNO_ERANGE): Likewise.
39166         (NO_TEST_INLINE_FLOAT): New macro.
39167         (NO_TEST_INLINE_DOUBLE): Likewise.
39168         (enable_test): New function.
39169         (RUN_TEST_f_f): Check enable_test before running test.
39170         (RUN_TEST_2_f): Likewise.
39171         (RUN_TEST_fff_f): Likewise.
39172         (RUN_TEST_c_f): Likewise.
39173         (RUN_TEST_f_f1): Likewise.
39174         (RUN_TEST_fF_f1): Likewise.
39175         (RUN_TEST_fI_f1): Likewise.
39176         (RUN_TEST_ffI_f1): Likewise.
39177         (RUN_TEST_c_c): Likewise.
39178         (RUN_TEST_cc_c): Likewise.
39179         (RUN_TEST_f_i): Likewise.
39180         (RUN_TEST_f_i_tg): Likewise.
39181         (RUN_TEST_ff_i_tg): Likewise.
39182         (RUN_TEST_f_b): Likewise.
39183         (RUN_TEST_f_b_tg): Likewise.
39184         (RUN_TEST_f_l): Likewise.
39185         (RUN_TEST_f_L): Likewise.
39186         (RUN_TEST_fFF_11): Likewise.
39187         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39188         conditionals.
39189         (cosh_test_data): Likewise.
39190         (exp_test_data): Likewise.
39191         (expm1_test_data): Likewise.
39192         (hypot_test_data): Likewise.
39193         (pow_test_data): Likewise.
39194         (sinh_test_data): Likewise.
39195         (tanh_test_data): Likewise.
39196         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39197         flags argument.
39199         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39200         tests with quiet NaN input and output.
39201         (acosh_test_data): Likewise.
39202         (asin_test_data): Likewise.
39203         (asinh_test_data): Likewise.
39204         (atan_test_data): Likewise.
39205         (atanh_test_data): Likewise.
39206         (atan2_test_data): Likewise.
39207         (cbrt_test_data): Likewise.
39208         (cos_test_data): Likewise.
39209         (cosh_test_data): Likewise.
39210         (erf_test_data): Likewise.
39211         (erfc_test_data): Likewise.
39212         (exp_test_data): Likewise.
39213         (exp10_test_data): Likewise.
39214         (exp2_test_data): Likewise.
39215         (expm1_test_data): Likewise.
39216         (hypot_test_data): Likewise.
39217         (j0_test_data): Likewise.
39218         (j1_test_data): Likewise.
39219         (jn_test_data): Likewise.
39220         (lgamma_test_data): Likewise.
39221         (log_test_data): Likewise.
39222         (log10_test_data): Likewise.
39223         (log1p_test_data): Likewise.
39224         (log2_test_data): Likewise.
39225         (pow_test_data): Likewise.
39226         (scalb_test_data): Likewise.
39227         (sin_test_data): Likewise.
39228         (sincos_test_data): Likewise.
39229         (sinh_test_data): Likewise.
39230         (tan_test_data): Likewise.
39231         (tanh_test_data): Likewise.
39232         (tgamma_test_data): Likewise.
39233         (y0_test_data): Likewise.
39234         (y1_test_data): Likewise.
39235         (yn_test_data): Likewise.
39237         [BZ #16167]
39238         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39239         argument being NaN and avoid computations with second argument in
39240         that case.
39241         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39242         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39243         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39245 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39247         * locale/iso-639.def: Add Chitwani Tharu (the).
39249 2013-11-14  Andreas Schwab  <schwab@suse.de>
39251         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39252         word instead of empty string.
39254 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39257         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39259         (__fe_nomask_env): Likewise.
39261 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39263         * benchtests/bench-timing.h: Include time.h.
39265 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39267         [BZ #15997]
39268         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39269         to 3.4.0 for x32.
39270         * sysdeps/unix/sysv/linux/configure: Regenerated.
39272 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39274         [BZ #16151]
39275         * stdlib/strtod_l.c (round_and_return): Do not consider
39276         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39277         exponent one less than half the least subnormal exponent.
39278         * stdlib/test-strtod-round-data: Add more tests.
39279         * stdlib/tst-strtod-round.c (tests): Regenerated.
39281 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39283         [BZ #14143]
39284         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39285         (__fe_mask_env): Likewise.
39286         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39287         libm_hidden_proto and add function prototype.
39288         (__fe_mask_env): Add function prototype.
39289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39290         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39292         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39294         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39296 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39298         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39299         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39301 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39303         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39304         of htab_find_slot().
39306 2013-11-11  David S. Miller  <davem@davemloft.net>
39308         [BZ #16150]
39309         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39310         symbol in the non-vis3 case in static builds.
39311         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39312         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39313         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39314         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39316 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39318         [BZ #387]
39319         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39320         it is empty.
39322 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39324         * benchtests/Makefile: Add bench-strtod.
39325         * benchtests/bench-strtod.c: New file: strtod benchtest
39327 2013-11-11  Andreas Schwab  <schwab@suse.de>
39329         [BZ #16153]
39330         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
39331         terminating NUL in key length.
39333 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39335         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39336         Add artificial ODP entry for vDSO symbol for PPC64.
39337         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
39338         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
39340 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39342         [BZ #15374]
39343         * nss/getent.c (services_keys): Recognize services starting with digit.
39345 2013-11-06  David S. Miller  <davem@davemloft.net>
39347         [BZ #15985]
39348         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
39349         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
39351 2013-11-06  Will Newton  <will.newton@linaro.org>
39353         * manual/memory.texi (Malloc Examples): Remove register
39354         keyword from examples.
39356 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
39358         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
39360 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
39362         [BZ #6981]
39363         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
39364         depending on [__GCC_IEC_559 > 0].
39365         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
39366         depending on [__GCC_IEC_559_COMPLEX > 0].
39368 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
39370         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
39371         to iso-639.def.
39373 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
39375         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
39377 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
39379         [BZ #16112]
39380         * malloc/malloc (malloc_info): Do not handle first bin as
39381         special case.
39383 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
39385         * locale/iso-639.def: Add Central Nahuatl (nhn).
39387 2013-11-01  Bruno Haible  <bruno@clisp.org>
39389         [BZ #7003]
39390         * manual/math.texi (BSD Random): Specify range upper bound as
39391         in POSIX.
39393 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
39395         * locale/iso-639.def: Add Meadow Mari (mhr).
39397 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
39399         [BZ #14752], [BZ #15763]
39400         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
39401         Validate name.
39402         * rt/tst_shm.c: Add test for escaping directory.
39404 2013-10-31  Andreas Schwab  <schwab@suse.de>
39406         [BZ #15917]
39407         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
39408         followed by 'x' as part of digit sequence.
39409         * stdio-common/tst-sscanf.c (double_tests2): New tests.
39411 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
39413         [BZ #16037]
39414         * configure.ac: allow GNU Make 4.0 and greater.
39415         * configure: Regenerated.
39417 2013-10-30  Will Newton  <will.newton@linaro.org>
39419         [BZ #16038]
39420         * malloc/hooks.c (memalign_check): Limit alignment to the
39421         maximum representable power of two.
39422         * malloc/malloc.c (__libc_memalign): Likewise.
39423         * malloc/tst-memalign.c (do_test): Add test for very
39424         large alignment values.
39425         * malloc/tst-posix_memalign.c (do_test): Likewise.
39427 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39429         [BZ #11087]
39430         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
39431         (munmap_chunk): Likewise.
39432         (mremap_chunk): Likewise.
39434 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
39436         [BZ #15799]
39437         * stdlib/div.c (div): Remove obsolete code.
39438         * stdlib/ldiv.c (ldiv): Likewise.
39439         * stdlib/lldiv.c (lldiv): Likewise.
39441 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39443         [BZ #16071]
39444         * nss/nss_files/files-XXX.c (get_contents_ret): New
39445         enumerator.
39446         (get_contents): New function.
39447         (internal_getent): Use it.  Expand size of LINEBUFLEN.
39449 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
39451         * configure.in: Moved to ...
39452         * configure.ac: ... here. Change reference to configure.in
39453         to configure.ac.
39454         * sysdeps/arm/preconfigure.ac: ... here.
39455         configure.in to configure.ac.
39456         * sysdeps/gnu/configure.in: Moved to ...
39457         * sysdeps/gnu/configure.ac: ... here.
39458         * sysdeps/i386/configure.in: Moved to ...
39459         * sysdeps/i386/configure.ac: ... here.
39460         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
39461         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
39462         * sysdeps/mach/configure.in: Moved to ...
39463         * sysdeps/mach/configure.ac: ... here.
39464         * sysdeps/mach/hurd/configure.in: Moved to ...
39465         * sysdeps/mach/hurd/configure.ac: ... here.
39466         * sysdeps/powerpc/configure.in: Moved to ...
39467         * sysdeps/powerpc/configure.ac: ... here.
39468         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
39469         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
39470         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
39471         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
39472         * sysdeps/s390/s390-32/configure.in: Moved to ...
39473         * sysdeps/s390/s390-32/configure.ac: ... here.
39474         * sysdeps/s390/s390-64/configure.in: Moved to ...
39475         * sysdeps/s390/s390-64/configure.ac: ... here.
39476         * sysdeps/sh/configure.in: Moved to ...
39477         * sysdeps/sh/configure.ac: ... here.
39478         * sysdeps/sparc/configure.in: Moved to ...
39479         * sysdeps/sparc/configure.ac: ... here.
39480         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
39481         * sysdeps/unix/sysv/linux/configure.ac: ... here.
39482         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
39483         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
39484         * sysdeps/x86_64/configure.in: Moved to ...
39485         * sysdeps/x86_64/configure.ac: ... here.
39486         * sysdeps/x86_64/preconfigure.in: Moved to ...
39487         * sysdeps/x86_64/preconfigure.ac: ... here.
39488         * aclocal.m4: Change reference to configure.in to configure.ac.
39489         * config.h.in: Likewise.
39490         * manual/install.texi: Likewise.
39491         * manual/maint.texi: Likewise.
39492         * Makefile: Likewise.
39493         * malloc/Makefile: Likewise.
39494         * nscd/Makefile: Likewise.
39495         * Makeconfig: Change reference to configure.in and
39496         preconfigure.in to configure.ac and preconfigure.ac
39497         respectively.
39498         * INSTALL: Regenerated.
39499         * configure: Likewise.
39500         * sysdeps/gnu/configure: Likewise.
39501         * sysdeps/i386/configure: Likewise.
39502         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
39503         * sysdeps/mach/configure: Likewise.
39504         * sysdeps/mach/hurd/configure: Likewise.
39505         * sysdeps/powerpc/configure: Likewise.
39506         * sysdeps/powerpc/powerpc32/configure: Likewise.
39507         * sysdeps/powerpc/powerpc64/configure: Likewise.
39508         * sysdeps/s390/s390-32/configure: Likewise.
39509         * sysdeps/s390/s390-64/configure: Likewise.
39510         * sysdeps/sh/configure: Likewise.
39511         * sysdeps/sparc/configure: Likewise.
39512         * sysdeps/unix/sysv/linux/configure: Likewise.
39513         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
39514         * sysdeps/x86_64/configure: Likewise.
39515         * sysdeps/x86_64/preconfigure: Likewise.
39517 2013-10-29  Andreas Schwab  <schwab@suse.de>
39519         * stdio-common/Makefile (tst-swscanf-ENV): Define.
39521 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39523         * benchtests/pow-inputs: Add new inputs.
39525         * benchtests/exp-inputs: Add new inputs.
39527         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
39528         conditional check for return value.
39529         (__cos32): Likewise.
39531 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39533         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
39534         to provide a boost for large inputs with word alignment.
39535         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
39536         implementation based on optimized PPC64 strcpy.
39537         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
39538         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
39539         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
39540         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
39542 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39544         [BZ #2801]
39545         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
39547 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39549         [BZ #14876]
39550         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
39551         * time/tst-strptime.c (day_tests): Add testcase.
39553 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
39555         [BZ #14029]
39556         * manual/pattern.texi: Acknowledge that fnmatch can fail.
39558 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
39560         [BZ #16074]
39561         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
39562         MAP_FAILED on error.
39564 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39566         [BZ #16072]
39567         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
39568         heap for large requests.
39570 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
39572         [BZ #9954]
39573         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
39574         result if the result has no associated interface.
39575         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
39576         interface for all 127.X.Y.Z addresses.
39578 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
39580         * locale/iso-639.def: Add Ligurian (lij)
39582 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
39584         [BZ #15825]
39585         * sunrpc/rpc_main.c: Document rpcgen -5.
39587 2013-10-19  Michael Stahl  <mstahl@redhat.com>
39589         * elf/rtld.c (do_preload): Print the reason why preloading failed.
39591 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39593         [BZ #10278]
39594         * posix/glob.c: Match only directories when trailing slash is present.
39595         * posix/tst-gnuglob.c (my_opendir): Do not open files.
39596         (main): Add testcase.
39598 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
39600         [BZ #15670]
39601         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
39603 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
39605         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
39606         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
39607         AUTH_DES and cindex for FIPS 140-2.
39608         (DES Encryption): Add cindex FIPS 46-3.
39610         * locale/locarchive.h (struct locarhandle): Add fname.
39611         * locale/programs/localedef.c (main): Pass ARGV[remaining]
39612         if an optional argument was specified to --list-archive,
39613         otherwise NULL.
39614         * locale/programs/locarchive.c (show_archive_content): Take new
39615         argument fname and pass it via ah.fname to open_archive.
39616         * locale/programs/localedef.h: Update decl.
39617         (open_archive): If AH->fname is non-null, open that file
39618         rather than the default file name, and don't ignore ENOENT.
39619         (create_archive): Set AH.fname to NULL.
39620         (delete_locales_from_archive): Likewise.
39621         (add_locales_to_archive): Likewise.
39622         * locale/programs/locfile.c (write_all_categories): Likewise.
39624 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
39625             Aldy Hernandez  <aldyh@redhat.com>
39627         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
39628         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
39629         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
39630         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
39631         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
39632         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
39633         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
39634         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
39635         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
39636         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
39637         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
39638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
39639         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
39640         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
39641         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
39642         Likewise.
39643         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
39644         Likewise.
39645         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
39646         Likewise.
39647         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
39648         Likewise.
39649         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
39650         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
39651         Likewise.
39652         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
39653         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
39654         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
39655         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
39656         Likewise.
39657         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
39658         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
39659         * sysdeps/powerpc/preconfigure: Likewise.
39660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
39661         Likewise.
39662         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
39663         Replace contents of file by #include of <fenv_libc.h>.
39664         * sysdeps/powerpc/soft-fp/sfp-machine.h
39665         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
39666         and <sys/prctl.h>.
39667         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
39668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
39669         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
39670         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
39671         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
39672         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
39673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
39674         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
39675         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
39676         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
39677         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
39678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39680         Allow copysignl PLT reference to be missing.
39682 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
39683             Joseph Myers  <joseph@codesourcery.com
39685         [BZ #15948]
39686         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
39687         single character.
39688         (add_to_tablewc): Assert sequence of wide characters is nonempty.
39690 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         * elf/tst-tls-dlinfo.c: Don't include tls.h.
39693         * elf/tst-tls1.c: Likewise.
39694         * elf/tst-tls10.h: Likewise.
39695         * elf/tst-tls14.c: Likewise.
39696         * elf/tst-tls2.c: Likewise.
39697         * elf/tst-tls3.c: Likewise.
39698         * elf/tst-tls4.c: Likewise.
39699         * elf/tst-tls5.c: Likewise.
39700         * elf/tst-tls6.c: Likewise.
39701         * elf/tst-tls7.c: Likewise.
39702         * elf/tst-tls8.c: Likewise.
39703         * elf/tst-tls9.c: Likewise.
39704         * elf/tst-tlsmod1.c: Likewise.
39705         * elf/tst-tlsmod13.c: Likewise.
39706         * elf/tst-tlsmod13a.c: Likewise.
39707         * elf/tst-tlsmod14a.c: Likewise.
39708         * elf/tst-tlsmod16a.c: Likewise.
39709         * elf/tst-tlsmod16b.c: Likewise.
39710         * elf/tst-tlsmod2.c: Likewise.
39711         * elf/tst-tlsmod3.c: Likewise.
39712         * elf/tst-tlsmod4.c: Likewise.
39713         * elf/tst-tlsmod5.c: Likewise.
39714         * elf/tst-tlsmod6.c: Likewise.
39716 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
39718         [BZ #12486]
39719         * malloc/malloc.c: remove checks for statistics.
39721 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39723         [BZ #15277]
39724         * inet/inet_net.c (inet_network): Detect additional invalid strings.
39725         * inet/tst-network.c: Add testcase.
39727 2013-10-17  Andreas Schwab  <schwab@suse.de>
39729         [BZ #15218]
39730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
39731         to determine canonical name.
39733 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
39735         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
39736         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
39737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39738         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39739         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39740         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39742         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39743         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39744         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39745         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39746         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39747         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39748         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39749         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39750         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39751         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39752         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39753         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39754         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39755         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39758         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
39759         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
39760         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39761         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39762         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
39763         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39764         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
39765         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39767         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39768         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39769         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39770         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39771         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39772         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39773         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39774         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39775         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39776         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39778         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39779         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39780         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39781         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39782         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39783         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39784         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39785         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39786         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39787         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39788         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39789         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39790         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39791         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39792         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39794 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #16041]
39797         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
39798         make result into a quiet NaN.
39800 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
39802         * soft-fp/adddf3.c: Fix horizontal whitespace.
39803         * soft-fp/addsf3.c: Likewise.
39804         * soft-fp/addtf3.c: Likewise.
39805         * soft-fp/divdf3.c: Likewise.
39806         * soft-fp/divsf3.c: Likewise.
39807         * soft-fp/divtf3.c: Likewise.
39808         * soft-fp/double.h: Likewise.
39809         * soft-fp/eqdf2.c: Likewise.
39810         * soft-fp/eqsf2.c: Likewise.
39811         * soft-fp/eqtf2.c: Likewise.
39812         * soft-fp/extenddftf2.c: Likewise.
39813         * soft-fp/extended.h: Likewise.
39814         * soft-fp/extendsfdf2.c: Likewise.
39815         * soft-fp/extendsftf2.c: Likewise.
39816         * soft-fp/extendxftf2.c: Likewise.
39817         * soft-fp/fixdfdi.c: Likewise.
39818         * soft-fp/fixdfsi.c: Likewise.
39819         * soft-fp/fixdfti.c: Likewise.
39820         * soft-fp/fixsfdi.c: Likewise.
39821         * soft-fp/fixsfsi.c: Likewise.
39822         * soft-fp/fixsfti.c: Likewise.
39823         * soft-fp/fixtfdi.c: Likewise.
39824         * soft-fp/fixtfsi.c: Likewise.
39825         * soft-fp/fixtfti.c: Likewise.
39826         * soft-fp/fixunsdfdi.c: Likewise.
39827         * soft-fp/fixunsdfsi.c: Likewise.
39828         * soft-fp/fixunsdfti.c: Likewise.
39829         * soft-fp/fixunssfdi.c: Likewise.
39830         * soft-fp/fixunssfsi.c: Likewise.
39831         * soft-fp/fixunssfti.c: Likewise.
39832         * soft-fp/fixunstfdi.c: Likewise.
39833         * soft-fp/fixunstfsi.c: Likewise.
39834         * soft-fp/fixunstfti.c: Likewise.
39835         * soft-fp/floatdidf.c: Likewise.
39836         * soft-fp/floatdisf.c: Likewise.
39837         * soft-fp/floatditf.c: Likewise.
39838         * soft-fp/floatsidf.c: Likewise.
39839         * soft-fp/floatsisf.c: Likewise.
39840         * soft-fp/floatsitf.c: Likewise.
39841         * soft-fp/floattidf.c: Likewise.
39842         * soft-fp/floattisf.c: Likewise.
39843         * soft-fp/floattitf.c: Likewise.
39844         * soft-fp/floatundidf.c: Likewise.
39845         * soft-fp/floatundisf.c: Likewise.
39846         * soft-fp/floatunditf.c: Likewise.
39847         * soft-fp/floatunsidf.c: Likewise.
39848         * soft-fp/floatunsisf.c: Likewise.
39849         * soft-fp/floatunsitf.c: Likewise.
39850         * soft-fp/floatuntidf.c: Likewise.
39851         * soft-fp/floatuntisf.c: Likewise.
39852         * soft-fp/floatuntitf.c: Likewise.
39853         * soft-fp/fmadf4.c: Likewise.
39854         * soft-fp/fmasf4.c: Likewise.
39855         * soft-fp/fmatf4.c: Likewise.
39856         * soft-fp/gedf2.c: Likewise.
39857         * soft-fp/gesf2.c: Likewise.
39858         * soft-fp/getf2.c: Likewise.
39859         * soft-fp/ledf2.c: Likewise.
39860         * soft-fp/lesf2.c: Likewise.
39861         * soft-fp/letf2.c: Likewise.
39862         * soft-fp/muldf3.c: Likewise.
39863         * soft-fp/mulsf3.c: Likewise.
39864         * soft-fp/multf3.c: Likewise.
39865         * soft-fp/negdf2.c: Likewise.
39866         * soft-fp/negsf2.c: Likewise.
39867         * soft-fp/negtf2.c: Likewise.
39868         * soft-fp/op-1.h: Likewise.
39869         * soft-fp/op-2.h: Likewise.
39870         * soft-fp/op-4.h: Likewise.
39871         * soft-fp/op-8.h: Likewise.
39872         * soft-fp/op-common.h: Likewise.
39873         * soft-fp/quad.h: Likewise.
39874         * soft-fp/single.h: Likewise.
39875         * soft-fp/soft-fp.h: Likewise.
39876         * soft-fp/sqrtdf2.c: Likewise.
39877         * soft-fp/sqrtsf2.c: Likewise.
39878         * soft-fp/sqrttf2.c: Likewise.
39879         * soft-fp/subdf3.c: Likewise.
39880         * soft-fp/subsf3.c: Likewise.
39881         * soft-fp/subtf3.c: Likewise.
39882         * soft-fp/truncdfsf2.c: Likewise.
39883         * soft-fp/trunctfdf2.c: Likewise.
39884         * soft-fp/trunctfsf2.c: Likewise.
39885         * soft-fp/trunctfxf2.c: Likewise.
39886         * soft-fp/unorddf2.c: Likewise.
39887         * soft-fp/unordsf2.c: Likewise.
39888         * soft-fp/unordtf2.c: Likewise.
39890 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39892         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39893         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39895 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39897         * elf/dl-libc.c: Clear initfini list after freeing.
39899 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39901         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39902         * soft-fp/addsf3.c: Likewise.
39903         * soft-fp/addtf3.c: Likewise.
39904         * soft-fp/divdf3.c: Likewise.
39905         * soft-fp/divsf3.c: Likewise.
39906         * soft-fp/divtf3.c: Likewise.
39907         * soft-fp/double.h: Likewise.
39908         * soft-fp/eqdf2.c: Likewise.
39909         * soft-fp/eqsf2.c: Likewise.
39910         * soft-fp/eqtf2.c: Likewise.
39911         * soft-fp/extenddftf2.c: Likewise.
39912         * soft-fp/extended.h: Likewise.
39913         * soft-fp/extendsfdf2.c: Likewise.
39914         * soft-fp/extendsftf2.c: Likewise.
39915         * soft-fp/extendxftf2.c: Likewise.
39916         * soft-fp/fixdfdi.c: Likewise.
39917         * soft-fp/fixdfsi.c: Likewise.
39918         * soft-fp/fixdfti.c: Likewise.
39919         * soft-fp/fixsfdi.c: Likewise.
39920         * soft-fp/fixsfsi.c: Likewise.
39921         * soft-fp/fixsfti.c: Likewise.
39922         * soft-fp/fixtfdi.c: Likewise.
39923         * soft-fp/fixtfsi.c: Likewise.
39924         * soft-fp/fixtfti.c: Likewise.
39925         * soft-fp/fixunsdfdi.c: Likewise.
39926         * soft-fp/fixunsdfsi.c: Likewise.
39927         * soft-fp/fixunsdfti.c: Likewise.
39928         * soft-fp/fixunssfdi.c: Likewise.
39929         * soft-fp/fixunssfsi.c: Likewise.
39930         * soft-fp/fixunssfti.c: Likewise.
39931         * soft-fp/fixunstfdi.c: Likewise.
39932         * soft-fp/fixunstfsi.c: Likewise.
39933         * soft-fp/fixunstfti.c: Likewise.
39934         * soft-fp/floatdidf.c: Likewise.
39935         * soft-fp/floatdisf.c: Likewise.
39936         * soft-fp/floatditf.c: Likewise.
39937         * soft-fp/floatsidf.c: Likewise.
39938         * soft-fp/floatsisf.c: Likewise.
39939         * soft-fp/floatsitf.c: Likewise.
39940         * soft-fp/floattidf.c: Likewise.
39941         * soft-fp/floattisf.c: Likewise.
39942         * soft-fp/floattitf.c: Likewise.
39943         * soft-fp/floatundidf.c: Likewise.
39944         * soft-fp/floatundisf.c: Likewise.
39945         * soft-fp/floatunsidf.c: Likewise.
39946         * soft-fp/floatunsisf.c: Likewise.
39947         * soft-fp/floatuntidf.c: Likewise.
39948         * soft-fp/floatuntisf.c: Likewise.
39949         * soft-fp/floatuntitf.c: Likewise.
39950         * soft-fp/fmadf4.c: Likewise.
39951         * soft-fp/fmasf4.c: Likewise.
39952         * soft-fp/fmatf4.c: Likewise.
39953         * soft-fp/gedf2.c: Likewise.
39954         * soft-fp/gesf2.c: Likewise.
39955         * soft-fp/getf2.c: Likewise.
39956         * soft-fp/ledf2.c: Likewise.
39957         * soft-fp/lesf2.c: Likewise.
39958         * soft-fp/letf2.c: Likewise.
39959         * soft-fp/muldf3.c: Likewise.
39960         * soft-fp/mulsf3.c: Likewise.
39961         * soft-fp/multf3.c: Likewise.
39962         * soft-fp/negdf2.c: Likewise.
39963         * soft-fp/negsf2.c: Likewise.
39964         * soft-fp/negtf2.c: Likewise.
39965         * soft-fp/op-1.h: Likewise.
39966         * soft-fp/op-2.h: Likewise.
39967         * soft-fp/op-4.h: Likewise.
39968         * soft-fp/op-8.h: Likewise.
39969         * soft-fp/op-common.h: Likewise.
39970         * soft-fp/quad.h: Likewise.
39971         * soft-fp/single.h: Likewise.
39972         * soft-fp/soft-fp.h: Likewise.
39973         * soft-fp/sqrtdf2.c: Likewise.
39974         * soft-fp/sqrtsf2.c: Likewise.
39975         * soft-fp/sqrttf2.c: Likewise.
39976         * soft-fp/subdf3.c: Likewise.
39977         * soft-fp/subsf3.c: Likewise.
39978         * soft-fp/subtf3.c: Likewise.
39979         * soft-fp/truncdfsf2.c: Likewise.
39980         * soft-fp/trunctfdf2.c: Likewise.
39981         * soft-fp/trunctfsf2.c: Likewise.
39982         * soft-fp/trunctfxf2.c: Likewise.
39983         * soft-fp/unorddf2.c: Likewise.
39984         * soft-fp/unordsf2.c: Likewise.
39985         * soft-fp/unordtf2.c: Likewise.
39987 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39989         [BZ #15672]
39990         * misc/error.c (error_tail): Fix possible buffer overflow.
39992 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39994         [BZ #13028]
39995         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39996         address.
39998 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40000         [BZ #832]
40001         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40002         testing pipefail option.
40004 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40006         * soft-fp/double.h: Indent preprocessor directives inside #if.
40007         * soft-fp/extended.h: Likewise.
40008         * soft-fp/op-2.h: Likewise.
40009         * soft-fp/op-4.h: Likewise.
40010         * soft-fp/op-common.h: Likewise.
40011         * soft-fp/quad.h: Likewise.
40012         * soft-fp/single.h: Likewise.
40013         * soft-fp/soft-fp.h: Likewise.
40015 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40017         * iconv/iconv_prog.c: Fix typos.
40018         * stdio-common/psiginfo-data.h: Likewise.
40020 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40022         [BZ #15764]
40023         * locale/setlocale.c: Fix typo.
40025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40027         [BZ #16036]
40028         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40029         signaling NaN arguments.
40030         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40031         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40033         [BZ #14910]
40034         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40035         unordered operands.
40036         * soft-fp/gesf2.c (__gesf2): Likewise.
40037         * soft-fp/getf2.c (__getf2): Likewise.
40038         * soft-fp/ledf2.c (__ledf2): Likewise.
40039         * soft-fp/lesf2.c (__lesf2): Likewise.
40040         * soft-fp/letf2.c (__letf2): Likewise.
40042         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40043         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40044         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40045         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40046         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40047         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40048         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40049         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40050         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40051         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40052         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40053         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40054         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40055         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40056         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40057         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40058         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40059         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40060         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40061         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40062         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40063         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40064         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40065         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40066         * soft-fp/floattidf.c (__floattidf): Likewise.
40067         * soft-fp/floattisf.c (__floattisf): Likewise.
40068         * soft-fp/floattitf.c (__floattitf): Likewise.
40069         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40070         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40071         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40072         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40073         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40074         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40075         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40076         * soft-fp/gesf2.c (__gesf2): Likewise.
40077         * soft-fp/getf2.c (__getf2): Likewise.
40078         * soft-fp/ledf2.c (__ledf2): Likewise.
40079         * soft-fp/lesf2.c (__lesf2): Likewise.
40080         * soft-fp/letf2.c (__letf2): Likewise.
40082         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40083         Undefine and redefine.
40084         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40085         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40086         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40087         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40088         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40089         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40090         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40091         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40092         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40093         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40094         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40095         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40096         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40097         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40098         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40100         [BZ #16032]
40101         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40102         without decrementing exponent if mantissa >= that for the
40103         denominator, not >.
40104         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40105         denominator, not >.  Decrement exponent in < case instead of
40106         incrementing in >= case.
40107         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40108         without decrementing exponent if mantissa >= that for the
40109         denominator, not >.
40111         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40112         computing saturated result for unsigned overflow.
40114 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40115             Jeff Law  <law@redhat.com>
40117         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40118         (atan2Mp): Add systemtap probe marker.
40119         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40120         (__ieee754_log): Add systemtap probe marker.
40121         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40122         (atanMp): Add systemtap probe marker.
40123         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40124         (tanMp): Add systemtap probe marker.
40125         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40126         (__slowexp): Add systemtap probe marker.
40127         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40128         (__slowpow): Add systemtap probe marker.
40129         * manual/probes.texi: Document probes.
40131 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40133         [BZ #15362]
40134         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40135         written.
40136         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40137         written.
40138         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40139         written to buffer but not flushed.
40140         * libio/iofwrite_u.c:  Likewise.
40141         * libio/iopadn.c:  Return bytes returned even if EOF was
40142         encountered.
40143         * libio/iowpadn.c:  Likewise.
40144         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40145         if _IO_padn does not write the whole buffer.
40146         [!COMPILE_WPRINTF] (PAD): Likewise.
40148 2013-10-10  David S. Miller  <davem@davemloft.net>
40150         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40151         directory block.
40153 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40155         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40156         instead of FSF address.
40157         * soft-fp/fixdfti.c: Likewise.
40158         * soft-fp/fixsfti.c: Likewise.
40159         * soft-fp/fixtfti.c: Likewise.
40160         * soft-fp/fixunsdfti.c: Likewise.
40161         * soft-fp/fixunssfti.c: Likewise.
40162         * soft-fp/fixunstfti.c: Likewise.
40163         * soft-fp/floattidf.c: Likewise.
40164         * soft-fp/floattisf.c: Likewise.
40165         * soft-fp/floattitf.c: Likewise.
40166         * soft-fp/floatuntidf.c: Likewise.
40167         * soft-fp/floatuntisf.c: Likewise.
40168         * soft-fp/floatuntitf.c: Likewise.
40169         * soft-fp/trunctfxf2.c: Likewise.
40171         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40172         * soft-fp/fixdfti.c: Likewise.
40173         * soft-fp/fixsfti.c: Likewise.
40174         * soft-fp/fixtfti.c: Likewise.
40175         * soft-fp/fixunsdfti.c: Likewise.
40176         * soft-fp/fixunssfti.c: Likewise.
40177         * soft-fp/fixunstfti.c: Likewise.
40178         * soft-fp/floattidf.c: Likewise.
40179         * soft-fp/floattisf.c: Likewise.
40180         * soft-fp/floattitf.c: Likewise.
40181         * soft-fp/floatuntidf.c: Likewise.
40182         * soft-fp/floatuntisf.c: Likewise.
40183         * soft-fp/floatuntitf.c: Likewise.
40184         * soft-fp/trunctfxf2.c: Likewise.
40186 2013-10-10  David S. Miller  <davem@davemloft.net>
40188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40190 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40192         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40193         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40194         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40195         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40196         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40197         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40198         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40200         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40201         for NaNs before doing comparisons on argument.
40202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40203         Likewise.
40205 2013-10-10  Will Newton  <will.newton@linaro.org>
40207         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40208         passed to _int_memalign does not overflow.
40210 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40212         * scripts/bench.pl: Add include-sources directive.
40213         * benchtests/README: Update documentation.
40215 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40217         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40218         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40219         instead of FP_INIT_ROUNDMODE.
40220         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40221         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40223         [BZ #16034]
40224         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40225         copy class of input value.
40226         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40227         not handle exceptions.
40228         * soft-fp/negsf2.c (__negsf2): Likewise.
40229         * soft-fp/negtf2.c (__negtf2): Likewise.
40230         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40232 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40234         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40235         semicolon.  From Linux kernel.
40237 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40239         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40241 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40243         [BZ #156]
40244         * manual/socket.texi: Added statement about buffer
40245         for gethostbyname2_r.
40247 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40249         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40250         Use .p2align directive instead, throughout.
40251         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40252         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40253         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40255         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40256         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40257         * sysdeps/x86_64/strchr.S: Likewise.
40258         * sysdeps/x86_64/strrchr.S: Likewise.
40260 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40262         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40264         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40266         * sysdeps/generic/math_private.h (__mpsin1): Remove
40267         declaration.
40268         (__mpcos1): Likewise.
40269         (__mpsin): New argument __range_reduce.
40270         (__mpcos): Likewise.
40271         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40272         (slow): Use __mpsin and __mpcos.
40273         (slow1): Likewise.
40274         (slow2): Likewise.
40275         (sloww): Likewise.
40276         (sloww1): Likewise.
40277         (sloww2): Likewise.
40278         (bsloww): Likewise.
40279         (bsloww1): Likewise.
40280         (bsloww2): Likewise.
40281         (cslow2): Likewise.
40282         (csloww): Likewise.
40283         (csloww1): Likewise.
40284         (csloww2): Likewise.
40285         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40286         range_reduce.  Merge in __mpsin1.
40287         (__mpcos): Likewise.
40288         (__mpsin1): Remove.
40289         (__mpcos1): Likewise.
40291 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40293         * locale/loadlocale.c (_nl_intern_locale_data): Use
40294         LOCFILE_ALIGNED_P.
40295         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40296         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40297         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40298         obstack data is appropriately aligned.
40299         (obstack_int32_grow_fast): Likewise.
40300         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40301         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40302         (add_locale_uint32_array): Likewise.
40304 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40306         * benchtests/Makefile: Remove ARGLIST and RET variables.
40307         ($(objpfx)bench-%.c): Pass only function name to the script.
40308         * benchtests/README: Update documentation.
40309         * benchtests/acos-inputs: Add new directives.
40310         * benchtests/acosh-inputs: Likewise.
40311         * benchtests/asin-inputs: Likewise.
40312         * benchtests/asinh-inputs: Likewise.
40313         * benchtests/atan-inputs: Likewise.
40314         * benchtests/atanh-inputs: Likewise.
40315         * benchtests/cos-inputs: Likewise.
40316         * benchtests/cosh-inputs: Likewise.
40317         * benchtests/exp-inputs: Likewise.
40318         * benchtests/log-inputs: Likewise.
40319         * benchtests/pow-inputs: Likewise.
40320         * benchtests/rint-inputs: Likewise.
40321         * benchtests/sin-inputs: Likewise.
40322         * benchtests/sinh-inputs: Likewise.
40323         * benchtests/tan-inputs: Likewise.
40324         * benchtests/tanh-inputs: Likewise.
40325         * scripts/bench.pl: Add support for new directives.
40327 2013-10-07  Alan Modra  <amodra@gmail.com>
40329         * README: Fix careless merge.
40331 2013-10-05  Alan Modra  <amodra@gmail.com>
40333         * NEWS: Mention powerpc64le support and bugs fixed.
40334         * README: Both big-endian and little-endian powerpc64 supported.
40336 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40338         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
40339         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
40340         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
40341         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
40343 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
40345         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
40346         match prototype.
40348 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
40350         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
40351         Move -mhard-float appending from
40352         ports/sysdeps/powerpc/powerpc32/Makefile.
40353         [$(with-fp) = yes] (ASFLAGS): Likewise.
40354         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
40355         * sysdeps/powerpc/nofpu: Move directory from
40356         ports/sysdeps/powerpc/nofpu.
40357         * sysdeps/powerpc/soft-fp: Move directory from
40358         ports/sysdeps/powerpc/soft-fp.
40359         * sysdeps/powerpc/powerpc32/405: Move directory from
40360         ports/sysdeps/powerpc/powerpc32/405.
40361         * sysdeps/powerpc/powerpc32/440: Move directory from
40362         ports/sysdeps/powerpc/powerpc32/440.
40363         * sysdeps/powerpc/powerpc32/464: Move directory from
40364         ports/sysdeps/powerpc/powerpc32/464.
40365         * sysdeps/powerpc/powerpc32/476: Move directory from
40366         ports/sysdeps/powerpc/powerpc32/476.
40367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
40368         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
40370         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
40371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
40372         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
40373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
40374         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
40375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
40376         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
40377         * README: Update for powerpc-*-linux-gnu software floating point
40378         support in libc.
40380         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
40381         case to powerpc/powerpc32*.
40382         * sysdeps/unix/sysv/linux/configure: Regenerated.
40384         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
40385         (_FPU_MASK_OM): Define as 0x04.
40386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
40387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
40388         0x00c10080.
40389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
40390         0x0000003c.
40391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
40393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
40394         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40395         getcontext_e500.
40396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
40397         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
40398         setcontext_e500.
40399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
40400         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
40401         and setcontext_e500.
40403 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
40405         * locale/iso-3166.def: Update iso-1366.def and related occurrences
40407 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40409         * manual/threads.texi (Default Thread Attributes): Fix typo.
40411 2013-10-04  Will Newton  <will.newton@linaro.org>
40413         * malloc/Makefile: Add tst-memalign.
40414         * malloc/tst-memalign.c: New file.
40416         * malloc/tst-posix_memalign.c: Add comments.
40417         (do_test): Add comments and call free on all potentially
40418         allocated pointers. Add space after cast.
40420         * malloc/tst-pvalloc.c: Add comments.
40421         (do_test): Add comments and call free on all potentially
40422         allocated pointers. Remove duplicate check for NULL pointer.
40423         Add space after cast.
40425         * malloc/tst-valloc.c: Add comments.
40426         (do_test): Add comments and call free on all potentially
40427         allocated pointers. Remove duplicate check for NULL pointer.
40428         Add space after cast.
40430 2013-10-04  Alan Modra  <amodra@gmail.com>
40432         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40433         Use stdint types in rather than __attribute__((mode())).
40434         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40436 2013-10-04  Alan Modra  <amodra@gmail.com>
40438         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40439         Correct handling of unaligned relocs for little-endian.
40440         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40442 2013-10-04  Alan Modra  <amodra@gmail.com>
40444         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
40445         * configure: Regenerate.
40446         * nptl/shlib-versions: Powerpc*le starts at 2.18.
40447         * shlib-versions: Likewise.
40449 2013-10-04  Alan Modra  <amodra@gmail.com>
40451         * string/tester.c (test_memrchr): Increment reported test cycle.
40453 2013-10-04  Alan Modra  <amodra@gmail.com>
40455         * string/test-memcpy.c (do_one_test): When reporting errors, print
40456         string address and don't overrun end of string.
40458 2013-10-04  Alan Modra  <amodra@gmail.com>
40460         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
40461         insrdi.  Make better use of reg selection to speed exit slightly.
40462         Schedule entry path a little better.  Remove useless "are we done"
40463         checks on entry to main loop.  Handle wrapping around zero address.
40464         Correct main loop count.  Handle single left-over word from main
40465         loop inline rather than by using loop_small.  Remove extra word
40466         case in loop_small caused by wrong loop count.  Add little-endian
40467         support.
40468         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40469         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
40470         cache hint.
40471         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40472         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
40473         support.  Avoid rlwimi.
40474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
40476 2013-10-04  Alan Modra  <amodra@gmail.com>
40478         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
40479         insrdi.  Formatting.
40480         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
40481         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40482         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40483         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40484         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40485         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
40487 2013-10-04  Alan Modra  <amodra@gmail.com>
40489         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
40490         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40492         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
40493         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40494         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40496         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40497         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
40498         use of regs.  Use power7 mtocrf.  Tidy function tails.
40500 2013-10-04  Alan Modra  <amodra@gmail.com>
40502         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
40503         Formatting.  Consistently use rXXX register defines or rN defines.
40504         Use early exit labels that avoid restoring unused non-volatile regs.
40505         Make cr field use more consistent with rWORDn compares.  Rename
40506         regs used as shift registers for unaligned loop, using rN defines
40507         for short lifetime/multiple use regs.
40508         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40509         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
40510         addi 1,1,64 to pop stack frame.  Simplify return value code.
40511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40513 2013-10-04  Alan Modra  <amodra@gmail.com>
40515         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
40516         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
40517         rather than rlwimi.
40518         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
40519         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
40520         little-endian support.  Correct typos.
40521         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
40522         rather than rlwimi.
40523         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
40524         in loop and entry code to keep "and." results.
40525         (strchr): Add little-endian support.  Comment.  Move cntlzd
40526         earlier in tail.
40527         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
40529 2013-10-04  Alan Modra  <amodra@gmail.com>
40531         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
40532         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
40533         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
40534         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
40536 2013-10-04  Alan Modra  <amodra@gmail.com>
40538         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
40539         (rTMP): Define as r11.
40540         (strcmp): Add little-endian support.  Optimise tail.
40541         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
40542         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40543         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40544         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40545         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40546         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40547         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40549 2013-10-04  Alan Modra  <amodra@gmail.com>
40551         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40552         little-endian support.  Remove unnecessary "are we done" tests.
40553         Handle "s" wrapping around zero and extremely large "size".
40554         Correct main loop count.  Handle single left-over word from main
40555         loop inline rather than by using small_loop.  Correct comments.
40556         Delete "zero" tail, use "end_max" instead.
40557         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
40559 2013-10-04  Alan Modra  <amodra@gmail.com>
40561         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
40562         support.  Don't branch over align.
40563         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
40564         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
40565         support.  Rearrange tmp reg use to suit.  Comment.
40566         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
40568 2013-10-04  Alan Modra  <amodra@gmail.com>
40570         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
40572 2013-10-04  Alan Modra  <amodra@gmail.com>
40574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
40575         conditional form of branch and link when obtaining pc.
40576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40578 2013-10-04  Alan Modra  <amodra@gmail.com>
40580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
40581         HIWORD/LOWORD.
40582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
40583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
40585 2013-10-04  Alan Modra  <amodra@gmail.com>
40587         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
40588         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
40589         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40590         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
40591         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40592         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40593         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
40594         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40595         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40596         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
40598 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40599             Alistair Popple <alistair@ozlabs.au.ibm.com>
40600             Alan Modra <amodra@gmail.com>
40602         [BZ #15723]
40603         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
40604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
40605         _dl_hwcap access for little-endian.
40606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
40607         destroy vmx regs when saving unaligned.
40608         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
40609         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
40610         destroy vmx regs when saving unaligned.
40612 2013-10-04  Alan Modra  <amodra@gmail.com>
40614         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
40615         Don't use a union to pack hi/low value.
40617 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40619         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
40620         for little-endian.
40621         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40622         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
40623         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40624         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40625         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40627 2013-10-04  Alan Modra  <amodra@gmail.com>
40629         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
40630         constants to usual value for .cst8 section, and remove redundant
40631         high address load.
40632         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
40633         constant for 0x1p52.  Load little-endian words of double from
40634         correct stack offsets.
40636 2013-10-04  Alan Modra  <amodra@gmail.com>
40638         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
40639         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
40640         words of double from correct stack offsets.
40641         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40642         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
40643         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40646         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40647         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40648         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40649         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40650         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40653         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40654         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40655         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
40657         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40659 2013-10-04  Alan Modra  <amodra@gmail.com>
40661         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
40662         64-bit int/double union.
40663         (_FPU_SETCW): Likewise.
40664         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
40665         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
40667 2013-10-04  Alan Modra  <amodra@gmail.com>
40669         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
40670         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
40672 2013-10-04  Alan Modra  <amodra@gmail.com>
40674         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
40675         use vector int constants.
40676         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
40678 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40680         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
40681         array with long long.
40682         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
40683         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
40684         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
40685         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
40686         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
40687         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
40688         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
40689         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
40690         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
40691         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
40692         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
40693         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
40694         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
40696 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
40698         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
40699         (__signbit): Likewise.  Correct for little-endian.
40700         (__signbitl): Call __signbit.
40701         (lrint): Correct for little-endian.
40702         (lrintf): Call lrint.
40704 2013-10-04  Alan Modra  <amodra@gmail.com>
40706         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
40707         union 32-bit int array member with 64-bit int array.
40708         (t515, tm256): Double rather than long double.
40709         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
40711 2013-10-04  Alan Modra  <amodra@gmail.com>
40713         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
40714         Delete.
40715         (IEEE854_LONG_DOUBLE_BIAS): Delete.
40716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
40717         version of math_ldbl.h.
40719 2013-10-04  Alan Modra  <amodra@gmail.com>
40721         [BZ #15734], [BZ #15735]
40722         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
40723         all uses of ieee875 long double macros and unions.  Simplify test
40724         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
40725         ldbl_extract_mantissa value for ix,iy exponents.  Properly
40726         normalize after ldbl_extract_mantissa, and don't add hidden bit
40727         already handled.  Don't treat low word of ieee854 mantissa like
40728         low word of IBM long double and mask off bit when testing for
40729         zero.
40730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
40731         all uses of ieee875 long double macros and unions.  Simplify tests
40732         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
40733         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
40734         two1022, instead use their values.  Recognise that tests for large
40735         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
40736         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
40737         Rewrite all uses of ieee875 long double macros and unions.  Simplify
40738         test for 0.0L and nan.  Correct negation.
40739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
40740         ieee875 long double macros and unions.  Correct output for large
40741         magnitude x.  Correct absolute value calculation.
40742         (__erfcl): Likewise.
40743         * math/libm-test.inc: Add tests for errors discovered in IBM long
40744         double versions of fmodl, remainderl, erfl and erfcl.
40746 2013-10-04  Alan Modra  <amodra@gmail.com>
40748         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
40749         all uses of ieee854 long double macros and unions.  Simplify tests
40750         for long doubles that are fully specified by the high double.
40751         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
40752         Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
40754         Remove dead code too.
40755         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
40756         (__ieee754_ynl): Likewise.
40757         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40758         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
40759         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
40760         Remove dead code too.
40761         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
40765         Simplify.
40766         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
40767         Simplify.
40768         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
40769         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
40770         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
40771         Comment on variable precision.
40772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
40773         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40774         Likewise.
40775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
40776         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40777         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
40779         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
40781 2013-10-04  Alan Modra  <amodra@gmail.com>
40783         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
40784         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
40785         all uses of ieee854 long double macros and unions.
40786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
40787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40788         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
40789         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
40790         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
40791         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40792         Likewise.
40793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
40794         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40795         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
40796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
40798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
40799         Simplify sign and nan test too.
40800         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
40801         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
40802         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
40803         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
40804         Likewise.
40805         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40806         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
40807         Likewise.
40808         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40809         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
40810         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
40811         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
40812         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
40813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
40815 2013-10-04  Alan Modra  <amodra@gmail.com>
40817         * stdio-common/printf_size.c (__printf_size): Don't use
40818         union ieee854_long_double in fpnum union.
40819         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
40820         signbit macro to retrieve sign from long double.
40821         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
40822         retrieve sign from long double.
40823         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
40824         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
40825         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
40826         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40827         * math/test-misc.c (main): Don't use union ieee854_long_double.
40829 2013-10-04  Alan Modra  <amodra@gmail.com>
40831         [BZ #15680]
40832         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
40833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
40834         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
40835         calculation.  Remove unnecessary test for denormal exponent.
40836         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
40837         Correct handling of denormals.  Avoid undefined shift behaviour.
40838         Correct normalisation of low mantissa when low double is denormal.
40839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
40840         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
40841         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
40842         Correct normalisation of low mantissa.  Test for overflow of high
40843         mantissa and normalise.
40844         (ldbl_nearbyint): Use more readable constant for two52.
40845         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
40846         (__mpn_construct_long_double): Fix test for overflow of high
40847         mantissa and correct normalisation.  Avoid undefined shift.
40849 2013-10-04  Alan Modra  <amodra@gmail.com>
40851         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40852         (union ibm_extended_long_double): Define as an array of ieee754_double.
40853         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40855         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40856         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40860         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40862         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40863         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40865 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40867         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40868         page size instead of calling getpagesize.
40870         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40871         (LOCFILE_ALIGN_MASK): Likewise.
40872         (LOCFILE_ALIGN_UP): Likewise.
40873         (LOCFILE_ALIGNED_P): Likewise.
40874         * locale/programs/ld-collate.c (collate_output): Use the new
40875         macros instead of __alignof__ (int32_t).
40876         * locale/weight.h (findidx): Likewise.
40878 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40880         [BZ #431]
40881         * manual/string.texi: Fix strncat and wcsncat.
40883 2013-10-03  Brooks Moses  <bmoses@google.com>
40885         [BZ #15915]
40886         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40887         * Makerules: ...here, and adjust associated comments.
40889 2013-10-02  Will Newton  <will.newton@linaro.org>
40891         * malloc/Makefile: Add tst-pvalloc.
40892         * malloc/tst-pvalloc.c: New file.
40894 2013-10-02  Will Newton  <will.newton@linaro.org>
40896         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40897         improve test coverage.
40899 2013-10-02  Will Newton  <will.newton@linaro.org>
40901         * malloc/Makefile: Add tst-posix_memalign.
40902         * malloc/tst-posix_memalign.c: New file.
40904 2013-10-01  Eric Blake  <eblake@redhat.com>
40906         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40907         Use __THROWNL rather than __THROW on static functions.
40909 2013-09-30  Petr Machata  <pmachata@redhat.com>
40911         * elf/elf.h (R_AARCH64_ABS16): New macro.
40912         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40913         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40914         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40915         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40916         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40917         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40918         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40919         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40920         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40921         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40922         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40923         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40924         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40925         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40926         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40927         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40928         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40929         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40930         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40931         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40932         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40933         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40934         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40935         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40936         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40937         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40938         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40939         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40940         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40941         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40942         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40943         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40944         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40945         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40946         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40947         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40948         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40949         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40950         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40951         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40952         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40953         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40954         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40955         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40956         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40957         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40958         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40959         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40960         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40961         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40962         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40963         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40964         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40965         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40966         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40967         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40968         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40969         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40970         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40971         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40972         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40973         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40974         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40975         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40976         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40977         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40978         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40979         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40980         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40981         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40982         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40983         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40984         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40985         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40986         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40987         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40988         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40989         (R_AARCH64_TLSDESC_LDR): Likewise.
40990         (R_AARCH64_TLSDESC_ADD): Likewise.
40991         (R_AARCH64_TLSDESC_CALL): Likewise.
40993 2013-09-30  Andreas Schwab  <schwab@suse.de>
40995         [BZ #15048]
40996         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40997         the nss database lookup.
40998         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41001 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41003         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41005 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41007         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41008         ${Bash-specific parameter/pattern/string} parameter expansion.
41009         * sysdeps/unix/make-syscalls.sh: Likewise.
41011 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41013         * sysdeps/sh/stackguard-macros.h: New file.
41015 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41018         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41019         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41020         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41021         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41022         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41024 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41026         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41027         Fix thread ID register.
41029 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41031         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41032         [POSIX || UNIX98]: Require rather than permitting all symbols from
41033         <time.h>.
41034         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41035         element of struct sched_param.
41036         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41037         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41038         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41039         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41040         constant.
41042 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41044         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41045         argument calculation.
41047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41049         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41050         Expect macro.
41051         [POSIX] (pthread_attr_t): Do not require type.
41052         [POSIX] (pthread_cond_t): Likewise.
41053         [POSIX] (pthread_condattr_t): Likewise.
41054         [POSIX] (pthread_key_t): Likewise.
41055         [POSIX] (pthread_mutex_t): Likewise.
41056         [POSIX] (pthread_mutexattr_t): Likewise.
41057         [POSIX] (pthread_once_t): Likewise.
41058         [POSIX] (pthread_t): Likewise.
41059         [POSIX-based standards] (pthread_atfork): Expect function.
41061 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41062             Richard Sandiford  <richard@codesourcery.com>
41064         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41065         (swap_endianness_p): New extern variable.
41066         (set_big_endian): New inline function.
41067         (maybe_swap_uint32): Likewise.
41068         (maybe_swap_uint32_array): Likewise.
41069         (maybe_swap_uint32_obstack): Likewise.
41070         * locale/programs/locfile.c: Include <stdbool.h>.
41071         (swap_endianness_p): New variable.
41072         (add_locale_uint32): Call maybe_swap_uint32.
41073         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41074         (write_locale_data): Call maybe_swap_uint32_array.
41075         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41076         maybe_swap_uint32.
41077         (obstack_int32_grow_fast): Likewise.
41078         (output_weightwc): Call maybe_swap_uint32_obstack.
41079         (collate_output): Likewise.
41080         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41081         (OPT_LITTLE_ENDIAN): Likewise.
41082         (options): Add --little-endian and --big-endian options.
41083         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41084         * locale/programs/locarchive.c: Include "locfile.h".
41085         (GET): New macro.
41086         (SET): Likewise.
41087         (INC): Likewise.
41088         (create_archive): Use the new macros to access fields of
41089         structures directly mapped from or written to locale archives.
41090         (oldlocrecentcmp): Likewise.
41091         (enlarge_archive): Likewise.
41092         (insert_name): Likewise.
41093         (add_alias): Likewise.
41094         (add_locale): Likewise.
41095         (delete_locales_from_archive): Likewise.
41096         (show_archive_content): Likewise.
41097         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41098         locale data.
41100 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41102         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41103         http://www.gnu.org/doc/freemanuals.texi.
41104         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41106 2013-09-24  Will Newton  <will.newton@linaro.org>
41108         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41109         macro.
41111 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41113         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41114         unsigned char.
41116 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41118         * manual/threads.texi (POSIX Threads): Fix a typo.
41120 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41122         [BZ #14547]
41123         * string/tst-strcoll-overflow.c: New test case.
41124         * string/Makefile (xtests): Add tst-strcoll-overflow.
41125         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41126         cache if string sizes may cause integer overflow.
41128         [BZ #14547]
41129         * string/strcoll_l.c (coll_seq): New members rule, idx,
41130         save_idx and back_us.
41131         (get_next_seq_nocache): New function.
41132         (do_compare_nocache): New function.
41133         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41134         when malloc fails.
41136 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41138         [BZ #15754]
41139         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41140         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41141         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41143         [BZ #15754]
41144         * elf/Makefile (tests): Add tst-ptrguard1.
41145         (tests-static): Add tst-ptrguard1-static.
41146         (tst-ptrguard1-ARGS): Define.
41147         (tst-ptrguard1-static-ARGS): Define.
41148         * elf/tst-ptrguard1.c: New file.
41149         * elf/tst-ptrguard1-static.c: New file.
41150         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41151         * sysdeps/i386/stackguard-macros.h: Likewise.
41152         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41153         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41154         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41155         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41156         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41157         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41159 2013-09-23  Hector Marco  <hecmargi@upv.es>
41160             Ismael Ripoll  <iripoll@disca.upv.es>
41161             Carlos O'Donell  <carlos@redhat.com>
41163         [BZ #15754]
41164         * sysdeps/generic/stackguard-macros.h: Define
41165         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41166         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41167         Define __pointer_chk_guard_local.
41168         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41169         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41171 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41173         [BZ #15859]
41174         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41176 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41178         * include/string.h (__ffs): Declare as hidden.
41179         * string/ffs.c (__ffs): Define as hidden.
41180         * sysdeps/i386/ffs.c (__ffs): Likewise.
41181         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41182         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41183         * sysdeps/s390/ffs.c (__ffs): Likewise.
41184         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41186 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41188         * NEWS: Mention malloc probes.
41190         * malloc/arena.c (new_heap): New memory_heap_new probe.
41191         (grow_heap): New memory_heap_more probe.
41192         (shrink_heap): New memory_heap_less probe.
41193         (heap_trim): New memory_heap_free probe.
41194         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41195         (systrim): New memory_sbrk_less probe.
41196         * manual/probes.texi: Document them.
41198         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41199         * manual/probes.texi: Document it.
41201         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41202         (__libc_realloc): Add memory_realloc_retry probe.
41203         (__libc_memalign): Add memory_memalign_retry probe.
41204         (__libc_valloc): Add memory_valloc_retry probe.
41205         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41206         (__libc_calloc): Add memory_calloc_retry probe.
41207         * manual/probes.texi: Document them.
41209         * malloc/arena.c (get_free_list): Add probe
41210         memory_arena_reuse_free_list.
41211         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41212         and memory_arena_reuse.
41213         (arena_get2) [!PER_THREAD]: Likewise.
41214         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41215         memory_arena_reuse_realloc.
41216         * manual/probes.texi: Document them.
41218         * malloc/malloc.c (__libc_free): Add
41219         memory_mallopt_free_dyn_thresholds probe.
41220         (__libc_mallopt): Add multiple memory_mallopt probes.
41221         * manual/probes.texi: Document them.
41223         * malloc/malloc.c: Include stap-probe.h.
41224         (__libc_mallopt): Add memory_mallopt probe.
41225         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41226         * manual/probes.texi: New.
41227         * manual/Makefile (chapters): Add probes.
41228         * manual/threads.texi: Set next node.
41230 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41232         [BZ #15963, #13985]
41233         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41234         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41235         Add `Chinese' to `nan' entry name.
41237 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41239         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41240         (POLYNOMIAL): Likewise.
41241         (TAYLOR_SINCOS): Likewise.
41242         (TAYLOR_SLOW): Likewise.
41243         (__sin): Use TAYLOR_SINCOS.
41244         (__cos): Likewise.
41245         (slow): Use TAYLOR_SLOW.
41246         (sloww): Likewise.
41247         (bsloww): Likewise.
41248         (csloww): Likewise.
41250 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41252         * stdlib/strtod_l.c: Fix buffer overrun.
41254 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41256         * benchtests/Makefile (bench): Add sincos.
41257         * benchtests/bench-sincos.c: New file.
41259         * math/libm-test.inc (cos_test_data): New test inputs.
41260         (sin_test_data): Likewise.
41262         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41263         macro.
41264         (__sin): Use it.
41265         (__cos): Likewise.
41266         (slow1): Likewise.
41267         (slow2): Likewise.
41268         (sloww1): Likewise.
41269         (sloww2): Likewise.
41270         (bsloww1): Likewise.
41271         (bsloww2): Likewise.
41272         (cslow2): Likewise.
41273         (csloww1): Likewise.
41274         (csloww2): Likewise.
41276         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41277         function.
41278         (__sin): Use it.
41279         (__cos): Likewise.
41281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41282         gotos.
41283         (__cos): Likewise.
41285 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41287         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41288         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41289         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41290         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41291         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41292         * elf/cache.c (print_entry): Handle the new cache flags.
41294 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41295             Aldy Hernandez  <aldyh@redhat.com>
41297         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41298         Change condition to [_SOFT_FLOAT].
41299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41304         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41305         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41306         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41307         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41308         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41311         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41314         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41315         declaration.
41317 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41319         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41320         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41321         (__longjmp): Use LOAD_GP to load saved GPRs.
41322         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41323         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41324         (__sigsetjmp): Use SAVE_GP to save GPRs.
41326         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
41327         Do not append -msoft-float.
41328         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
41330 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
41334 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
41336         [BZ #15966]
41337         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
41338         (_FPU_GETCW): Use initial "__" on variable and field names but not
41339         on macro parameter name.
41340         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
41341         parentheses around reference to macro parameter.
41343 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
41345         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
41346         prototype.
41347         (ctype_startup): Use uint32_t in cast and sizeof for
41348         ctype->charnames.
41350 2013-09-11  Jia Liu  <proljc@gmail.com>
41352         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
41353         __daddr_t_defined.
41354         [__FreeBSD__]: Likewise.
41356 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
41358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
41359         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
41360         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
41361         (strchr): Remove __strchr_sse42 ifunc selection.
41362         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
41363         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
41365 2013-09-11  Will Newton  <will.newton@linaro.org>
41367         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
41368         parameter to RES. Remove hardcoded 1000 value.
41369         * benchtests/bench-skeleton.c (main): Pass RES parameter
41370         to TIMING_INIT and multiply result by 1000.
41372 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41376 2013-09-11  Andreas Schwab  <schwab@suse.de>
41378         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
41379         if not defined.
41380         (O_TMPFILE) [__USE_GNU]: Define.
41381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
41382         Define.
41384 2013-09-11  Will Newton  <will.newton@linaro.org>
41386         [BZ #15857]
41387         * malloc/malloc.c (__libc_memalign): Check the value of bytes
41388         does not overflow.
41390 2013-09-11  Will Newton  <will.newton@linaro.org>
41392         [BZ #15856]
41393         * malloc/malloc.c (__libc_valloc): Check the value of bytes
41394         does not overflow.
41396 2013-09-11  Will Newton  <will.newton@linaro.org>
41398         [BZ #15855]
41399         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
41400         does not overflow.
41402 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
41404         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
41405         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41406         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41407         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41408         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41410 2013-09-10  Allan McRae  <allan@archlinux.org>
41412         [BZ #15748]
41413         * manual/arith.texi (Parsing of Floats): Clarify
41414         cross-reference.
41416         [BZ #15849]
41417         * manual/install.texi (Running make install): Mention
41418         --enable-pt-chown.
41419         * INSTALL: Regenerated.
41421 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
41423         * csu/init-first.c (_init): Remove the !SHARED condition around
41424         FPU control word initialization.
41425         * elf/dl-support.c (_dl_fpu_control): New variable.
41426         (_dl_aux_init) <AT_FPUCW>: Initialize it.
41427         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
41428         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
41429         * math/test-fpucw-static.c: New file.
41430         * math/test-fpucw-ieee.c: New file.
41431         * math/test-fpucw-ieee-static.c: New file.
41432         * math/Makefile (tests): Add `test-fpucw-ieee' and
41433         `$(tests-static)'.
41434         (tests-static): New variable.
41435         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
41436         dependency to...
41437         [($(build-shared),yes)]
41438         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41439         ... this.
41440         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
41441         New dependency.
41443 2013-09-09  Allan McRae  <allan@archlinux.org>
41445         [BZ #15939]
41446         * manual/string.texi (Collation Functions): Fix typo in
41447         strcoll example.
41448         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
41450         [BZ #15893]
41451         * stdlib/isomac.c (get_null_defines): Fix memory leak.
41453         [BZ #15892]
41454         * libio/memstream.c (open_memstream): Fix memory leak.
41455         * libio/wmemstream.c (open_wmemstream): Likewise.
41457         [BZ #15895]
41458         * nscd/netgroupcache.c: Fix nesting of ifdefs.
41460 2013-09-09  Will Newton  <will.newton@linaro.org>
41462         * malloc/Makefile: Add tst-realloc to tests.
41463         * malloc/tst-realloc.c: New file.
41465 2013-09-09  Allan McRae  <allan@archlinux.org>
41467         [BZ #15844]
41468         * COPYING: Update from GNU website to fix FSF address.
41469         * COPYING.LIB: Likewise.
41471 2013-09-06  David S. Miller  <davem@davemloft.net>
41473         * po/zh_TW.po: Update Chinese (traditional) translation from
41474         translation project.
41476 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
41477             Joseph Myers  <joseph@codesourcery.com>
41479         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
41480         "localeinfo.h".
41481         (obstack_chunk_alloc): New macro.
41482         (obstack_chunk_free): Likewise.
41483         (record_offset): New function.
41484         (init_locale_data): Likewise.
41485         (align_locale_data): Likewise.
41486         (add_locale_empty): Likewise.
41487         (add_locale_raw_data): Likewise.
41488         (add_locale_raw_obstack): Likewise.
41489         (add_locale_string): Likewise.
41490         (add_locale_wstring): Likewise.
41491         (add_locale_uint32): Likewise.
41492         (add_locale_uint32_array): Likewise.
41493         (add_locale_char): Likewise.
41494         (start_locale_structure): Likewise.
41495         (end_locale_structure): Likewise.
41496         (start_locale_prelude): Likewise.
41497         (end_locale_prelude): Likewise.
41498         (write_locale_data): Take locale_file structure rather than an
41499         iovec.
41500         * locale/programs/locfile.h: Include "obstack.h".
41501         (struct locale_file): Change to store locale file contents instead
41502         of header.
41503         (init_locale_data): New prototype.
41504         (align_locale_data): Likewise.
41505         (add_locale_empty): Likewise.
41506         (add_locale_raw_data): Likewise.
41507         (add_locale_raw_obstack): Likewise.
41508         (add_locale_string): Likewise.
41509         (add_locale_wstring): Likewise.
41510         (add_locale_uint32): Likewise.
41511         (add_locale_uint32_array): Likewise.
41512         (add_locale_char): Likewise.
41513         (start_locale_structure): Likewise.
41514         (end_locale_structure): Likewise.
41515         (start_locale_prelude): Likewise.
41516         (end_locale_prelude): Likewise.
41517         (write_locale_data): Update prototype.
41518         * locale/programs/3level.h (struct TABLE): Remove result field.
41519         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
41520         Use new locale_file interface.
41521         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
41522         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
41523         * locale/programs/ld-address.c (address_output): Use new
41524         locale_file interface.
41525         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
41526         NO_ADD_LOCALE.
41527         (collate_finish): Don't call collseq_table_finalize.
41528         (collate_output): Use new locale_file interface.
41529         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
41530         in file.
41531         (NO_FINALIZE): Change to NO_ADD_LOCALE.
41532         (TABLE): Move defines earlier in file.
41533         (ELEMENT): Likewise.
41534         (DEFAULT): Likewise.
41535         (wctrans_table_add): Move macro and inline function earlier in
41536         file.
41537         (struct wctype_table): Move type earlier in file.
41538         (add_locale_wctype_table): New static prototype.
41539         (struct locale_ctype_t): Use logical types instead of struct iovec
41540         pointers for members.
41541         (ctype_output): Use new locale_file interface.
41542         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
41543         new locale_file interface.
41544         (allocate_arrays): Update for use of new locale_file interface.
41545         * locale/programs/ld-identification.c (identification_output): Use
41546         new locale_file interface.
41547         * locale/programs/ld-measurement.c (measurement_output): Likewise.
41548         * locale/programs/ld-messages.c (messages_output): Likewise.
41549         * locale/programs/ld-monetary.c (monetary_output): Likewise.
41550         * locale/programs/ld-name.c (name_output): Likewise.
41551         * locale/programs/ld-numeric.c (numeric_output): Likewise.
41552         * locale/programs/ld-paper.c (paper_output): Likewise.
41553         * locale/programs/ld-telephone.c (telephone_output): Likewise.
41554         * locale/programs/ld-time.c (time_output): Likewise.
41556 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41558         * benchtests/Makefile: Add memrchr benchmark.
41559         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
41560         benchmark as memrchr.
41561         * benchtests/bench-memrchr-ifunc.c: New file.
41562         * benchtests/bench-memrchr.c: New file.
41564 2013-09-06   Will Newton  <will.newton@linaro.org>
41566         * benchtests/Makefile (string-bench): Add memcpy.
41568 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
41569             Cong Wang  <amwang@redhat.com>
41571         [BZ #15850]
41572         * sysdeps/unix/sysv/linux/bits/in.h
41573         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
41574         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
41575         before __USE_KERNEL_IPV6_DEFS uses.
41576         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
41577         IPPROTO_BEETPH.
41578         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
41579         sockaddr_in6, or ipv6_mreq.
41581 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41583         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
41584         memory access for final bytes in some large inputs.
41585         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
41587 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41589         * string/test-memrchr.c: New file.
41590         * string/test-memrchr-ifunc.c: New file.
41591         * string/Makefile: Add new memrchr testcase.
41593 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
41595         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
41596         fanotify_init returns EPERM.
41598 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41600         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
41601         errors.
41602         (top level): Treat second token from macro or constant entries for
41603         allowed headers as allowed.
41604         * include/complex.h: Condition internal declarations on
41605         [!_ISOMAC].
41606         * include/fenv.h: Condition include of <stdbool.h> and internal
41607         declarations on [!_ISOMAC].
41609 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
41611         [BZ #15923]
41612         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
41614 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
41616         * configure.in (--enable-versioning): Remove configure option.
41617         (libc_cv_asm_symver_directive): Remove configure test.
41618         (libc_cv_ld_version_script_option): Likewise.
41619         (VERSIONING): Remove variable and AC_SUBST.
41620         (DO_VERSIONING): Remove AC_DEFINE.
41621         * configure: Regenerated.
41622         * config.h.in (DO_VERSIONING): Remove macro.
41623         * Makerules [$(versioning) = yes]: Change conditionals to
41624         [$(build-shared) = yes].
41625         * config.make.in (versioning): Remove variable.
41626         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
41627         [$(build-shared) = yes].
41628         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
41629         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
41630         * elf/Makefile [$(versioning) = yes]: Change conditionals to
41631         [$(build-shared) = yes].
41632         * extra-lib.mk [$(versioning) = yes]: Likewise.
41633         * hurd/Makefile [$(versioning) = yes]: Likewise.
41634         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
41635         [SHARED].
41636         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
41637         [SHARED].
41638         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41639         [SHARED && !NO_HIDDEN].
41640         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
41641         [SHARED].
41642         [SHARED && DO_VERSIONING]: Likewise..
41643         * libio/Makefile [$(versioning) = yes]: Change conditionals to
41644         [$(build-shared) = yes].
41645         * manual/install.texi (--disable-versioning): Remove
41646         documentation.
41647         * INSTALL: Regenerated.
41648         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
41649         to [SHARED].
41650         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
41651         [$(build-shared) = yes].
41652         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
41653         * sysdeps/i386/i686/multiarch/strstr-c.c
41654         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
41655         [SHARED && !NO_HIDDEN].
41656         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
41657         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
41658         * sysdeps/powerpc/powerpc32/dl-machine.c
41659         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
41660         * sysdeps/powerpc/powerpc32/sysdep.h
41661         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
41662         to [SHARED && PIC && !NO_HIDDEN].
41663         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
41664         conditional to [SHARED].
41666 2013-09-04   Will Newton  <will.newton@linaro.org>
41668         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
41669         * benchtests/bench-string.h: Include bench-timing.h instead
41670         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
41671         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
41672         call to HP_TIMING_DIFF_INIT.
41673         * benchtests/bench-memccpy.c: Use bench-timing.h macros
41674         instead of hp-timing.h macros.
41675         * benchtests/bench-memchr.c: Likewise.
41676         * benchtests/bench-memcmp.c: Likewise.
41677         * benchtests/bench-memcpy.c: Likewise.
41678         * benchtests/bench-memmem.c: Likewise.
41679         * benchtests/bench-memmove.c: Likewise.
41680         * benchtests/bench-memset.c: Likewise.
41681         * benchtests/bench-rawmemchr.c: Likewise.
41682         * benchtests/bench-strcasecmp.c: Likewise.
41683         * benchtests/bench-strcasestr.c: Likewise.
41684         * benchtests/bench-strcat.c: Likewise.
41685         * benchtests/bench-strchr.c: Likewise.
41686         * benchtests/bench-strcmp.c: Likewise.
41687         * benchtests/bench-strcpy.c: Likewise.
41688         * benchtests/bench-strcpy_chk.c: Likewise.
41689         * benchtests/bench-strlen.c: Likewise.
41690         * benchtests/bench-strncasecmp.c: Likewise.
41691         * benchtests/bench-strncat.c: Likewise.
41692         * benchtests/bench-strncmp.c: Likewise.
41693         * benchtests/bench-strncpy.c: Likewise.
41694         * benchtests/bench-strnlen.c: Likewise.
41695         * benchtests/bench-strpbrk.c: Likewise.
41696         * benchtests/bench-strrchr.c: Likewise.
41697         * benchtests/bench-strspn.c: Likewise.
41698         * benchtests/bench-strstr.c: Likewise.
41700 2013-09-04  Will Newton  <will.newton@linaro.org>
41702         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
41704 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
41706         [BZ #15427]
41707         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
41708         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
41709         * math/libm-test.inc (lgamma_test_data): Add more tests.
41710         * sysdeps/i386/fpu/libm-test-ulps: Update.
41711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41713 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
41715         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
41716         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41717         Add ifunc.
41718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41719         Add strcmp-sse2-unaligned
41720         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
41722 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41724         * Versions.def (libc): Add GLIBC_2.19.
41726 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
41728         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
41729         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
41731 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
41733         [BZ #14155]
41734         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
41735         intermediate calculations in recurrence.
41736         (__ieee754_ynf): Likewise.
41737         * math/libm-test.inc (jn_test_data): Do not allow spurious
41738         underflow exception.  Add more tests.
41739         (yn_test_data): Add more tests.
41740         * sysdeps/i386/fpu/libm-test-ulps: Update.
41741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41743 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
41745         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
41747 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41749         * csu/init-first.c: Fix then/than typos.
41750         * locale/programs/ld-collate.c: Likewise.
41751         * locale/programs/linereader.h: Likewise.
41752         * manual/charset.texi: Likewise.
41753         * manual/filesys.texi: Likewise.
41754         * manual/stdio.texi: Likewise.
41755         * manual/string.texi: Likewise.
41756         * stdlib/fmtmsg.c: Likewise.
41757         * sysdeps/i386/stpncpy.S: Likewise.
41758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41759         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41761         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41763 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
41765         * elf/dl-open.c: Fix typos.
41766         * iconvdata/gbbig5.c: Likewise.
41767         * iconvdata/iso-2022-jp.c: Likewise.
41768         * iconv/gconv_int.h: Likewise.
41769         * iconv/loop.c: Likewise.
41770         * nis/rpcsvc/nis.h: Likewise.
41771         * resolv/ns_name.c: Likewise.
41772         * stdio-common/vfscanf.c: Likewise.
41773         * streams/stropts.h: Likewise.
41774         * sunrpc/rpc_thread.c: Likewise.
41775         * sysdeps/i386/strpbrk.S: Likewise.
41776         * sysdeps/ieee754/k_standard.c: Likewise.
41777         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41778         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41779         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
41780         * sysdeps/mach/hurd/profil.c: Likewise.
41781         * sysdeps/s390/dl-procinfo.h: Likewise.
41782         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
41783         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41784         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
41785         * sysdeps/x86_64/dl-trampoline.S: Likewise.
41786         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41788 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
41790         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
41791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
41793 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
41795         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
41796         aix specific files.
41797         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
41798         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
41799         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
41800         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
41801         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
41802         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
41803         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
41804         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
41806 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41807             Roland McGrath  <roland@hack.frob.com>
41809         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
41810         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
41812 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41814         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
41815         __executable_start symbol instead of _start.
41817 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
41819         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
41820         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
41821         Move macros to...
41822         * sysdeps/gnu/ldsodefs.h: ... this new file.
41824         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
41825         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
41826         instead of ELFOSABI_LINUX.
41828         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
41829         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
41830         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
41831         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
41832         Likewise.
41833         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
41834         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
41835         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
41836         Likewise.
41837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41838         (ibm_extended_long_double): Add ieee_nan member.
41839         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
41840         (do_test): New function.
41842         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
41843         TEST_TRUNC.
41844         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
41845         functions, renamed from truncdfsf_test, trunctfsf_test,
41846         trunctfdf_test.
41847         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
41848         functions.
41849         (do_test): Run all these.
41851 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41853         * argp/argp-help.c: Fix typos.
41854         * argp/argp-parse.c: Likewise.
41855         * debug/backtracesyms.c: Likewise.
41856         * elf/elf.h: Likewise.
41857         * malloc/malloc.c: Likewise.
41858         * nis/nis_print.c: Likewise.
41859         * resolv/res_comp.c: Likewise.
41860         * stdlib/stdlib.h: Likewise.
41861         * sunrpc/clnt_tcp.c: Likewise.
41862         * sunrpc/clnt_udp.c: Likewise.
41863         * sunrpc/clnt_unix.c: Likewise.
41864         * sysdeps/unix/bsd/ptsname.c: Likewise.
41865         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41866         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41868         Likewise.
41869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41870         Likewise.
41871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41872         Likewise.
41873         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41875 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41877         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41880 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41882         [BZ #15897]
41883         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41884         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41885         ($(objpfx)bug-dl-leaf): New rule.
41886         ($(objpfx)bug-dl-leaf.so): Likewise.
41887         ($(objpfx)bug-dl-leaf.out): Likewise.
41888         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41889         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41890         * dlfcn/bug-dl-leaf.c: New test.
41891         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41892         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41893         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41894         (dlclose): Likewise.
41895         (dlmopen): Likewise.
41897 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41899         * include/netdb.h [!_ISOMAC]:
41900         Don't include <tls.h>.
41901         (h_errno, __libc_h_errno): Move declaration and macros out of
41902         [_LIBC_REENTRANT].
41904         * include/resolv.h [_RESOLV_H_]:
41905         Don't include <tls.h>.
41906         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41907         * resolv/res_libc.c: Don't include <tls.h>.
41908         (_res): Use __attribute__ ((nocommon)) in place of
41909         __attribute__ ((section (".bss"))).
41911         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41912         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41914         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41916         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41917         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41919         * resolv/res_mkquery.c: Include <sys/time.h>.
41921         * inet/ifreq.c: Moved to ...
41922         * sysdeps/unix/ifreq.c: ... here.
41923         * inet/ifreq.c: New file, true stub version.
41925         * socket/sa_len.c: New file.
41926         * socket/Makefile (aux): Add it.
41927         * sysdeps/unix/sysv/linux/Makefile
41928         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41929         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41930         and #include <socket/sa_len.c>.
41931         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41932         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41934         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41935         * bits/socket.h: ... here.
41937         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41938         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41939         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41941 2013-08-27  Andreas Schwab  <schwab@suse.de>
41943         [BZ #15736]
41944         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41945         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41946         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41947         * string/test-strcasecmp.c (test_main): Run tests in several
41948         locales.
41949         * string/test-strncasecmp.c (test_main): Likewise.
41951         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41952         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41953         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41954         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41955         (__strncasecmp_ssse3) [PIC]: Likewise.
41957 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41959         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41961         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41962         instead of explicitly declaring xdecrypt.
41963         * nis/nss_nis/nis-publickey.c: Likewise.
41965 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41967         [BZ #15890]
41968         * nscd/aicache.c: Include res_hconf.h.
41969         (addhstaiX): Initialize res_hconf.
41971 2013-08-26  Andreas Schwab  <schwab@suse.de>
41973         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41974         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41976 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41978         * nscd/aicache.c (addhstaiX): Fix indentation.
41980 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41982         * configure.ac: Quote $build_pt_chown test.
41983         * configure: Regenerated.
41985 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41987         [BZ #15532]
41988         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41989         * math/s_cexpf.c (__cexpf): Likewise.
41990         * math/s_cexpl.c (__cexpl): Likewise.
41991         * math/libm-test.inc (cexp_test_data): Correct expected return
41992         value for NaN + i0.  Add another test.
41994 2013-08-22  David S. Miller  <davem@davemloft.net>
41996         * po/ca.po: Update Catalan translation from translation project.
41997         * po/uk.po: Add Ukrainian translations from translation project.
41999 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42001         [BZ #15797]
42002         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42003         is infinite, not alongside NaN test.
42004         * math/s_fdimf.c (__fdimf): Likewise.
42005         * math/s_fdiml.c (__fdiml): Likewise.
42006         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42007         errno is unchanged.
42009 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42011         * argp/argp-help.c: Fix typos.
42012         * crypt/speeds.c: Likewise.
42013         * csu/check_fds.c: Likewise.
42014         * elf/dl-load.c: Likewise.
42015         * elf/dl-open.c: Likewise.
42016         * elf/reldep3.c: Likewise.
42017         * elf/reldep.c: Likewise.
42018         * elf/sprof.c: Likewise.
42019         * iconv/iconv_charmap.c: Likewise.
42020         * iconv/skeleton.c: Likewise.
42021         * iconv/strtab.c: Likewise.
42022         * io/lockf64.c: Likewise.
42023         * libio/libioP.h: Likewise.
42024         * resolv/gai_notify.c: Likewise.
42025         * resolv/ns_name.c: Likewise.
42026         * resolv/ns_samedomain.c: Likewise.
42027         * resolv/res_send.c: Likewise.
42028         * stdlib/random.c: Likewise.
42029         * sunrpc/rpc/xdr.h: Likewise.
42030         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42031         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42032         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42033         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42034         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42035         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42036         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42037         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42038         * sysdeps/mach/hurd/check_fds.c: Likewise.
42039         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42040         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42041         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42042         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42043         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42044         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42045         * sysdeps/pthread/aio_notify.c: Likewise.
42046         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42047         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42048         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42049         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42050         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42052 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42054         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42055         version if bit_Slow_SSE4_2 is set.
42056         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42059 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42061         [BZ #15867]
42062         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42063         trampoline stack frame information.
42064         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42065         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42066         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42067         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42068         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42069         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42070         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42071         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42072         sa_flags value.
42073         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42074         interrupting a syscall and set with option SA_SIGINFO.
42076 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42078         [BZ #15531]
42079         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42080         argument is infinite.
42081         * math/s_cprojf.c (__cprojf): Likewise.
42082         * math/s_cprojl.c (__cprojl): Likewise.
42083         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42084         * math/libm-test.inc (cproj_test_data): Add more tests.
42086         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42089         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42090         size.  Use __ffs to determine corresponding shift.
42092 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42093             Roland McGrath  <roland@hack.frob.com>
42095         * Makefile (INSTALL): Remove trailing blank lines from output of
42096         makeinfo.
42098 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42100         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42101         Align 32 bit compat elf_greg to 8 bytes.
42103 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42105         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42107 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42109         * string/strcoll_l.c (coll_seq): New structure.
42110         (get_next_seq_cached): New function.
42111         (get_next_seq): New function.
42112         (do_compare): New function.
42113         (STRCOLL): Use GNU style definition.  Simplify implementation
42114         by using get_next_seq, get_next_seq_cached and do_compare.
42116 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42118         [BZ #14699]
42119         CVE-2013-4237
42120         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42121         member.
42122         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42123         member.
42124         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42125         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42126         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42127         conditional.
42128         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42129         GETDENTS_64BIT_ALIGNED.
42130         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42131         * manual/filesys.texi (Reading/Closing Directory): Document
42132         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42133         strongly.
42134         * manual/conf.texi (Limits for Files): Add portability note to
42135         NAME_MAX, PATH_MAX.
42136         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42138 2013-08-13  Andreas Schwab  <schwab@suse.de>
42140         [BZ #15749]
42141         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42142         of fabs.
42143         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42144         LDBL_MAX_EXP >= 16384]: Add tests for it.
42146 2013-08-12  David S. Miller  <davem@davemloft.net>
42148         * version.h (RELEASE): Set to "development".
42149         (VERSION): Set to "2.18.90".
42150         * NEWS: Add 2.19 section.
42152 2013-08-03  David S. Miller  <davem@davemloft.net>
42154         * po/ko.po: Update Korean translation from translation project.
42156 2013-08-01  David S. Miller  <davem@davemloft.net>
42158         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42159         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42160         Bilka.
42162 2013-07-30  David S. Miller  <davem@davemloft.net>
42164         * po/fr.po: Update French translation from translation project.
42166 2013-07-28  David S. Miller  <davem@davemloft.net>
42168         * po/cs.po: Update Czech translation from translation project.
42170         * po/sv.po: Update Swedish translation from translation project.
42172 2013-07-27  David S. Miller  <davem@davemloft.net>
42174         * po/eo.po: Update Esperanto translation from translation project.
42176         * po/vi.po: Update Vietnamese translation from translation project.
42178         * po/de.po: Update German translation from translation project.
42180 2013-07-26  David S. Miller  <davem@davemloft.net>
42182         * po/bg.po: Update Bulgarian translation from translation project.
42184         * po/nl.po: Update Dutch translation from translation project.
42185         * po/pl.po: Update Polish translation from translation project.
42186         * po/ru.po: Update Russian translation from translation project.
42188 2013-07-24  David S. Miller  <davem@davemloft.net>
42190         * po/libc.pot: Update.
42192 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42194         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42195         variable page size.
42196         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42197         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42198         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42200 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42202         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42204 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42205             Andreas Schwab  <schwab@suse.de>
42206             Roland McGrath  <roland@hack.frob.com>
42207             Joseph Myers  <joseph@codesourcery.com>
42208             Carlos O'Donell  <carlos@redhat.com>
42210         [BZ #15755]
42211         * config.h.in: Define HAVE_PT_CHOWN.
42212         * config.make.in (build-pt-chown): New variable.
42213         * configure.in (--enable-pt_chown): New configure option.
42214         * configure: Regenerate.
42215         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42216         build-pt-chown is enabled.
42217         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42218         pt_chown to fix pty ownership.
42219         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42220         CLOSE_ALL_FDS.
42221         * manual/install.texi (Configuring and compiling): Mention
42222         --enable-pt_chown. Add @findex for grantpt.
42223         * INSTALL: Regenerate.
42225 2013-07-20  David S. Miller  <davem@davemloft.net>
42227         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42228         difference between 32-bit and 64-bit.
42230 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42232         [BZ #15711]
42233         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42234         Avoid system header dependency with -ffreestanding.
42235         ($(objpfx)bits/syscall%d): Likewise.
42237 2013-07-13  David S. Miller  <davem@davemloft.net>
42239         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42240         underflows from atanl/atan2l due to bug 15319.
42241         (casinh_test_data): Likewise.
42243 2013-07-07  David S. Miller  <davem@davemloft.net>
42245         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42247 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42249         * sysdeps/i386/fpu/libm-test-ulps: Update.
42250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42252 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42254         * configure.in (--enable-lock-elision): Fix message text.
42255         * INSTALL: Regenerate.
42256         * configure: Regenerate.
42258 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42262 2013-07-03  Andreas Jaeger  <aj@suse.de>
42264         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42265         define.
42266         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42267         (ptrace_peeksiginfo_args): Add.
42268         (__ptrace_peeksiginfo_flags): Add.
42269         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42270         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42271         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42273 2013-07-03  Allan McRae  <allan@archlinux.org>
42275         * sysdeps/i386/fpu/libm-test-ulps: Update.
42277 2013-07-02  David S. Miller  <davem@davemloft.net>
42279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42281 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42285 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42287         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42290 2013-07-02  Andi Kleen <ak@linux.intel.com>
42292         * config.h.in (ENABLE_LOCK_ELISION): Add.
42293         * configure.in (--enable-lock-elision): Add option.
42294         * manual/install.texi: Document --enable lock elision.
42295         * configure: Regenerate
42296         * INSTALL: Regenerate.
42298 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42300         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42301         SSE4.2 strcasecmp for libc.a.
42302         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42304 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42306         [BZ #13304]
42307         * soft-fp/op-common.h (_FP_FMA): New macro.
42308         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42309         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42310         (_FP_MUL_MEAT_1_imm): ... here.
42311         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42312         (_FP_MUL_MEAT_1_wide): ... here.
42313         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42314         (_FP_MUL_MEAT_1_hard): ... here.
42315         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42316         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42317         (_FP_MUL_MEAT_2_wide): ... here.
42318         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42319         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42320         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42321         (_FP_MUL_MEAT_2_gmp): ... here.
42322         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42323         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42324         (_FP_MUL_MEAT_4_wide): ... here.
42325         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
42326         (_FP_MUL_MEAT_4_gmp): ... here.
42327         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
42328         (_FP_WFRACBITS_DW_S): Likewise.
42329         (_FP_WFRACXBITS_DW_S): Likewise.
42330         (_FP_HIGHBIT_DW_S): Likewise.
42331         (FP_FMA_S): Likewise.
42332         (_FP_FRAC_HIGH_DW_S): Likewise.
42333         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
42334         (_FP_WFRACBITS_DW_D): Likewise.
42335         (_FP_WFRACXBITS_DW_D): Likewise.
42336         (_FP_HIGHBIT_DW_D): Likewise.
42337         (FP_FMA_D): Likewise.
42338         (_FP_FRAC_HIGH_DW_D): Likewise.
42339         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
42340         (_FP_WFRACBITS_DW_E): Likewise.
42341         (_FP_WFRACXBITS_DW_E): Likewise.
42342         (_FP_HIGHBIT_DW_E): Likewise.
42343         (FP_FMA_E): Likewise.
42344         (_FP_FRAC_HIGH_DW_E): Likewise.
42345         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
42346         (_FP_WFRACBITS_DW_Q): Likewise.
42347         (_FP_WFRACXBITS_DW_Q): Likewise.
42348         (_FP_HIGHBIT_DW_Q): Likewise.
42349         (FP_FMA_Q): Likewise.
42350         (_FP_FRAC_HIGH_DW_Q): Likewise.
42351         * soft-fp/fmasf4.c: New file.
42352         * soft-fp/fmadf4.c: Likewise.
42353         * soft-fp/fmatf4.c: Likewise.
42355 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42358         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
42359         Silvermont.
42360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
42361         macro.
42362         (index_Slow_SSE4_2): Likewise.
42363         (index_Prefer_PMINUB_for_stringop): Likewise.
42364         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
42365         bit_Slow_SSE4_2 is set.
42366         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42367         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42369 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42371         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
42372         rtld_global._dl_hwcap2.
42373         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
42374         POWER8.
42375         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
42376         POWER8 feature descriptions defined in _dl_hwcap2.
42377         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
42378         string handling for POWER8 feature bits.
42379         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
42380         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
42381         _dl_powerpc_cap_flags.
42382         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
42383         * sysdeps/powerpc/rtld-global-offsets.sym
42384         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
42385         _dl_hwcap2 in the rtld_global_ro structure.
42387 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42389         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
42390         hardware capabilities in support of AT_HWCAP2.
42391         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
42392         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
42393         GLRO(dl_hwcap2).
42394         (_dl_show_auxv): Add support for calling _dl_procinfo to display
42395         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
42396         explicitly the unknown a_type display mechanism is used.
42397         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
42398         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
42399         struct member.
42400         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
42401         to macro prototype for AT_HWCAP2 support.
42402         * sysdeps/i386/dl-procinfo.h: Likewise.
42403         * sysdeps/s390/dl-procinfo.h: Likewise.
42404         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
42405         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
42406         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
42407         return -1 for unknown a_type display fallback.
42408         * sysdeps/sparc/dl-procinfo.h: Likewise.
42409         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
42410         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
42412 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
42414         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
42415         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
42417 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
42419         [BZ #12492]
42420         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
42421         mprotect making __stack_prot writable.
42423 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
42424             Joseph Myers  <joseph@codesourcery.com>
42426         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
42427         as being properly aligned.
42429 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
42431         * dlfcn/modstatic5.c: New file.
42432         * dlfcn/tststatic5.c: New file.
42433         * dlfcn/Makefile (tests): Add tststatic5.
42434         (tests-static): Likewise.
42435         (modules-names): Add modstatic5.
42436         (tststatic5-ENV): New variable.
42437         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
42439         [BZ #15022]
42440         * elf/dl-support.c (_dl_main_map): New variable.
42441         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
42442         (_dl_nns, _dl_load_adds): Set to 1.
42443         (_dl_initial_searchlist): Refer to _dl_main_map.
42444         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
42445         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
42446         call to _dl_get_origin.
42447         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
42448         around call_map.
42449         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
42450         * dlfcn/modstatic3.c: New file.
42451         * dlfcn/tststatic3.c: New file.
42452         * dlfcn/tststatic4.c: New file.
42453         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
42454         (tests-static): Likewise.
42455         (modules-names): Add modstatic3.
42456         (tststatic3-ENV, tststatic4-ENV): New variables.
42457         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
42458         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
42460 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
42462         * configure.in (CC): Require GCC version 4.4 or later.
42463         * configure: Regenerated.
42464         * manual/install.texi (Tools for Compilation): Update GCC version
42465         requirement.
42466         * INSTALL: Regenerated.
42468 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42470         [BZ #15674]
42471         * string/test-memcmp.c (check2): New.
42472         (main): Call check2.
42474         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
42476 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
42478         [BZ #15022]
42479         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
42480         over to...
42481         (dl_open_worker) [!SHARED]: ... here.
42483 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42485         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
42487 2013-06-25  Richard Henderson  <rth@redhat.com>
42489         * locale/programs/locarchive.c: Include <libc-internal.h>
42491 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
42493         * manual/texinfo.tex: Update to version 2013-06-21.17, with
42494         trailing whitespace removed.
42496 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42498         [BZ #10283]
42499         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
42500         * locale/programs/locarchive.c: Include libc-mmap.h.
42501         (prepare_address_space): Take two new outputs (the mmap base and len).
42502         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
42503         values.
42504         (create_archive): Declare new mmap base and len values for
42505         prepare_address_space, and store the result in ah.
42506         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
42507         (enlarge_archive): If ah->mmap_base is not NULL, use that and
42508         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42509         Declare new mmap base and len values for
42510         prepare_address_space, and store the result in new_ah.
42511         (open_archive): Declare new mmap base and len values for
42512         prepare_address_space, and store the result in ah.
42513         (close_archive): If ah->mmap_base is not NULL, use that and
42514         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42515         * sysdeps/generic/libc-mmap.h: New file.
42517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
42519         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
42520         (ALIGN_UP): Likewise.
42521         (PTR_ALIGN_DOWN): Likewise.
42522         (PTR_ALIGN_UP): Likewise.
42524 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42526         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
42527         entry mapped to PPC_PLATFORM_POWER8.
42528         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
42529         POWER8.
42530         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
42531         (_dl_string_platform): Add case for exporting platform position for
42532         POWER8.
42533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
42534         search path to sysdeps/powerpc/powerpc32/power8 directory.
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
42536         search path to sysdeps/powerpc/powerpc64/power8 directory.
42537         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
42538         power7 directories.
42539         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
42540         power7 directories.
42542 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42544         * INSTALL: Regenerate.
42546         * nscd/connections.c (nscd_init): Fix comment.
42548 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
42550         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
42552         [BZ #15667]
42553         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
42554         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
42556 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42558         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
42559         DL_DST_REQ_STATIC.
42560         (DL_DST_REQ_STATIC): Remove macro.
42562 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
42564         [BZ #7006]
42565         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
42566         with a shift of 0 bits.
42568 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
42570         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
42571         $(tststatic-ENV).
42573 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42575         [BZ #15655]
42576         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
42578 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42580         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
42581         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
42582         accepts -fno-tree-loop-distribute-patterns.
42583         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
42584         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
42585         recursive call.
42586         * string/memset.c (memset): Likewise.
42587         * string/test-memmove.c (simple_memmove): Disable loop transformation
42588         to library calls.
42589         * string/test-memset.c (simple_memset): Likewise.
42590         * benchtests/bench-memmove.c (simple_memmove): Likewise.
42591         * benchtests/bench-memset.c (simple_memset): Likewise.
42592         * configure: Regenerated.
42594 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
42596         * math/test-misc.c (main): Ignore fesetround failure when failures
42597         of subsequent rounding tests would be ignored.
42599         [BZ #15654]
42600         * math/fedisblxcpt.c (fedisableexcept): Return 0.
42601         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
42602         * math/fegetenv.c (__fegetenv): Return 0.
42603         * math/fegetexcept.c (fegetexcept): Return 0.
42604         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
42605         FE_TONEAREST.
42606         * math/feholdexcpt.c (feholdexcept): Return 0.
42607         * math/fesetenv.c (__fesetenv): Return 0.
42608         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
42609         argument FE_TONEAREST.
42610         * math/feupdateenv.c (__feupdateenv): Return 0.
42611         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
42613 2013-06-18  Roland McGrath  <roland@hack.frob.com>
42615         * elf/rtld-Rules (rtld-compile-command.S): New variable.
42616         (rtld-compile-command.s, rtld-compile-command.c): New variables.
42617         ($(objpfx)rtld-%.os rules): Use them.
42619 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42621         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
42622         fields.
42624 2013-06-17  Roland McGrath  <roland@hack.frob.com>
42626         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
42627         length of target pattern, then descending length of dependency pattern.
42628         * configure.in (AWK): Require gawk 3.1.2 or newer.
42629         * manual/install.texi (Tools for Compilation): Say that we do.
42630         * configure: Regenerated.
42632         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
42633         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
42634         * scripts/sysd-rules.awk: ... this new script.
42635         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
42636         than a glob-style pattern.
42638 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
42640         * math/test-misc.c (main): Do not treat incorrectly rounded
42641         conversions as failure unless ROUNDING_TESTS passes.
42643 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
42645         [BZ #15631]
42646         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
42647         restore exception state around main square root computation, then
42648         check for inexactness explicitly.
42650         * math/libm-test.inc (fma_test_data): Add another test.
42652 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42654         * manual/threads.texi (Non-POSIX Extensions): New document
42655         node.  Document pthread_getattr_default_np and
42656         pthread_setattr_default_np.
42658         * Versions.def (libpthread): Add GLIBC_2.18.
42659         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42661         Likewise.
42662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42663         Likewise.
42664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42665         Likewise.
42666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42667         Likewise.
42668         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
42669         Likewise.
42670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42671         Likewise.
42672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42673         Likewise.
42674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42675         Likewise.
42676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42677         Likewise.
42679 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42682         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
42684 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42685             H.J. Lu  <hjl.tools@gmail.com>
42687         [BZ #15627]
42688         * sysdeps/x86_64/rtld-memset.c: Remove file.
42689         * sysdeps/x86_64/rtld-memset.S: New file.
42691 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
42693         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
42694         (test_in_one_mode): Take arguments for whether the rounding mode
42695         is supported for each floating-point type.
42696         (do_test): Pass new arguments to test_in_one_mode using
42697         ROUNDING_TESTS.
42699 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42701         * posix/tst-waitid.c (do_test): Distinguish different instances of
42702         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
42703         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
42704         before entering the kernel for waitpid.
42706 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42708         * NEWS: Fix note on clock function precision.  Text by Roland
42709         McGrath.
42711 2013-06-13  Roland McGrath  <roland@hack.frob.com>
42713         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
42714         it into place only when and if the sanity check passes.
42716 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
42718         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
42719         output for whether conversion result is exact.  Take argument
42720         indicating whether type is IBM long double.
42721         (round_for_all): Change need_exact field to ibm_ld.
42722         * stdlib/tst-strtod-round.c (struct exactness): New type.
42723         (struct test): Change bool ld_ok field to struct exactness exact.
42724         (TEST): Update all definitions for change to field.
42725         (tests): Regenerate array contents.
42726         (test_in_one_mode): Take pointer to new field instead of old ld_ok
42727         field value.  Check for IBM long double here.
42728         (do_test): Update calls to test_in_one_mode.
42730 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42732         [BZ #12515]
42733         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
42734         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
42736 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42738         [BZ #15605]
42739         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
42740         generated by the compiler on loop optimizations.
42741         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
42742         general definitions.
42744 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
42746         * math/bug-nextafter.c: Include <math-tests.h>.
42747         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42748         the relevant type.
42749         * math/bug-nexttoward.c: Include <math-tests.h>.
42750         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42751         the relevant type.
42752         * math/test-misc.c: Include <math-tests.h>.
42753         (main): Only test for exceptions if EXCEPTION_TESTS is true for
42754         the relevant type.
42756 2013-06-12  Andreas Jaeger  <aj@suse.de>
42758         * po/ia.po: Update Interlingua translation from translation
42759         project.
42761 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42763         * include/fenv.h: Include stdbool.h.
42764         (struct rm_ctx): New structure.
42765         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
42766         Define macro.
42767         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
42768         (SET_RESTORE_ROUNDF): Likewise.
42769         (SET_RESTORE_ROUNDL): Likewise.
42770         (SET_RESTORE_ROUND_NOEX): Likewise.
42771         (SET_RESTORE_ROUND_NOEXF): Likewise.
42772         (SET_RESTORE_ROUND_NOEXL): Likewise.
42773         (SET_RESTORE_ROUND_53BIT): Likewise.
42774         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
42775         (libc_feresetround_noexf_ctx): Likewise.
42776         (libc_feresetround_noexl_ctx): Likewise.
42777         (libc_feholdsetround_53bit_ctx): Likewise.
42778         (libc_feresetround_53bit_ctx): Likewise.
42779         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
42780         (libc_feholdexcept_setround_sse_ctx): New function.
42781         (libc_fesetenv_sse_ctx): Likewise.
42782         (libc_feupdateenv_sse_ctx): Likewise.
42783         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
42784         (libc_feholdexcept_setround_387_ctx): Likewise.
42785         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
42786         (libc_feholdsetround_387_prec_ctx): Likewise.
42787         (libc_feholdsetround_387_ctx): Likewise.
42788         (libc_feholdsetround_387_53bit_ctx): Likewise.
42789         (libc_feholdsetround_sse_ctx): Likewise.
42790         (libc_feresetround_sse_ctx): Likewise.
42791         (libc_feresetround_387_ctx): Likewise.
42792         (libc_feupdateenv_387_ctx): Likewise.
42793         (libc_feholdexcept_setroundf_ctx): Define macro.
42794         (libc_fesetenvf_ctx): Likewise.
42795         (libc_feupdateenvf_ctx): Likewise.
42796         (libc_feholdsetroundf_ctx): Likewise.
42797         (libc_feresetroundf_ctx): Likewise.
42798         (libc_feholdexcept_setround_ctx): Likewise.
42799         (libc_fesetenv_ctx): Likewise.
42800         (libc_feupdateenv_ctx): Likewise.
42801         (libc_feholdsetround_ctx): Likewise.
42802         (libc_feresetround_ctx): Likewise.
42803         (libc_feholdexcept_setroundl_ctx): Likewise.
42804         (libc_feupdateenvl_ctx): Likewise.
42805         (libc_feholdsetroundl_ctx): Likewise.
42806         (libc_feresetroundl_ctx): Likewise.
42807         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
42808         (libc_feresetround_53bit_ctx): Likewise.
42810 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42812         * locale/iso-639.def: Convert to UTF-8.
42814 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
42816         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
42817         (EXCEPTION_TESTS_double): Likewise.
42818         (EXCEPTION_TESTS_long_double): Likewise.
42819         (EXCEPTION_TESTS): Likewise.
42820         * math/libm-test.inc (test_exceptions): Only test exceptions if
42821         EXCEPTION_TESTS (FLOAT).
42823 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42825         * benchtests/Makefile (string-bench): Add strcpy_chk and
42826         stpcpy_chk.
42827         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
42828         * benchtests/bench-stpcpy_chk.c: New file.
42829         * benchtests/bench-strcpy_chk-ifunc.c: New file.
42830         * benchtests/bench-strcpy_chk.c: New file.
42831         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
42832         code.
42833         (do_test): Likewise.
42835 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42837         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
42838         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
42839         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
42840         with tabs where appropriate.
42841         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
42842         dl-procinfo.h.
42843         [PPC_PLATFORM_PPC440]: Likewise.
42844         [PPC_PLATFORM_PPC464]: Likewise.
42845         [PPC_PLATFORM_PPC476]: Likewise.
42846         (_dl_string_platform): Add support for detecting ppc405, ppc440,
42847         ppc464, and ppc476 platform strings merging from ports/
42848         dl-procinfo.h.
42850 2013-06-11  Andreas Schwab  <schwab@suse.de>
42852         [BZ #14991]
42853         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42854         (from_ucs4_idx): Regenerate.
42855         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42856         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42857         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42858         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42859         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42860         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42861         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42862         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42863         from FROM_LOOP and TO_LOOP specific macros.
42864         (BODY): Handle combining characters.
42865         * iconvdata/BIG5HKSCS.irreversible: Update.
42866         * iconvdata/BIG5HKSCS.precomposed: New file.
42867         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42868         characters.
42869         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42871 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42873         * include/sys/time.h: Fix indentation and add copyright header.
42875         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42876         (do_test): Likewise.
42877         * string/test-memchr.c (do_one_test): Likewise.
42878         (do_test): Likewise.
42879         * string/test-memcmp.c (do_one_test): Likewise.
42880         (do_test): Likewise.
42881         * string/test-memcpy.c (do_one_test): Likewise.
42882         (do_test): Likewise.
42883         * string/test-memmem.c (do_one_test): Likewise.
42884         (do_test): Likewise.
42885         (do_random_tests): Likewise.
42886         * string/test-memmove.c (do_one_test): Likewise.
42887         (do_test): Likewise.
42888         * string/test-memset.c (do_one_test): Likewise.
42889         (do_test): Likewise.
42890         * string/test-rawmemchr.c (do_one_test): Likewise.
42891         (do_test): Likewise.
42892         * string/test-strcasecmp.c (do_one_test): Likewise.
42893         (do_test): Likewise.
42894         * string/test-strcasestr.c (do_one_test): Likewise.
42895         (do_test): Likewise.
42896         * string/test-strcat.c (do_one_test): Likewise.
42897         (do_test): Likewise.
42898         * string/test-strchr.c (do_one_test): Likewise.
42899         (do_test): Likewise.
42900         * string/test-strcmp.c (do_one_test): Likewise.
42901         (do_test): Likewise.
42902         * string/test-strcpy.c (do_one_test): Likewise.
42903         (do_test): Likewise.
42904         * string/test-string.h: Likewise.
42905         (test_init): Likewise.
42906         * string/test-strlen.c (do_one_test): Likewise.
42907         (do_test): Likewise.
42908         * string/test-strncasecmp.c (do_one_test): Likewise.
42909         (do_test): Likewise.
42910         * string/test-strncat.c (do_one_test): Likewise.
42911         (do_test): Likewise.
42912         * string/test-strncmp.c (do_one_test): Likewise.
42913         (do_test_limit): Likewise.
42914         (do_test): Likewise.
42915         * string/test-strncpy.c (do_one_test): Likewise.
42916         (do_test): Likewise.
42917         * string/test-strnlen.c (do_one_test): Likewise.
42918         (do_test): Likewise.
42919         * string/test-strpbrk.c (do_one_test): Likewise.
42920         (do_test): Likewise.
42921         * string/test-strrchr.c (do_one_test): Likewise.
42922         (do_test): Likewise.
42923         * string/test-strspn.c (do_one_test): Likewise.
42924         (do_test): Likewise.
42925         * string/test-strstr.c (do_one_test): Likewise.
42926         (do_test): Likewise.
42928         * benchtests/Makefile (string-bench): Add string benchmarks.
42929         * benchtests/bench-bcopy-ifunc.c: New file.
42930         * benchtests/bench-bcopy.c: New file.
42931         * benchtests/bench-bzero-ifunc.c: New file.
42932         * benchtests/bench-bzero.c: New file.
42933         * benchtests/bench-memccpy-ifunc.c: New file.
42934         * benchtests/bench-memccpy.c: New file.
42935         * benchtests/bench-memchr-ifunc.c: New file.
42936         * benchtests/bench-memchr.c: New file.
42937         * benchtests/bench-memcmp-ifunc.c: New file.
42938         * benchtests/bench-memcmp.c: New file.
42939         * benchtests/bench-memmem-ifunc.c: New file.
42940         * benchtests/bench-memmem.c: New file.
42941         * benchtests/bench-memmove-ifunc.c: New file.
42942         * benchtests/bench-memmove.c: New file.
42943         * benchtests/bench-mempcpy-ifunc.c: New file.
42944         * benchtests/bench-mempcpy.c: New file.
42945         * benchtests/bench-memset-ifunc.c: New file.
42946         * benchtests/bench-memset.c: New file.
42947         * benchtests/bench-rawmemchr-ifunc.c: New file.
42948         * benchtests/bench-rawmemchr.c: New file.
42949         * benchtests/bench-stpcpy-ifunc.c: New file.
42950         * benchtests/bench-stpcpy.c: New file.
42951         * benchtests/bench-stpncpy-ifunc.c: New file.
42952         * benchtests/bench-stpncpy.c: New file.
42953         * benchtests/bench-strcasecmp-ifunc.c: New file.
42954         * benchtests/bench-strcasecmp.c: New file.
42955         * benchtests/bench-strcasestr-ifunc.c: New file.
42956         * benchtests/bench-strcasestr.c: New file.
42957         * benchtests/bench-strcat-ifunc.c: New file.
42958         * benchtests/bench-strcat.c: New file.
42959         * benchtests/bench-strchr-ifunc.c: New file.
42960         * benchtests/bench-strchr.c: New file.
42961         * benchtests/bench-strchrnul-ifunc.c: New file.
42962         * benchtests/bench-strchrnul.c: New file.
42963         * benchtests/bench-strcmp-ifunc.c: New file.
42964         * benchtests/bench-strcmp.c: New file.
42965         * benchtests/bench-strcpy-ifunc.c: New file.
42966         * benchtests/bench-strcpy.c: New file.
42967         * benchtests/bench-strcspn-ifunc.c: New file.
42968         * benchtests/bench-strcspn.c: New file.
42969         * benchtests/bench-strlen-ifunc.c: New file.
42970         * benchtests/bench-strlen.c: New file.
42971         * benchtests/bench-strncasecmp-ifunc.c: New file.
42972         * benchtests/bench-strncasecmp.c: New file.
42973         * benchtests/bench-strncat-ifunc.c: New file.
42974         * benchtests/bench-strncat.c: New file.
42975         * benchtests/bench-strncmp-ifunc.c: New file.
42976         * benchtests/bench-strncmp.c: New file.
42977         * benchtests/bench-strncpy-ifunc.c: New file.
42978         * benchtests/bench-strncpy.c: New file.
42979         * benchtests/bench-strnlen-ifunc.c: New file.
42980         * benchtests/bench-strnlen.c: New file.
42981         * benchtests/bench-strpbrk-ifunc.c: New file.
42982         * benchtests/bench-strpbrk.c: New file.
42983         * benchtests/bench-strrchr-ifunc.c: New file.
42984         * benchtests/bench-strrchr.c: New file.
42985         * benchtests/bench-strspn-ifunc.c: New file.
42986         * benchtests/bench-strspn.c: New file.
42987         * benchtests/bench-strstr-ifunc.c: New file.
42988         * benchtests/bench-strstr.c: New file.
42990         * benchtests/Makefile: Disable parallel execution of targets.
42991         (string-bench): Add memcpy.
42992         (benchset): New variable to store a list of benchmark sets.
42993         (bench-func): Renamed from bench.
42994         (bench-set): New target.
42995         (bench): Depend on bench-func and bench-set.
42996         * benchtests/README: Add section on benchmark sets.
42997         * benchtests/bench-memcpy-ifunc.c: New file.
42998         * benchtests/bench-memcpy.c: New file.
42999         * benchtests/bench-string.h: New file.
43001 2013-06-11  Andreas Schwab  <schwab@suse.de>
43003         [BZ #15577]
43004         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43005         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43006         values in the triple.
43007         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43008         terminator in the group key.
43010 2013-06-11  Andreas Jaeger  <aj@suse.de>
43012         * po/zh_TW.po: Update Chinese (traditional) translation from
43013         translation project.
43015 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43017         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43018         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43019         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43020         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43021         (clock_getcpuclockid): Likewise.
43022         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43023         Add weak_alias and libc_hidden_def.
43024         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43025         * rt/clock_gettime.c (clock_gettime): Rename to
43026         __clock_gettime.  Add weak_alias and libc_hidden_def.
43027         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43028         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43029         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43030         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43031         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43032         Likewise.
43033         * rt/clock_settime.c (clock_settime): Rename to
43034         __clock_settime.  Add weak_alias and libc_hidden_def.
43035         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43037 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43039         * mach/err_boot.sub: Remove trailing whitespace.
43040         * mach/err_ipc.sub: Likewise.
43041         * mach/err_mach.sub: Likewise.
43043         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43044         (ROUNDING_TESTS_double): Likewise.
43045         (ROUNDING_TESTS_long_double): Likewise.
43046         (ROUNDING_TESTS): Likewise.
43047         * math/libm-test.inc: Include <math-tests.h>.
43048         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43049         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43050         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43051         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43053 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43055         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43056         of assigning.
43058 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43060         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43061         otherwise empty TRANS lines.
43062         * sysdeps/gnu/errlist.c: Regenerated.
43064         * catgets/gencat.c (error_print): Use (void) in function
43065         definition.
43066         * crypt/crypt_util.c (__init_des): Likewise.
43067         * crypt/speeds.c (Stop): Likewise.
43068         (main): Likewise.
43069         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43070         * inet/ruserpass.c (token): Likewise.
43071         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43072         * intl/localealias.c (extend_alias_table): Likewise.
43073         * intl/plural-exp.c (init_germanic_plural): Likewise.
43074         * libio/fcloseall.c (__fcloseall): Likewise.
43075         * libio/genops.c (_IO_flush_all): Likewise.
43076         (_IO_flush_all_linebuffered): Likewise.
43077         (_IO_cleanup): Likewise.
43078         (_IO_iter_begin): Likewise.
43079         (_IO_iter_end): Likewise.
43080         (_IO_list_lock): Likewise.
43081         (_IO_list_unlock): Likewise.
43082         (_IO_list_resetlock): Likewise.
43083         * libio/getchar.c (getchar): Likewise.
43084         * libio/getchar_u.c (getchar_unlocked): Likewise.
43085         * libio/getwchar.c (getwchar): Likewise.
43086         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43087         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43088         * login/getpt.c (__getpt): Likewise.
43089         * login/tst-utmp.c (main): Likewise.
43090         * malloc/hooks.c (__malloc_check_init): Likewise.
43091         * malloc/malloc.c (__malloc_stats): Likewise.
43092         * malloc/mtrace.c (tr_break): Likewise.
43093         (mtrace): Likewise.
43094         (muntrace): Likewise.
43095         * misc/fstab.c (endfsent): Likewise.
43096         * misc/getclktck.c (__getclktck): Likewise.
43097         * misc/getdtsz.c (__getdtablesize): Likewise.
43098         * misc/gethostid.c (gethostid): Likewise.
43099         * misc/getpagesize.c (__getpagesize): Likewise.
43100         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43101         (__get_nprocs): Likewise.
43102         (__get_phys_pages): Likewise.
43103         (__get_avphys_pages): Likewise.
43104         * misc/getttyent.c (getttyent): Likewise.
43105         (setttyent): Likewise.
43106         (endttyent): Likewise.
43107         * misc/getusershell.c (getusershell): Likewise.
43108         (endusershell): Likewise.
43109         (setusershell): Likewise.
43110         (initshells): Likewise.
43111         * misc/hsearch.c (__hdestroy): Likewise.
43112         * misc/sync.c (sync): Likewise.
43113         * misc/syslog.c (closelog_internal): Likewise.
43114         (closelog): Likewise.
43115         * misc/ttyslot.c (ttyslot): Likewise.
43116         * misc/vhangup.c (vhangup): Likewise.
43117         * posix/fork.c (__fork): Likewise.
43118         * posix/getegid.c (__getegid): Likewise.
43119         * posix/geteuid.c (__geteuid): Likewise.
43120         * posix/getgid.c (__getgid): Likewise.
43121         * posix/getpid.c (__getpid): Likewise.
43122         * posix/getppid.c (__getppid): Likewise.
43123         * posix/getuid.c (__getuid): Likewise.
43124         * posix/pause.c (pause): Likewise.
43125         * posix/setpgrp.c (setpgrp): Likewise.
43126         * posix/setsid.c (__setsid): Likewise.
43127         * posix/test-vfork.c (noop): Likewise.
43128         * resolv/gethnamaddr.c (_endhtent): Likewise.
43129         (_gethtent): Likewise.
43130         (ht_endhostent): Likewise.
43131         (gethostent): Likewise.
43132         (dns_service): Likewise.
43133         * stdlib/drand48.c (drand48): Likewise.
43134         * stdlib/lrand48.c (lrand48): Likewise.
43135         * stdlib/mrand48.c (mrand48): Likewise.
43136         * stdlib/rand.c (rand): Likewise.
43137         * stdlib/random.c (__random): Likewise.
43138         * stdlib/setenv.c (clearenv): Likewise.
43139         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43140         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43141         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43142         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43143         (__get_nprocs): Likewise.
43144         (__get_phys_pages): Likewise.
43145         (__get_avphys_pages): Likewise.
43146         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43147         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43148         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43149         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43150         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43151         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43152         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43153         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43154         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43155         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43156         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43157         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43158         * sysdeps/posix/clock.c (clock): Likewise.
43159         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43160         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43161         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43162         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43163         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43165         (__get_nprocs_conf): Likewise.
43166         (__get_phys_pages): Likewise.
43167         (__get_avphys_pages): Likewise.
43168         * time/clock.c (clock): Likewise.
43169         * time/tzset.c (__tzname_max): Likewise.
43171 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43173         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43174         (__bswap_32): Do not use "register".
43175         * crypt/crypt.c (_ufc_doit_r): Likewise.
43176         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43177         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43178         * gmon/gmon.c (__monstartup): Likewise.
43179         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43180         * hurd/hurdmalloc.c (more_memory): Likewise.
43181         (malloc): Likewise.
43182         (free): Likewise.
43183         (realloc): Likewise.
43184         (malloc_fork_prepare): Likewise.
43185         (malloc_fork_parent): Likewise.
43186         (malloc_fork_child): Likewise.
43187         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43188         (_svcauth_des): Likewise.
43189         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43190         * inet/inet_net.c (inet_network): Likewise.
43191         * inet/inet_netof.c (inet_netof): Likewise.
43192         * inet/rcmd.c (__validuser2_sa): Likewise.
43193         * io/fts.c (fts_open): Likewise.
43194         (fts_load): Likewise.
43195         (fts_close): Likewise.
43196         (fts_read): Likewise.
43197         (fts_children): Likewise.
43198         (fts_build): Likewise.
43199         (fts_stat): Likewise.
43200         (fts_sort): Likewise.
43201         (fts_alloc): Likewise.
43202         (fts_lfree): Likewise.
43203         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43204         (_IO_file_xsgetn): Likewise.
43205         (_IO_file_xsgetn_mmap): Likewise.
43206         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43207         (_IO_cookie_write): Likewise.
43208         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43209         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43210         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43211         * malloc/obstack.c (_obstack_begin): Likewise.
43212         (_obstack_begin_1): Likewise.
43213         (_obstack_newchunk): Likewise.
43214         (_obstack_allocated_p): Likewise.
43215         (obstack_free): Likewise.
43216         (_obstack_memory_used): Likewise.
43217         * misc/getttyent.c (getttynam): Likewise.
43218         (getttyent): Likewise.
43219         (skip): Likewise.
43220         (value): Likewise.
43221         * misc/getusershell.c (initshells): Likewise.
43222         * misc/syslog.c (__vsyslog_chk): Likewise.
43223         * misc/ttyslot.c (ttyslot): Likewise.
43224         * nis/nis_hash.c (__nis_hash): Likewise.
43225         * posix/fnmatch_loop.c (FCT): Likewise.
43226         * posix/getconf.c (print_all): Likewise.
43227         (main): Likewise.
43228         * posix/getopt.c (exchange): Likewise.
43229         * posix/glob.c (globfree): Likewise.
43230         (prefix_array): Likewise.
43231         (__glob_pattern_type): Likewise.
43232         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43233         (NS_GET32): Likewise.
43234         (NS_PUT16): Likewise.
43235         (NS_PUT32): Likewise.
43236         * resolv/gethnamaddr.c (getanswer): Likewise.
43237         (gethostbyname2): Likewise.
43238         (gethostbyaddr): Likewise.
43239         (_gethtent): Likewise.
43240         (_gethtbyname2): Likewise.
43241         (_gethtbyaddr): Likewise.
43242         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43243         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43244         * resolv/res_init.c (__res_vinit): Likewise.
43245         (net_mask): Likewise.
43246         * resolv/res_mkquery.c (outchar): Likewise.
43247         (PRINT): Likewise.
43248         * stdio-common/printf_fp.c (outchar): Likewise.
43249         (PRINT): Likewise.
43250         * stdio-common/printf_fphex.c (outchar): Likewise.
43251         (PRINT): Likewise.
43252         * stdio-common/printf_size.c (outchar): Likewise.
43253         (PRINT): Likewise.
43254         * stdio-common/test_rdwr.c (main): Likewise.
43255         * stdio-common/tfformat.c (matches): Likewise.
43256         * stdio-common/vfprintf.c (outchar): Likewise.
43257         (printf_unknown): Likewise.
43258         (buffered_vfprintf): Likewise.
43259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43260         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43261         (ReadFile): Likewise.
43262         * stdlib/qsort.c (SWAP): Likewise.
43263         (_quicksort): Likewise.
43264         * stdlib/setenv.c (__add_to_environ): Likewise.
43265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43266         * stdlib/strtol_l.c (__strtol_l): Likewise.
43267         * stdlib/tst-strtod.c (main): Likewise.
43268         * stdlib/tst-strtol.c (main): Likewise.
43269         * stdlib/tst-strtoll.c (main): Likewise.
43270         * string/bits/string2.h (__strcmp_cc): Likewise.
43271         (__strcmp_cg): Likewise.
43272         (__strcspn_c1): Likewise.
43273         (__strcspn_c2): Likewise.
43274         (__strcspn_c3): Likewise.
43275         (__strspn_c1): Likewise.
43276         (__strspn_c2): Likewise.
43277         (__strspn_c3): Likewise.
43278         (__strsep_1c): Likewise.
43279         (__strsep_2c): Likewise.
43280         (__strsep_3c): Likewise.
43281         * string/memccpy.c (__memccpy): Likewise.
43282         * string/stpcpy.c (__stpcpy): Likewise.
43283         * string/strcmp.c (strcmp): Likewise.
43284         * string/strrchr.c (strrchr): Likewise.
43285         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43286         Likewise.
43287         * sysdeps/mach/hurd/getcwd.c
43288         (_hurd_canonicalize_directory_name_internal): Likewise.
43289         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43290         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43291         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43292         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43293         Likewise, in both definitions.
43294         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43295         definitions.
43296         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43297         64] (__bswap_64): Likewise.
43298         * time/test_time.c (main): Likewise.
43299         * time/tzfile.c (__tzfile_read): Likewise.
43300         (__tzfile_compute): Likewise.
43301         * time/tzset.c (__tzset_parse_tz): Likewise.
43302         (tzset_internal): Likewise.
43303         (compute_change): Likewise.
43304         * wcsmbs/wcscat.c (__wcscat): Likewise.
43305         * wcsmbs/wcschr.c (wcschr): Likewise.
43306         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43307         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43308         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43309         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43310         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43311         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43312         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43313         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43314         * wcsmbs/wmemset.c (wmemset): Likewise.
43316 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43318         * scripts/config.guess: Update to version 2013-05-16.
43319         * scripts/config.sub: Update to version 2013-04-24.
43320         * scripts/install-sh: Update to version 2011-11-20.07.
43321         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43322         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43324 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
43326         * debug/fgetws_u_chk.c: Fix leading whitespaces.
43327         * elf/sln.c: Likewise.
43328         * hurd/hurd/ioctl.h: Likewise.
43329         * hurd/hurdmalloc.c: Likewise.
43330         * hurd/xattr.c: Likewise.
43331         * include/shlib-compat.h: Likewise.
43332         * inet/ruserpass.c: Likewise.
43333         * libio/iofgets_u.c: Likewise.
43334         * libio/iofgetws_u.c: Likewise.
43335         * locale/programs/ld-identification.c: Likewise.
43336         * locale/programs/ld-time.c: Likewise.
43337         * mach/msg-destroy.c: Likewise.
43338         * nss/nss_files/files-netgrp.c: Likewise.
43339         * resolv/res_data.c: Likewise.
43340         * soft-fp/op-1.h: Likewise.
43341         * soft-fp/op-2.h: Likewise.
43342         * soft-fp/op-4.h: Likewise.
43343         * soft-fp/op-common.h: Likewise.
43344         * stdio-common/printf_fphex.c: Likewise.
43345         * stdlib/strtod_l.c: Likewise.
43346         * sunrpc/rpc/clnt.h: Likewise.
43347         * sysdeps/generic/framestate.c: Likewise.
43348         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43349         * sysdeps/i386/bsd-setjmp.S: Likewise.
43350         * sysdeps/i386/__longjmp.S: Likewise.
43351         * sysdeps/i386/setjmp.S: Likewise.
43352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43354         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43355         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43357         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43358         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43359         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43361         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43362         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43363         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43364         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43365         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43366         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43367         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43368         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43369         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
43370         * sysdeps/ieee754/support.c: Likewise.
43371         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43372         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
43373         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
43374         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
43375         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
43376         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
43377         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
43378         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
43379         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
43380         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
43381         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
43382         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
43383         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
43384         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
43385         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
43386         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
43387         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43390 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
43392         * posix/transbug.c: Remove executable mode.
43394 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
43396         * crypt/speeds.c: Remove trailing whitespace.
43397         * dlfcn/default.c: Likewise.
43398         * elf/ifuncdep2.c: Likewise.
43399         * elf/ifuncmain1.c: Likewise.
43400         * elf/ifuncmain1vis.c: Likewise.
43401         * elf/testobj.h: Likewise.
43402         * elf/tst-stackguard1.c: Likewise.
43403         * gmon/sys/gmon.h: Likewise.
43404         * hurd/hurdmsg.c: Likewise.
43405         * hurd/new-fd.c: Likewise.
43406         * hurd/ports-get.c: Likewise.
43407         * iconvdata/ibm1008_420.c: Likewise.
43408         * inet/tst-getni1.c: Likewise.
43409         * inet/tst-getni2.c: Likewise.
43410         * libio/ioungetc.c: Likewise.
43411         * libio/wfiledoalloc.c: Likewise.
43412         * manual/libm-err-tab.pl: Likewise.
43413         * math/w_dremf.c: Likewise.
43414         * misc/ftruncate.c: Likewise.
43415         * posix/bug-glob2.c: Likewise.
43416         * posix/tst-pcre.c: Likewise.
43417         * posix/wait4.c: Likewise.
43418         * resolv/README: Likewise.
43419         * resolv/res_debug.h: Likewise.
43420         * resolv/tst-inet_ntop.c: Likewise.
43421         * setjmp/bug269-setjmp.c: Likewise.
43422         * soft-fp/extended.h: Likewise.
43423         * soft-fp/op-1.h: Likewise.
43424         * soft-fp/op-2.h: Likewise.
43425         * soft-fp/op-4.h: Likewise.
43426         * soft-fp/op-8.h: Likewise.
43427         * soft-fp/testit.c: Likewise.
43428         * stdio-common/bug16.c: Likewise.
43429         * stdlib/random.c: Likewise.
43430         * sunrpc/rpcsvc/rquota.x: Likewise.
43431         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43432         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43433         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43434         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43435         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43436         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43438         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43439         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43440         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43441         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43442         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43444         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43445         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43446         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43447         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43448         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43449         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43450         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43451         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43452         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43453         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
43454         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43455         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43456         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43458         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43459         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43460         * sysdeps/ieee754/s_lib_version.c: Likewise.
43461         * sysdeps/mach/hurd/check_fds.c: Likewise.
43462         * sysdeps/mach/hurd/getsockname.c: Likewise.
43463         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
43464         * sysdeps/mach/hurd/recvfrom.c: Likewise.
43465         * sysdeps/powerpc/bits/link.h: Likewise.
43466         * sysdeps/powerpc/dl-procinfo.c: Likewise.
43467         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
43468         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
43469         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
43470         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43471         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43472         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
43473         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43474         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
43475         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43476         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43477         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43478         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
43479         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43480         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43481         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43482         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43486         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43487         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
43488         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43489         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43490         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
43491         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43492         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43493         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43494         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43495         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43496         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43497         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43498         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43499         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43500         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
43501         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43502         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
43503         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43504         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43505         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
43506         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
43507         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
43508         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
43509         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
43510         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43511         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
43512         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
43513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43514         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
43515         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
43516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43518         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43519         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43520         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
43521         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43522         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43524         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
43525         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43526         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
43527         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
43528         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
43529         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43530         * sysdeps/powerpc/sysdep.h: Likewise.
43531         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43532         * sysdeps/s390/s390-64/sub_n.S: Likewise.
43533         * sysdeps/sh/dl-trampoline.S: Likewise.
43534         * sysdeps/sh/memset.S: Likewise.
43535         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
43536         * sysdeps/sh/strlen.S: Likewise.
43537         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
43538         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
43539         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
43540         * sysdeps/sparc/sparc32/rem.S: Likewise.
43541         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
43542         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
43543         * sysdeps/sparc/sparc32/strchr.S: Likewise.
43544         * sysdeps/sparc/sparc32/udiv.S: Likewise.
43545         * sysdeps/sparc/sparc32/urem.S: Likewise.
43546         * sysdeps/sparc/sparc64/add_n.S: Likewise.
43547         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43548         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
43549         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
43550         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
43551         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
43552         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
43553         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
43554         * sysdeps/unix/bsd/times.c: Likewise.
43555         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
43556         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
43557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43560         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
43561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43562         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
43563         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
43564         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
43565         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
43566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43567         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
43568         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43570         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
43571         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43572         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
43573         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
43574         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
43575         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
43576         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
43577         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43578         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
43579         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
43580         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43581         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
43582         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43583         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
43584         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
43585         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
43586         * sysdeps/x86_64/strcspn.S: Likewise.
43588 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43590         * locale/C-translit.h: Revert #include <stdint.h> because this is a
43591         generated file.  Regenerate properly from gen-translit.pl.
43592         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
43593         locale/C-translit.h.
43595 2013-06-05  Andreas Schwab  <schwab@suse.de>
43597         [BZ #15100]
43598         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
43599         week as 6 instead of -1.
43600         * time/tst-strptime.c (day_tests): Add test case.
43602 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43604         * sysdeps/generic/math_private.h
43605         (libc_feholdexcept_setround_53bit): Replace with
43606         libc_feholdsetround_53bit.
43607         (libc_feupdateenv_53bit): Replace with
43608         libc_feresetround_53bit.
43609         (SET_RESTORE_ROUND_53BIT): Adjust.
43611 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43613         * string/test-strchrnul.c: Add copyright header.
43615         * posix/tst-getaddrinfo4.c: Increase test timeout.
43617 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
43619         [BZ #15536]
43620         * math/libm-test.inc (MAX_EXP): Remove
43621         (MIN_EXP): Define.
43622         (ulp): Use MIN_EXP - MANT_DIG.
43623         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
43625 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
43627         * po/be.po: Revert last change.
43628         * po/zh_CN.po: Likewise.
43629         * po/header.pot: Likewise.
43631 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
43633         * Makefile ($(common-objpfx)linkobj/libc.so): Define
43634         link-libc-deps to empty as target-specific variable.
43635         * Makerules (link-libc-args): New variable.
43636         (libc-for-link): Likewise.
43637         (link-libc-deps): Likewise.
43638         (lib%.so): Depend on $(link-libc-deps).  Link with
43639         $(link-libc-args).
43640         (build-module): Link with $(link-libc-args).
43641         (build-module-asneeded): Likewise.
43642         (build-module-helper-objlist): Filter out $(link-libc-deps) from
43643         list of objects.
43644         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
43645         target-specific variable.
43646         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
43647         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
43648         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
43649         libc.
43650         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
43651         libc and ld.so.
43652         ($(objpfx)libpcprofile.so): Likewise.
43653         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
43654         libc_nonshared.a.
43655         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
43656         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
43657         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
43658         $(link-libc-deps).
43659         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
43660         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
43661         * login/Makefile ($(objpfx)libutil.so): Likewise.
43662         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
43663         * math/Makefile ($(objpfx)libm.so): Likewise.
43664         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
43665         $(objpfx)libnsl.so): Define libc-for-link as target-specific
43666         variable instead of depending directly on libc.
43667         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
43668         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
43669         $(link-libc-deps).
43670         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
43671         libc.
43672         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
43673         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
43674         ($(objpfx)libanl.so): Likewise.
43675         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
43676         ld.so.
43677         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
43678         $(link-libc-deps).
43679         * sysdeps/i386/fpu/Makefile: Remove file.
43680         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
43681         ($(objpfx)libm.so): Remove dependency on ld.so.
43683 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
43685         [BZ # 15553]
43686         * nis/yp_xdr.c (XDRMAXNAME): Define.
43687         (XDRMAXRECORD): Define.
43688         (xdr_domainname): Use XDRMAXNAME.
43689         (xdr_mapname): Likewise.
43690         (xdr_peername): Likewise.
43691         (xdr_keydat): Use XDRMAXRECORD.
43692         (xdr_valdat): Likewise.
43694 2013-05-30  Jeff Law  <law@redhat.com>
43696         [BZ #14256]
43697         * manual/errno.texi (ESTALE): Update to account for more than
43698         just NFS file systems.
43699         * sysdeps/gnu/errlist.c: Regenerated.
43701 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43703         [BZ #15465]
43704         * elf/Makefile (tests): Add tst-null-argv.
43705         (modules-names):  Add tst-null-argv-lib.
43706         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
43707         (tst-null-argv-ENV): Set environment for tst-null-argv.
43708         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
43709         (RTLD_PROGNAME): New macro.
43710         * elf/tst-null-argv.c: New test case.
43711         * elf/tst-null-argv-lib.c: Library for test case.
43712         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
43713         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
43714         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
43715         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
43716         * elf/dl-init.c (call_init): Likewise.
43717         (_dl_init): Likewise.
43718         * elf/dl-load.c (print_search_path): Likewise.
43719         (_dl_map_object): Likewise.
43720         * elf/dl-lookup.c (do_lookup_x): Likewise.
43721         (add_dependency): Likewise.
43722         (_dl_lookup_symbol_x): Likewise.
43723         (_dl_debug_bindings): Likewise.
43724         * elf/dl-open.c (_dl_show_scope): Likewise.
43725         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43726         * elf/dl-version.c (match_symbol): Likewise.
43727         (_dl_check_map_versions): Likewise.
43728         * elf/rtld.c (dl_main): Likewise.
43729         (print_unresolved): Use RTLD_PROGNAME.
43730         (print_missing_version): Likewise.
43731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
43732         (elf_machine_rela): Likewise.
43733         * sysdeps/powerpc/powerpc32/dl-machine.c
43734         (__process_machine_rela): Likewise.
43735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43736         Likewise.
43737         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43738         Likewise.
43739         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43740         Likewise.
43741         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
43743         Likewise.
43744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
43745         Likewise.
43746         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43748 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
43750         * po/be.po: Add descriptive title.
43751         * po/zh_CN.po: Likewise.
43752         * po/header.pot: Likewise.
43754 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
43756         * locale/programs/locarchive.c (create_archive): Inlucde fname in
43757         error message.
43758         (enlarge_archive): Likewise.
43760 2013-05-28  Ben North  <ben@redfrontdoor.org>
43762         * manual/arith.texi (frexp): It is the magnitude of the return
43763         value which lies in [0.5, 1), not the return value itself.
43765 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43769 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
43771         * stdio-common/bug26.c (main): Correct fscanf template.
43773         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
43774         declare _dl_skip_args.
43776         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
43777         Don't declare.
43779         * manual/platform.texi: Add missing @end deftypefun.
43781 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43783         [BZ #15529]
43784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
43785         bit of mantissa of 2^16382.
43786         * math/libm-test.inc (hypot_test_data): Add more tests.
43788         * math/libm-test.inc: Add drem and pow10 to list of tested
43789         functions.
43790         (pow10_test): New function.
43791         (drem_test): Likewise.
43792         (drem_test_tonearest): Likewise.
43793         (drem_test_towardzero): Likewise.
43794         (drem_test_downward): Likewise.
43795         (drem_test_upward): Likewise.
43796         (main): Call the new functions.
43798         * math/libm-test.inc (finite_test_data): Remove.
43799         (finite_test): Run tests from isfinite_test_data.
43800         (gamma_test_data): Remove.
43801         (gamma_test): Run tests from lgamma_test_data.
43802         * sysdeps/i386/fpu/libm-test-ulps: Update.
43803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43805 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43807         * manual/platform.texi: Add PowerPC PPR function set documentation.
43808         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
43809         implementation.
43811 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
43813         * math/libm-test.inc (MAX_EXP): Define.
43814         (ULPDIFF): Define.
43815         (ulp): New function.
43816         (check_float_internal): Use ULPDIFF.
43817         (cpow_test): Disable failing test.
43818         (check_ulp): Test ulp() implemetnation.
43819         (main): Call check_ulp before starting tests.
43821 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
43823         * math/gen-libm-test.pl (generate_testfile): Do not handle
43824         START_DATA and END_DATA.
43825         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
43826         END_DATA.
43827         (acos_tonearest_test_data): Likewise.
43828         (acos_towardzero_test_data): Likewise.
43829         (acos_downward_test_data): Likewise.
43830         (acos_upward_test_data): Likewise.
43831         (acosh_test_data): Likewise.
43832         (asin_test_data): Likewise.
43833         (asin_tonearest_test_data): Likewise.
43834         (asin_towardzero_test_data): Likewise.
43835         (asin_downward_test_data): Likewise.
43836         (asin_upward_test_data): Likewise.
43837         (asinh_test_data): Likewise.
43838         (atan_test_data): Likewise.
43839         (atanh_test_data): Likewise.
43840         (atan2_test_data): Likewise.
43841         (cabs_test_data): Likewise.
43842         (cacos_test_data): Likewise.
43843         (cacosh_test_data): Likewise.
43844         (carg_test_data): Likewise.
43845         (casin_test_data): Likewise.
43846         (casinh_test_data): Likewise.
43847         (catan_test_data): Likewise.
43848         (catanh_test_data): Likewise.
43849         (cbrt_test_data): Likewise.
43850         (ccos_test_data): Likewise.
43851         (ccosh_test_data): Likewise.
43852         (ceil_test_data): Likewise.
43853         (cexp_test_data): Likewise.
43854         (cimag_test_data): Likewise.
43855         (clog_test_data): Likewise.
43856         (clog10_test_data): Likewise.
43857         (conj_test_data): Likewise.
43858         (copysign_test_data): Likewise.
43859         (cos_test_data): Likewise.
43860         (cos_tonearest_test_data): Likewise.
43861         (cos_towardzero_test_data): Likewise.
43862         (cos_downward_test_data): Likewise.
43863         (cos_upward_test_data): Likewise.
43864         (cosh_test_data): Likewise.
43865         (cosh_tonearest_test_data): Likewise.
43866         (cosh_towardzero_test_data): Likewise.
43867         (cosh_downward_test_data): Likewise.
43868         (cosh_upward_test_data): Likewise.
43869         (cpow_test_data): Likewise.
43870         (cproj_test_data): Likewise.
43871         (creal_test_data): Likewise.
43872         (csin_test_data): Likewise.
43873         (csinh_test_data): Likewise.
43874         (csqrt_test_data): Likewise.
43875         (ctan_test_data): Likewise.
43876         (ctan_tonearest_test_data): Likewise.
43877         (ctan_towardzero_test_data): Likewise.
43878         (ctan_downward_test_data): Likewise.
43879         (ctan_upward_test_data): Likewise.
43880         (ctanh_test_data): Likewise.
43881         (ctanh_tonearest_test_data): Likewise.
43882         (ctanh_towardzero_test_data): Likewise.
43883         (ctanh_downward_test_data): Likewise.
43884         (ctanh_upward_test_data): Likewise.
43885         (erf_test_data): Likewise.
43886         (erfc_test_data): Likewise.
43887         (exp_test_data): Likewise.
43888         (exp_tonearest_test_data): Likewise.
43889         (exp_towardzero_test_data): Likewise.
43890         (exp_downward_test_data): Likewise.
43891         (exp_upward_test_data): Likewise.
43892         (exp10_test_data): Likewise.
43893         (exp2_test_data): Likewise.
43894         (expm1_test_data): Likewise.
43895         (fabs_test_data): Likewise.
43896         (fdim_test_data): Likewise.
43897         (finite_test_data): Likewise.
43898         (floor_test_data): Likewise.
43899         (fma_test_data): Likewise.
43900         (fma_towardzero_test_data): Likewise.
43901         (fma_downward_test_data): Likewise.
43902         (fma_upward_test_data): Likewise.
43903         (fmax_test_data): Likewise.
43904         (fmin_test_data): Likewise.
43905         (fmod_test_data): Likewise.
43906         (fpclassify_test_data): Likewise.
43907         (frexp_test_data): Likewise.
43908         (gamma_test_data): Likewise.
43909         (hypot_test_data): Likewise.
43910         (ilogb_test_data): Likewise.
43911         (isfinite_test_data): Likewise.
43912         (isgreater_test_data): Likewise.
43913         (isgreaterequal_test_data): Likewise.
43914         (isinf_test_data): Likewise.
43915         (isless_test_data): Likewise.
43916         (islessequal_test_data): Likewise.
43917         (islessgreater_test_data): Likewise.
43918         (isnan_test_data): Likewise.
43919         (isnormal_test_data): Likewise.
43920         (issignaling_test_data): Likewise.
43921         (isunordered_test_data): Likewise.
43922         (j0_test_data): Likewise.
43923         (j1_test_data): Likewise.
43924         (jn_test_data): Likewise.
43925         (ldexp_test_data): Likewise.
43926         (lgamma_test_data): Likewise.
43927         (lrint_test_data): Likewise.
43928         (lrint_tonearest_test_data): Likewise.
43929         (lrint_towardzero_test_data): Likewise.
43930         (lrint_downward_test_data): Likewise.
43931         (lrint_upward_test_data): Likewise.
43932         (llrint_test_data): Likewise.
43933         (llrint_tonearest_test_data): Likewise.
43934         (llrint_towardzero_test_data): Likewise.
43935         (llrint_downward_test_data): Likewise.
43936         (llrint_upward_test_data): Likewise.
43937         (log_test_data): Likewise.
43938         (log10_test_data): Likewise.
43939         (log1p_test_data): Likewise.
43940         (log2_test_data): Likewise.
43941         (logb_test_data): Likewise.
43942         (logb_downward_test_data): Likewise.
43943         (lround_test_data): Likewise.
43944         (llround_test_data): Likewise.
43945         (modf_test_data): Likewise.
43946         (nearbyint_test_data): Likewise.
43947         (nextafter_test_data): Likewise.
43948         (nexttoward_test_data): Likewise.
43949         (pow_test_data): Likewise.
43950         (pow_tonearest_test_data): Likewise.
43951         (pow_towardzero_test_data): Likewise.
43952         (pow_downward_test_data): Likewise.
43953         (pow_upward_test_data): Likewise.
43954         (remainder_test_data): Likewise.
43955         (remainder_tonearest_test_data): Likewise.
43956         (remainder_towardzero_test_data): Likewise.
43957         (remainder_downward_test_data): Likewise.
43958         (remainder_upward_test_data): Likewise.
43959         (remquo_test_data): Likewise.
43960         (rint_test_data): Likewise.
43961         (rint_tonearest_test_data): Likewise.
43962         (rint_towardzero_test_data): Likewise.
43963         (rint_downward_test_data): Likewise.
43964         (rint_upward_test_data): Likewise.
43965         (round_test_data): Likewise.
43966         (scalb_test_data): Likewise.
43967         (scalbn_test_data): Likewise.
43968         (scalbln_test_data): Likewise.
43969         (signbit_test_data): Likewise.
43970         (sin_test_data): Likewise.
43971         (sin_tonearest_test_data): Likewise.
43972         (sin_towardzero_test_data): Likewise.
43973         (sin_downward_test_data): Likewise.
43974         (sin_upward_test_data): Likewise.
43975         (sincos_test_data): Likewise.
43976         (sinh_test_data): Likewise.
43977         (sinh_tonearest_test_data): Likewise.
43978         (sinh_towardzero_test_data): Likewise.
43979         (sinh_downward_test_data): Likewise.
43980         (sinh_upward_test_data): Likewise.
43981         (sqrt_test_data): Likewise.
43982         (tan_test_data): Likewise.
43983         (tan_tonearest_test_data): Likewise.
43984         (tan_towardzero_test_data): Likewise.
43985         (tan_downward_test_data): Likewise.
43986         (tan_upward_test_data): Likewise.
43987         (tanh_test_data): Likewise.
43988         (tgamma_test_data): Likewise.
43989         (trunc_test_data): Likewise.
43990         (y0_test_data): Likewise.
43991         (y1_test_data): Likewise.
43992         (yn_test_data): Likewise.
43993         (significand_test_data): Likewise.
43995         * math/gen-libm-test.pl (@functions): Remove variable.
43996         (generate_testfile): Don't handle START and END lines.
43997         * math/libm-test.inc (START): New macro.
43998         (END): Likewise.
43999         (END_COMPLEX): Likewise.
44000         (acos_test): Use END macro without arguments.
44001         (acos_test_tonearest): Likewise.
44002         (acos_test_towardzero): Likewise.
44003         (acos_test_downward): Likewise.
44004         (acos_test_upward): Likewise.
44005         (acosh_test): Likewise.
44006         (asin_test): Likewise.
44007         (asin_test_tonearest): Likewise.
44008         (asin_test_towardzero): Likewise.
44009         (asin_test_downward): Likewise.
44010         (asin_test_upward): Likewise.
44011         (asinh_test): Likewise.
44012         (atan_test): Likewise.
44013         (atanh_test): Likewise.
44014         (atan2_test): Likewise.
44015         (cabs_test): Likewise.
44016         (cacos_test): Use END_COMPLEX macro without arguments.
44017         (cacosh_test): Likewise.
44018         (carg_test): Use END macro without arguments.
44019         (casin_test): Use END_COMPLEX macro without arguments.
44020         (casinh_test): Likewise.
44021         (catan_test): Likewise.
44022         (catanh_test): Likewise.
44023         (cbrt_test): Use END macro without arguments.
44024         (ccos_test): Use END_COMPLEX macro without arguments.
44025         (ccosh_test): Likewise.
44026         (ceil_test): Use END macro without arguments.
44027         (cexp_test): Use END_COMPLEX macro without arguments.
44028         (cimag_test): Use END macro without arguments.
44029         (clog_test): Use END_COMPLEX macro without arguments.
44030         (clog10_test): Likewise.
44031         (conj_test): Likewise.
44032         (copysign_test): Use END macro without arguments.
44033         (cos_test): Likewise.
44034         (cos_test_tonearest): Likewise.
44035         (cos_test_towardzero): Likewise.
44036         (cos_test_downward): Likewise.
44037         (cos_test_upward): Likewise.
44038         (cosh_test): Likewise.
44039         (cosh_test_tonearest): Likewise.
44040         (cosh_test_towardzero): Likewise.
44041         (cosh_test_downward): Likewise.
44042         (cosh_test_upward): Likewise.
44043         (cpow_test): Use END_COMPLEX macro without arguments.
44044         (cproj_test): Likewise.
44045         (creal_test): Use END macro without arguments.
44046         (csin_test): Use END_COMPLEX macro without arguments.
44047         (csinh_test): Likewise.
44048         (csqrt_test): Likewise.
44049         (ctan_test): Likewise.
44050         (ctan_test_tonearest): Likewise.
44051         (ctan_test_towardzero): Likewise.
44052         (ctan_test_downward): Likewise.
44053         (ctan_test_upward): Likewise.
44054         (ctanh_test): Likewise.
44055         (ctanh_test_tonearest): Likewise.
44056         (ctanh_test_towardzero): Likewise.
44057         (ctanh_test_downward): Likewise.
44058         (ctanh_test_upward): Likewise.
44059         (erf_test): Use END macro without arguments.
44060         (erfc_test): Likewise.
44061         (exp_test): Likewise.
44062         (exp_test_tonearest): Likewise.
44063         (exp_test_towardzero): Likewise.
44064         (exp_test_downward): Likewise.
44065         (exp_test_upward): Likewise.
44066         (exp10_test): Likewise.
44067         (exp2_test): Likewise.
44068         (expm1_test): Likewise.
44069         (fabs_test): Likewise.
44070         (fdim_test): Likewise.
44071         (finite_test): Likewise.
44072         (floor_test): Likewise.
44073         (fma_test): Likewise.
44074         (fma_test_towardzero): Likewise.
44075         (fma_test_downward): Likewise.
44076         (fma_test_upward): Likewise.
44077         (fmax_test): Likewise.
44078         (fmin_test): Likewise.
44079         (fmod_test): Likewise.
44080         (fpclassify_test): Likewise.
44081         (frexp_test): Likewise.
44082         (gamma_test): Likewise.
44083         (hypot_test): Likewise.
44084         (ilogb_test): Likewise.
44085         (isfinite_test): Likewise.
44086         (isgreater_test): Likewise.
44087         (isgreaterequal_test): Likewise.
44088         (isinf_test): Likewise.
44089         (isless_test): Likewise.
44090         (islessequal_test): Likewise.
44091         (islessgreater_test): Likewise.
44092         (isnan_test): Likewise.
44093         (isnormal_test): Likewise.
44094         (issignaling_test): Likewise.
44095         (isunordered_test): Likewise.
44096         (j0_test): Likewise.
44097         (j1_test): Likewise.
44098         (jn_test): Likewise.
44099         (ldexp_test): Likewise.
44100         (lgamma_test): Likewise.
44101         (lrint_test): Likewise.
44102         (lrint_test_tonearest): Likewise.
44103         (lrint_test_towardzero): Likewise.
44104         (lrint_test_downward): Likewise.
44105         (lrint_test_upward): Likewise.
44106         (llrint_test): Likewise.
44107         (llrint_test_tonearest): Likewise.
44108         (llrint_test_towardzero): Likewise.
44109         (llrint_test_downward): Likewise.
44110         (llrint_test_upward): Likewise.
44111         (log_test): Likewise.
44112         (log10_test): Likewise.
44113         (log1p_test): Likewise.
44114         (log2_test): Likewise.
44115         (logb_test): Likewise.
44116         (logb_test_downward): Likewise.
44117         (lround_test): Likewise.
44118         (llround_test): Likewise.
44119         (modf_test): Likewise.
44120         (nearbyint_test): Likewise.
44121         (nextafter_test): Likewise.
44122         (nexttoward_test): Likewise.
44123         (pow_test): Likewise.
44124         (pow_test_tonearest): Likewise.
44125         (pow_test_towardzero): Likewise.
44126         (pow_test_downward): Likewise.
44127         (pow_test_upward): Likewise.
44128         (remainder_test): Likewise.
44129         (remainder_test_tonearest): Likewise.
44130         (remainder_test_towardzero): Likewise.
44131         (remainder_test_downward): Likewise.
44132         (remainder_test_upward): Likewise.
44133         (remquo_test): Likewise.
44134         (rint_test): Likewise.
44135         (rint_test_tonearest): Likewise.
44136         (rint_test_towardzero): Likewise.
44137         (rint_test_downward): Likewise.
44138         (rint_test_upward): Likewise.
44139         (round_test): Likewise.
44140         (scalb_test): Likewise.
44141         (scalbn_test): Likewise.
44142         (scalbln_test): Likewise.
44143         (signbit_test): Likewise.
44144         (sin_test): Likewise.
44145         (sin_test_tonearest): Likewise.
44146         (sin_test_towardzero): Likewise.
44147         (sin_test_downward): Likewise.
44148         (sin_test_upward): Likewise.
44149         (sincos_test): Likewise.
44150         (sinh_test): Likewise.
44151         (sinh_test_tonearest): Likewise.
44152         (sinh_test_towardzero): Likewise.
44153         (sinh_test_downward): Likewise.
44154         (sinh_test_upward): Likewise.
44155         (sqrt_test): Likewise.
44156         (tan_test): Likewise.
44157         (tan_test_tonearest): Likewise.
44158         (tan_test_towardzero): Likewise.
44159         (tan_test_downward): Likewise.
44160         (tan_test_upward): Likewise.
44161         (tanh_test): Likewise.
44162         (tgamma_test): Likewise.
44163         (trunc_test): Likewise.
44164         (y0_test): Likewise.
44165         (y1_test): Likewise.
44166         (yn_test): Likewise.
44167         (significand_test): Likewise.
44169 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44171         [BZ #15381]
44172         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44174 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44176         [BZ #14894]
44177         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44178         __ppc_mdoio and __ppc_mdoom.
44179         * manual/platform.texi: Document new functions __ppc_yield,
44180         __ppc_mdoio and __ppc_mdoom.
44182 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44184         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44185         (main): Mention "tls" pseudo-hwcap is legacy.
44186         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44188 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44190         * math/gen-libm-test.pl (parse_args): Output only string of
44191         arguments as text for test name, not full call or descriptions of
44192         tests for extra outputs.
44193         (generate_testfile): Do not pass function name to parse_args.
44194         Generate this_func variable from START.
44195         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44196         field to arg_str.
44197         (struct test_ff_f_data): Likewise.
44198         (test_ff_f_data_nexttoward): Likewise.
44199         (struct test_fi_f_data): Likewise.
44200         (struct test_fl_f_data): Likewise.
44201         (struct test_if_f_data): Likewise.
44202         (struct test_fff_f_data): Likewise.
44203         (struct test_c_f_data): Likewise.
44204         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44205         (struct test_fF_f1_data): Likewise.
44206         (struct test_ffI_f1_data): Likewise.
44207         (struct test_c_c_data): Rename test_name field to arg_str.
44208         (struct test_cc_c_data): Likewise.
44209         (struct test_f_i_data): Likewise.
44210         (struct test_ff_i_data): Likewise.
44211         (struct test_f_l_data): Likewise.
44212         (struct test_f_L_data): Likewise.
44213         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44214         and extra2_name.
44215         (COMMON_TEST_SETUP): New macro.
44216         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44217         (COMMON_TEST_CLEANUP): Likewise.
44218         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44219         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44220         macros.
44221         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44222         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44223         macros.
44224         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44225         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44226         cleanup macros.
44227         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44228         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44229         macros.
44230         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44231         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44232         macros.
44233         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44234         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44235         cleanup macros.
44236         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44237         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44238         cleanup macros.
44239         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44240         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44241         cleanup macros.
44242         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44243         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44244         macros.
44245         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44246         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44247         macros.
44248         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44249         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44250         macros.
44251         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44252         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44253         cleanup macros.
44254         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44255         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44256         cleanup macros.
44257         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44258         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44259         macros.
44260         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44261         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44262         cleanup macros.
44263         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44264         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44265         macros.
44266         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44267         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44268         macros.
44269         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44270         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44271         cleanup macros.
44272         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44274 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44276         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44277         to _sifields.sigfault.
44278         (si_addr_lsb): Define new macro.
44279         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44281         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44283 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44285         [BZ #15441]
44286         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44287         returns -1.
44288         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44289         null return -1.
44290         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44291         loading the domain.
44293 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44295         * math/gen-libm-test.pl (parse_args): Do not include expected
44296         result in test name.
44297         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44304 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44306         * benchtests/Makefile: Sort function entries.
44308         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44309         tanh, asinh, acosh, atanh.
44310         * benchtests/acos-inputs: New file.
44311         * benchtests/acosh-inputs: New file.
44312         * benchtests/asin-inputs: New file.
44313         * benchtests/asinh-inputs: New file.
44314         * benchtests/atanh-inputs: New file.
44315         * benchtests/cosh-inputs: New file.
44316         * benchtests/log-inputs: New file.
44317         * benchtests/sinh-inputs: New file.
44318         * benchtests/tanh-inputs: New file.
44320 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44322         [BZ #15339]
44323         * posix/tst-getaddrinfo4.c: New test.
44324         * posix/Makefile (tests): Add it.
44326 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44328         [BZ #15339]
44329         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
44330         when no services were used.
44331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
44332         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
44334 2013-05-21  Andreas Schwab  <schwab@suse.de>
44336         [BZ #15014]
44337         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
44338         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
44339         successful.
44340         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
44341         redundant variable declarations and reallocation of buffer when
44342         parsing as IPv6 address.  Always set NSS status when called from
44343         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
44344         buffer too small.  Correct computation of needed size.
44345         * nss/Makefile (tests): Add test-digits-dots.
44346         * nss/test-digits-dots.c: New test.
44348 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44350         * benchtests/Makefile: Remove instructions for adding
44351         benchmark tests.
44352         * benchtests/README: New file to explain how to execute and
44353         enhance the benchmark tests.
44355 2013-05-21  Andreas Schwab  <schwab@suse.de>
44357         [BZ #15493]
44358         * setjmp/Makefile (tests): Add tst-sigsetjmp.
44359         * setjmp/tst-sigsetjmp.c: New test.
44361 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44363         * sysdeps/x86_64/memset.S (memset): New implementation.
44364         (__bzero): Likewise.
44365         (__memset_tail): New function.
44367 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
44369         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
44370         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
44371         __memcpy_sse2_unaligned ifunc selection.
44372         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44373         Add memcpy-sse2-unaligned.S.
44374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44375         Add: __memcpy_sse2_unaligned.
44377 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
44379         [BZ #15490]
44380         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
44381         math_force_eval before restoring floating-point envrionment.
44382         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
44383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
44384         Likewise.
44385         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
44386         <math_private.h>.
44387         (__nearbyintl): Use math_force_eval before restoring
44388         floating-point environment.
44389         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
44391         * math/gen-libm-test.pl (special_functions): Remove.
44392         (parse_args): Don't handle TEST_extra.  Handle functions with no
44393         return value.
44394         * math/libm-test.inc (struct test_sincos_data): Replace with
44395         struct test_fFF_11_data.
44396         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
44397         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
44398         (sincos_test_data): Change element type to struct
44399         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
44400         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
44401         RUN_TEST_LOOP_sincos.
44402         * math/README.libm-test: Don't mention special handling of
44403         individual functions.
44404         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
44405         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44406         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44407         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44408         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44411         * math/gen-libm-test.pl (get_variable): Remove function.
44412         (parse_args): Don't show pointer parameters to call in test
44413         names.  Use "extra output N" in test names for extra outputs
44414         rather than naming variables.
44416 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
44418         [BZ #15488]
44419         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
44420         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
44421         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
44422         double tests.
44423         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
44424         disable.
44425         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
44426         check_long_double.
44428         * math/gen-libm-test.pl (@tests): Remove variable.
44429         ($count): Likewise.
44430         (new_test): Remove function.
44431         (show_exceptions): New function.
44432         (special_functions): Use show_exceptions instead of new_test.
44433         (parse_args): Likewise.
44434         (generate_testfile): Pass only function name in generated call to
44435         print_max_error or print_complex_max_error.
44436         (get_ulps): Do not handle complex tests specially.
44437         (output_test): Rename to ...
44438         (get_all_ulps_for_test): ... this.  Return a string rather than
44439         printing to a file.  Require ulps to be present.
44440         (output_ulps): Generate arrays rather than #defines.
44441         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
44442         (struct ulp_data): New type.
44443         (BUILD_COMPLEX_ULP): Remove macro.
44444         (compare_ulp_data): New function.
44445         (find_ulps): Likewise.
44446         (find_test_ulps): Likewise.
44447         (find_function_ulps): Likewise.
44448         (find_complex_function_ulps): Likewise.
44449         (print_max_error): Determine allowed ulps using
44450         find_function_ulps.
44451         (print_complex_max_error): Determine allowed ulps using
44452         find_complex_function_ulps.
44453         (check_float_internal): Determine max ulps using find_test_ulps.
44454         (check_float): Do not take max_ulp parameter.  Update call to
44455         check_float_internal.
44456         (check_complex): Likewise.
44457         (check_int): Do not take max_ulp parameter.
44458         (check_long): Likewise.
44459         (check_bool): Likewise.
44460         (check_longlong): Likewise.
44461         (struct test_f_f_data): Remove max_ulp field.
44462         (struct test_ff_f_data): Likewise.
44463         (struct test_ff_f_data_nexttoward): Likewise.
44464         (struct test_fi_f_data): Likewise.
44465         (struct test_fl_f_data): Likewise.
44466         (struct test_if_f_data): Likewise.
44467         (struct test_fff_f_data): Likewise.
44468         (struct test_c_f_data): Likewise.
44469         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
44470         (struct test_fF_f1_data): Likewise.
44471         (struct test_ffI_f1_data): Likewise.
44472         (struct test_c_c_data): Remove max_ulp field.
44473         (struct test_cc_c_data): Likewise.
44474         (struct test_f_i_data): Likewise.
44475         (struct test_ff_i_data): Likewise.
44476         (struct test_f_l_data): Likewise.
44477         (struct test_f_L_data): Likewise.
44478         (struct test_sincos_data): Likewise.
44479         (RUN_TEST_f_f): Do not handle ulps.
44480         (RUN_TEST_LOOP_f_f): Likewise.
44481         (RUN_TEST_2_f): Likewise.
44482         (RUN_TEST_LOOP_2_f): Likewise.
44483         (RUN_TEST_fff_f): Likewise.
44484         (RUN_TEST_LOOP_fff_f): Likewise.
44485         (RUN_TEST_c_f): Likewise.
44486         (RUN_TEST_LOOP_c_f): Likewise.
44487         (RUN_TEST_f_f1): Likewise.
44488         (RUN_TEST_LOOP_f_f1): Likewise.
44489         (RUN_TEST_fF_f1): Likewise.
44490         (RUN_TEST_LOOP_fF_f1): Likewise.
44491         (RUN_TEST_fI_f1): Likewise.
44492         (RUN_TEST_LOOP_fI_f1): Likewise.
44493         (RUN_TEST_ffI_f1): Likewise.
44494         (RUN_TEST_LOOP_ffI_f1): Likewise.
44495         (RUN_TEST_c_c): Likewise.
44496         (RUN_TEST_LOOP_c_c): Likewise.
44497         (RUN_TEST_cc_c): Likewise.
44498         (RUN_TEST_LOOP_cc_c): Likewise.
44499         (RUN_TEST_f_i): Likewise.
44500         (RUN_TEST_LOOP_f_i): Likewise.
44501         (RUN_TEST_f_i_tg): Likewise.
44502         (RUN_TEST_LOOP_f_i_tg): Likewise.
44503         (RUN_TEST_ff_i_tg): Likewise.
44504         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44505         (RUN_TEST_f_b): Likewise.
44506         (RUN_TEST_LOOP_f_b): Likewise.
44507         (RUN_TEST_f_b_tg): Likewise.
44508         (RUN_TEST_LOOP_f_b_tg): Likewise.
44509         (RUN_TEST_f_l): Likewise.
44510         (RUN_TEST_LOOP_f_l): Likewise.
44511         (RUN_TEST_f_L): Likewise.
44512         (RUN_TEST_LOOP_f_L): Likewise.
44513         (RUN_TEST_sincos): Likewise.
44514         (RUN_TEST_LOOP_sincos): Likewise.
44516 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
44518         [BZ #15480]
44519         [BZ #15485]
44520         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
44521         main case of finite arguments, set rounding mode to FE_TONEAREST
44522         and discard exceptions.
44523         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
44524         exceptions.
44525         (remainder_tonearest_test_data): New variable.
44526         (remainder_test_tonearest): New function.
44527         (remainder_towardzero_test_data): New variable.
44528         (remainder_test_towardzero): New function.
44529         (remainder_downward_test_data): New variable.
44530         (remainder_test_downward): New function.
44531         (remainder_upward_test_data): New variable.
44532         (remainder_test_upward): New function.
44533         (main): Call the new test functions.
44535         * math/libm-test.inc (struct test_f_f1_data): Remove field
44536         extra_init.
44537         (struct test_fF_f1_data): Likewise.
44538         (struct test_ffI_f1_data): Likewise.
44539         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
44540         based on value of EXTRA_EXPECTED.
44541         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44542         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
44543         EXTRA_VAR based on value of EXTRA_EXPECTED.
44544         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44545         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
44546         EXTRA_VAR based on value of EXTRA_EXPECTED.
44547         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44548         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
44549         EXTRA_VAR based on value of EXTRA_EXPECTED.
44550         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44551         * math/gen-libm-test.pl (parse_args): Don't output initializers
44552         for extra output values.
44554         * math/libm-test.inc (check_int): Expect result to be exactly
44555         equal to expected value and do not handle ulps.
44556         (check_long): Likewise.
44557         (check_longlong): Likewise.
44559         * math/libm-test.inc (ceil_test_data): Test for "inexact"
44560         exceptions.
44561         (cimag_test_data): Likewise.
44562         (conj_test_data): Likewise.
44563         (copysign_test_data): Likewise.
44564         (cproj_test_data): Likewise.
44565         (creal_test_data): Likewise.
44566         (fabs_test_data): Likewise.
44567         (fdim_test_data): Likewise.
44568         (finite_test_data): Likewise.
44569         (floor_test_data): Likewise.
44570         (fmax_test_data): Likewise.
44571         (fmin_test_data): Likewise.
44572         (fmod_test_data): Likewise.
44573         (fpclassify_test_data): Likewise.
44574         (frexp_test_data): Likewise.
44575         (ilogb_test_data): Likewise.
44576         (isfinite_test_data): Likewise.
44577         (isgreater_test_data): Likewise.
44578         (isgreaterequal_test_data): Likewise.
44579         (isinf_test_data): Likewise.
44580         (isless_test_data): Likewise.
44581         (islessequal_test_data): Likewise.
44582         (islessgreater_test_data): Likewise.
44583         (isnan_test_data): Likewise.
44584         (isnormal_test_data): Likewise.
44585         (issignaling_test_data): Likewise.
44586         (isunordered_test_data): Likewise.
44587         (ldexp_test_data): Likewise.
44588         (lrint_test_data): Likewise.
44589         (lrint_test_data) [TEST_FLOAT]: Disable one test.
44590         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
44591         (lrint_tonearest_test_data): Test for "inexact" exceptions.
44592         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44593         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
44594         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44595         test input.
44596         (lrint_towardzero_test_data): Test for "inexact" exceptions.
44597         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44598         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
44599         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
44600         that test input.
44601         (lrint_downward_test_data): Test for "inexact" exceptions.
44602         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44603         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
44604         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
44605         test input.
44606         (lrint_upward_test_data): Test for "inexact" exceptions.
44607         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
44608         test input.
44609         (llrint_test_data): Test for "inexact" exceptions.
44610         (llrint_test_data) [TEST_FLOAT]: Disable one test.
44611         (llrint_tonearest_test_data): Test for "inexact" exceptions.
44612         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
44613         (llrint_towardzero_test_data): Test for "inexact" exceptions.
44614         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
44615         (llrint_downward_test_data): Test for "inexact" exceptions.
44616         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
44617         (llrint_upward_test_data): Test for "inexact" exceptions.
44618         (logb_test_data): Likewise.
44619         (logb_downward_test_data): Likewise.
44620         (nextafter_test_data): Likewise.
44621         (nexttoward_test_data): Likewise.
44622         (remainder_test_data): Likewise.
44623         (remquo_test_data): Likewise.
44624         (scalbn_test_data): Likewise.
44625         (scalbln_test_data): Likewise.
44626         (signbit_test_data): Likewise.
44627         (sqrt_test_data): Likewise.
44628         (significand_test_data): Likewise.
44630 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44632         [BZ #15424]
44633         * benchtests/bench-modf.c (struct args): Mark arg0 as
44634         volatile.
44635         * scripts/bench.pl: Mark members of struct args as volatile.
44637 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44639         [BZ # 15497]
44640         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
44641         negative infinity on POWER6 or lower.
44642         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
44644 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44646         [BZ #15442]
44647         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
44648         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
44649         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
44650         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
44651         (_FP_SETQNAN): New macro.
44652         (_FP_SETQNAN_SEMIRAW): Likewise.
44653         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
44654         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
44655         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
44656         (FP_EXTEND): Use _FP_FRAC_SNANP.
44657         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
44658         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
44659         into account.
44660         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44661         New macro.
44662         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
44663         Likewise.
44665 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44667         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
44668         with DIVIDE_BY_ZERO_EXCEPTION.
44669         (gamma_test_data): Likewise.
44670         (lgamma_test_data): Likewise.
44671         (log_test_data): Likewise.
44672         (log10_test_data): Likewise.
44673         (log2_test_data): Likewise.
44674         (tgamma_test_data): Likewise.
44676         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
44677         (acos_test_tonearest): Likewise.
44678         (acos_test_towardzero): Likewise.
44679         (acos_test_downward): Likewise.
44680         (acos_test_upward): Likewise.
44681         (acosh_test): Likewise.
44682         (asin_test): Likewise.
44683         (asin_test_tonearest): Likewise.
44684         (asin_test_towardzero): Likewise.
44685         (asin_test_downward): Likewise.
44686         (asin_test_upward): Likewise.
44687         (asinh_test): Likewise.
44688         (atan_test): Likewise.
44689         (atanh_test): Likewise.
44690         (atan2_test): Likewise.
44691         (cabs_test): Likewise.
44692         (cacos_test): Likewise.
44693         (cacosh_test): Likewise.
44694         (casin_test): Likewise.
44695         (casinh_test): Likewise.
44696         (catan_test): Likewise.
44697         (catanh_test): Likewise.
44698         (cbrt_test): Likewise.
44699         (ccos_test): Likewise.
44700         (ccosh_test): Likewise.
44701         (cexp_test): Likewise.
44702         (clog_test): Likewise.
44703         (clog10_test): Likewise.
44704         (cos_test): Likewise.
44705         (cos_test_tonearest): Likewise.
44706         (cos_test_towardzero): Likewise.
44707         (cos_test_downward): Likewise.
44708         (cos_test_upward): Likewise.
44709         (cosh_test): Likewise.
44710         (cosh_test_tonearest): Likewise.
44711         (cosh_test_towardzero): Likewise.
44712         (cosh_test_downward): Likewise.
44713         (cosh_test_upward): Likewise.
44714         (cpow_test): Likewise.
44715         (csin_test): Likewise.
44716         (csinh_test): Likewise.
44717         (csqrt_test): Likewise.
44718         (ctan_test): Likewise.
44719         (ctan_test_tonearest): Likewise.
44720         (ctan_test_towardzero): Likewise.
44721         (ctan_test_downward): Likewise.
44722         (ctan_test_upward): Likewise.
44723         (ctanh_test): Likewise.
44724         (ctanh_test_tonearest): Likewise.
44725         (ctanh_test_towardzero): Likewise.
44726         (ctanh_test_downward): Likewise.
44727         (ctanh_test_upward): Likewise.
44728         (erf_test): Likewise.
44729         (erfc_test): Likewise.
44730         (exp_test): Likewise.
44731         (exp_test_tonearest): Likewise.
44732         (exp_test_towardzero): Likewise.
44733         (exp_test_downward): Likewise.
44734         (exp_test_upward): Likewise.
44735         (exp10_test): Likewise.
44736         (exp2_test): Likewise.
44737         (expm1_test): Likewise.
44738         (fmod_test): Likewise.
44739         (gamma_test): Likewise.
44740         (hypot_test): Likewise.
44741         (j0_test): Likewise.
44742         (j1_test): Likewise.
44743         (jn_test): Likewise.
44744         (lgamma_test): Likewise.
44745         (log_test): Likewise.
44746         (log10_test): Likewise.
44747         (log1p_test): Likewise.
44748         (log2_test): Likewise.
44749         (logb_test_downward): Likewise.
44750         (pow_test): Likewise.
44751         (pow_test_tonearest): Likewise.
44752         (pow_test_towardzero): Likewise.
44753         (pow_test_downward): Likewise.
44754         (pow_test_upward): Likewise.
44755         (remainder_test): Likewise.
44756         (remquo_test): Likewise.
44757         (sin_test): Likewise.
44758         (sin_test_tonearest): Likewise.
44759         (sin_test_towardzero): Likewise.
44760         (sin_test_downward): Likewise.
44761         (sin_test_upward): Likewise.
44762         (sincos_test): Likewise.
44763         (sinh_test): Likewise.
44764         (sinh_test_tonearest): Likewise.
44765         (sinh_test_towardzero): Likewise.
44766         (sinh_test_downward): Likewise.
44767         (sinh_test_upward): Likewise.
44768         (sqrt_test): Likewise.
44769         (tan_test): Likewise.
44770         (tan_test_tonearest): Likewise.
44771         (tan_test_towardzero): Likewise.
44772         (tan_test_downward): Likewise.
44773         (tan_test_upward): Likewise.
44774         (tanh_test): Likewise.
44775         (tgamma_test): Likewise.
44776         (y0_test): Likewise.
44777         (y1_test): Likewise.
44778         (yn_test): Likewise.
44780         * math/gen-libm-test.pl (adjust_arg): Remove function.
44781         (special_function): Remove argument $in_func.  Only handle
44782         generating output for tables of tests, not inside functions.
44783         (parse_args): Likewise.
44784         (generate_testfile): Remove variable $in_func.  Update call to
44785         parse_args.
44786         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
44787         (MINUS_ZERO_INIT): Rename macro to minus_zero.
44788         (PLUS_INFTY_INIT): Rename macro to plus_infty.
44789         (MINUS_INFTY_INIT): Rename macro to minus_infty.
44790         (QNAN_VALUE_INIT): Rename macro to qnan_value.
44791         (MAX_VALUE_INIT): Rename macro to max_value.
44792         (MIN_VALUE_INIT): Rename macro to min_value.
44793         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
44794         (plus_zero): Remove variable.
44795         (minus_zero): Likewise.
44796         (plus_infty): Likewise.
44797         (minus_infty): Likewise.
44798         (qnan_value): Likewise.
44799         (max_value): Likewise.
44800         (min_value): Likewise.
44801         (min_subnorm_value): Likewise.
44803 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44805         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
44806         uint64_t or uint32_t usage.
44807         * crypt/sha256-block.c: Likewise.
44808         * crypt/sha256-crypt.c: Likewise.
44809         * crypt/sha256.c: Likewise.
44810         * crypt/sha512-block.c: Likewise.
44811         * crypt/sha512-crypt.c: Likewise.
44812         * crypt/sha512.c: Likewise.
44813         * debug/backtrace-tst.c: Likewise.
44814         * debug/pcprofiledump.c: Likewise.
44815         * elf/cache.c: Likewise.
44816         * elf/dl-cache.c: Likewise.
44817         * elf/dl-misc.c: Likewise.
44818         * elf/dl-profile.c: Likewise.
44819         * elf/dl-support.c: Likewise.
44820         * elf/ldconfig.c: Likewise.
44821         * elf/sprof.c: Likewise.
44822         * iconv/dummy-repertoire.c: Likewise.
44823         * iconv/iconv_charmap.c: Likewise.
44824         * iconv/skeleton.c: Likewise.
44825         * iconvdata/8bit-generic.c: Likewise.
44826         * iconvdata/cp737.h: Likewise.
44827         * iconvdata/cp775.h: Likewise.
44828         * iconvdata/ibm1008.h: Likewise.
44829         * iconvdata/ibm1025.h: Likewise.
44830         * iconvdata/ibm1046.h: Likewise.
44831         * iconvdata/ibm1097.h: Likewise.
44832         * iconvdata/ibm1112.h: Likewise.
44833         * iconvdata/ibm1122.h: Likewise.
44834         * iconvdata/ibm1123.h: Likewise.
44835         * iconvdata/ibm1124.h: Likewise.
44836         * iconvdata/ibm1129.h: Likewise.
44837         * iconvdata/ibm1130.h: Likewise.
44838         * iconvdata/ibm1132.h: Likewise.
44839         * iconvdata/ibm1133.h: Likewise.
44840         * iconvdata/ibm1137.h: Likewise.
44841         * iconvdata/ibm1140.h: Likewise.
44842         * iconvdata/ibm1141.h: Likewise.
44843         * iconvdata/ibm1142.h: Likewise.
44844         * iconvdata/ibm1143.h: Likewise.
44845         * iconvdata/ibm1144.h: Likewise.
44846         * iconvdata/ibm1145.h: Likewise.
44847         * iconvdata/ibm1146.h: Likewise.
44848         * iconvdata/ibm1147.h: Likewise.
44849         * iconvdata/ibm1148.h: Likewise.
44850         * iconvdata/ibm1149.h: Likewise.
44851         * iconvdata/ibm1153.h: Likewise.
44852         * iconvdata/ibm1154.h: Likewise.
44853         * iconvdata/ibm1155.h: Likewise.
44854         * iconvdata/ibm1156.h: Likewise.
44855         * iconvdata/ibm1157.h: Likewise.
44856         * iconvdata/ibm1158.h: Likewise.
44857         * iconvdata/ibm1160.h: Likewise.
44858         * iconvdata/ibm1161.h: Likewise.
44859         * iconvdata/ibm1162.h: Likewise.
44860         * iconvdata/ibm1163.h: Likewise.
44861         * iconvdata/ibm1164.h: Likewise.
44862         * iconvdata/ibm1166.h: Likewise.
44863         * iconvdata/ibm1167.h: Likewise.
44864         * iconvdata/ibm12712.h: Likewise.
44865         * iconvdata/ibm1390.h: Likewise.
44866         * iconvdata/ibm1399.h: Likewise.
44867         * iconvdata/ibm16804.h: Likewise.
44868         * iconvdata/ibm4517.h: Likewise.
44869         * iconvdata/ibm4899.h: Likewise.
44870         * iconvdata/ibm4909.h: Likewise.
44871         * iconvdata/ibm4971.h: Likewise.
44872         * iconvdata/ibm5347.h: Likewise.
44873         * iconvdata/ibm803.h: Likewise.
44874         * iconvdata/ibm856.h: Likewise.
44875         * iconvdata/ibm901.h: Likewise.
44876         * iconvdata/ibm902.h: Likewise.
44877         * iconvdata/ibm9030.h: Likewise.
44878         * iconvdata/ibm9066.h: Likewise.
44879         * iconvdata/ibm921.h: Likewise.
44880         * iconvdata/ibm922.h: Likewise.
44881         * iconvdata/ibm9448.h: Likewise.
44882         * iconvdata/isiri-3342.h: Likewise.
44883         * iconvdata/jis0201.h: Likewise.
44884         * include/link.h: Likewise.
44885         * include/netdb.h: Likewise.
44886         * inet/check_native.c: Likewise.
44887         * inet/check_pf.c: Likewise.
44888         * inet/getipv4sourcefilter.c: Likewise.
44889         * inet/getnameinfo.c: Likewise.
44890         * inet/getsourcefilter.c: Likewise.
44891         * inet/htonl.c: Likewise.
44892         * inet/setipv4sourcefilter.c: Likewise.
44893         * inet/setsourcefilter.c: Likewise.
44894         * inet/test-inet6_opt.c: Likewise.
44895         * inet/tst-network.c: Likewise.
44896         * locale/C-collate.c: Likewise.
44897         * locale/C-ctype.c: Likewise.
44898         * locale/C-time.c: Likewise.
44899         * locale/C-translit.h: Likewise.
44900         * locale/loadarchive.c: Likewise.
44901         * locale/programs/3level.h: Likewise.
44902         * locale/programs/charmap.c: Likewise.
44903         * locale/programs/charmap.h: Likewise.
44904         * locale/programs/ld-address.c: Likewise.
44905         * locale/programs/ld-collate.c: Likewise.
44906         * locale/programs/ld-ctype.c: Likewise.
44907         * locale/programs/ld-identification.c: Likewise.
44908         * locale/programs/ld-measurement.c: Likewise.
44909         * locale/programs/ld-messages.c: Likewise.
44910         * locale/programs/ld-monetary.c: Likewise.
44911         * locale/programs/ld-name.c: Likewise.
44912         * locale/programs/ld-numeric.c: Likewise.
44913         * locale/programs/ld-paper.c: Likewise.
44914         * locale/programs/ld-telephone.c: Likewise.
44915         * locale/programs/ld-time.c: Likewise.
44916         * locale/programs/linereader.c: Likewise.
44917         * locale/programs/locale.c: Likewise.
44918         * locale/programs/locarchive.c: Likewise.
44919         * locale/programs/locfile.h: Likewise.
44920         * locale/programs/repertoire.c: Likewise.
44921         * locale/programs/simple-hash.c: Likewise.
44922         * locale/programs/simple-hash.h: Likewise.
44923         * malloc/memusage.c: Likewise.
44924         * malloc/memusagestat.c: Likewise.
44925         * nis/nis_defaults.c: Likewise.
44926         * nis/nis_hash.c: Likewise.
44927         * nis/nis_print.c: Likewise.
44928         * nis/nis_xdr.c: Likewise.
44929         * nscd/connections.c: Likewise.
44930         * nscd/hstcache.c: Likewise.
44931         * nscd/nscd_gethst_r.c: Likewise.
44932         * nscd/nscd_getserv_r.c: Likewise.
44933         * nscd/nscd_helper.c: Likewise.
44934         * nscd/servicescache.c: Likewise.
44935         * nss/makedb.c: Likewise.
44936         * nss/nss_db/db-XXX.c: Likewise.
44937         * nss/nss_db/db-initgroups.c: Likewise.
44938         * nss/nss_db/db-netgrp.c: Likewise.
44939         * nss/nss_files/files-network.c: Likewise.
44940         * nss/nss_files/files-parse.c: Likewise.
44941         * posix/bug-regex5.c: Likewise.
44942         * posix/fnmatch_loop.c: Likewise.
44943         * posix/regcomp.c: Likewise.
44944         * posix/regexec.c: Likewise.
44945         * posix/tst-rfc3484-2.c: Likewise.
44946         * posix/tst-rfc3484-3.c: Likewise.
44947         * posix/tst-rfc3484.c: Likewise.
44948         * resolv/nss_dns/dns-canon.c: Likewise.
44949         * resolv/nss_dns/dns-network.c: Likewise.
44950         * resolv/res_init.c: Likewise.
44951         * resolv/res_mkquery.c: Likewise.
44952         * resolv/tst-aton.c: Likewise.
44953         * stdlib/cxa_atexit.c: Likewise.
44954         * stdlib/cxa_finalize.c: Likewise.
44955         * stdlib/gen-fpioconst.c: Likewise.
44956         * stdlib/strtol_l.c: Likewise.
44957         * string/tst-endian.c: Likewise.
44958         * sunrpc/auth_des.c: Likewise.
44959         * sunrpc/clnt_udp.c: Likewise.
44960         * sunrpc/rtime.c: Likewise.
44961         * sunrpc/svcauth_des.c: Likewise.
44962         * sunrpc/xdr.c: Likewise.
44963         * sunrpc/xdr_intXX_t.c: Likewise.
44964         * sunrpc/xdr_rec.c: Likewise.
44965         * sysdeps/generic/ldconfig.h: Likewise.
44966         * sysdeps/generic/ldsodefs.h: Likewise.
44967         * sysdeps/generic/memusage.h: Likewise.
44968         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44971         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44977         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44978         * sysdeps/posix/getaddrinfo.c: Likewise.
44979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44983         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44984         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44985         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44986         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44987         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44988         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44989         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44990         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44991         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44992         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44993         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44994         * sysdeps/x86_64/dl-tls.h: Likewise.
44995         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44996         * time/alt_digit.c: Likewise.
44997         * time/era.c: Likewise.
44998         * wcsmbs/tst-c16c32-1.c: Likewise.
45000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45002         * math/libm-test.inc (struct test_sincos_data): New type.
45003         (RUN_TEST_LOOP_sincos): New macro.
45004         (sincos_test_data): New variable.
45005         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45007 2013-05-16  Richard Henderson  <rth@redhat.com>
45009         * math/atest-exp2.c (LIMB64): New macro.
45010         (CONSTSZ): New macro.
45011         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45012         (hexdig): Move ...
45013         (print_mpn_fp): ... to function scope.
45014         (read_mpn_hex): Remove.
45015         (get_log2): Remove.
45016         (exp2_mpn): Use mp_log2.
45017         (main): Use mp_exp1.
45019 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45021         * math/libm-test.inc: Remove comment about not testing "inexact"
45022         exceptions.
45023         (INEXACT_EXCEPTION): New macro.
45024         (NO_INEXACT_EXCEPTION): Likewise.
45025         (INVALID_EXCEPTION_OK): Update value.
45026         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45027         (OVERFLOW_EXCEPTION_OK): Likewise.
45028         (UNDERFLOW_EXCEPTION_OK): Likewise.
45029         (IGNORE_ZERO_INF_SIGN): Likewise.
45030         (ERRNO_UNCHANGED): Likewise.
45031         (ERRNO_EDOM): Likewise.
45032         (ERRNO_ERANGE): Likewise.
45033         (test_exceptions): Handle testing "inexact" exceptions.
45034         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45035         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45036         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45037         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45038         INEXACT_EXCEPTION.
45039         (rint_towardzero_test_data): Likewise.
45040         (rint_downward_test_data): Likewise.
45041         (rint_upward_test_data): Likewise.
45043         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45044         with OVERFLOW_EXCEPTION.
45045         (exp10_test_data): Likewise.
45046         (exp2_test_data): Likewise.
45047         (expm1_test_data): Likewise.
45048         (lgamma_test_data): Likewise.
45049         (pow_test_data): Likewise.
45050         (tgamma_test_data): Likewise.
45051         (yn_test_data): Remove duplicate test of overflow.
45053         * math/libm-test.inc (struct test_cc_c_data): New type.
45054         (RUN_TEST_LOOP_cc_c): New macro.
45055         (cpow_test_data): New variable.
45056         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45058         * math/libm-test.inc (struct test_f_L_data): New type.
45059         (RUN_TEST_LOOP_f_L): New macro.
45060         (llrint_test_data): New variable.
45061         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45062         (llrint_tonearest_test_data): New variable.
45063         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45064         (llrint_towardzero_test_data): New variable.
45065         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45066         (llrint_downward_test_data): New variable.
45067         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45068         (llrint_upward_test_data): New variable.
45069         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45070         (llround_test_data): New variable.
45071         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45073 2013-05-13  Peter Collingbourne  <pcc@google.com>
45075         * math/atest-exp2.c (get_log2): Remove const attribute.
45077 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45079         * math/libm-test.inc (struct test_f_l_data): New type.
45080         (RUN_TEST_LOOP_f_l): New macro.
45081         (lrint_test_data): New variable.
45082         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45083         (lrint_tonearest_test_data): New variable.
45084         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45085         (lrint_towardzero_test_data): New variable.
45086         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45087         (lrint_downward_test_data): New variable.
45088         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45089         (lrint_upward_test_data): New variable.
45090         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45091         (lround_test_data): New variable.
45092         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45094 2013-05-15  Peter Collingbourne  <pcc@google.com>
45096         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45097         (EXTRACT_WORDS64) Use where appropriate.
45098         (INSERT_WORDS64) Likewise.
45100         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45101         constraints with x constraints.
45102         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45104         * malloc/obstack.c (_obstack_compat): Add initializer.
45106 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45108         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45109         si_trapno and add si_addr_lsb to _sifields.sigfault.
45110         (si_trapno): Remove macro.
45111         (si_addr_lsb): Define new macro.
45112         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45114 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45116         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45117         instead of TEST_f_l.
45118         (llrint_test_tonearest): Likewise.
45119         (llrint_test_towardzero): Likewise.
45120         (llrint_test_downward): Likewise.
45121         (llrint_test_upward): Likewise.
45122         (llround_test): Likewise.
45124         * math/libm-test.inc (struct test_f_i_data): Add comment.
45125         (RUN_TEST_LOOP_f_b): New macro.
45126         (RUN_TEST_LOOP_f_b_tg): Likewise.
45127         (finite_test_data): New variable.
45128         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45129         (isfinite_test_data): New variable.
45130         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45131         (isinf_test_data): New variable.
45132         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45133         (isnan_test_data): New variable.
45134         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45135         (isnormal_test_data): New variable.
45136         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45137         (issignaling_test_data): New variable.
45138         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45139         (signbit_test_data): New variable.
45140         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45142         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45143         with INVALID_EXCEPTION.
45144         (acosh_test_data): Likewise.
45145         (asin_test_data): Likewise.
45146         (atanh_test_data): Likewise.
45147         (fmod_test_data): Likewise.
45148         (log_test_data): Likewise.
45149         (log10_test_data): Likewise.
45150         (log2_test_data): Likewise.
45151         (pow_test_data): Likewise.
45152         (sqrt_test_data): Likewise.
45153         (y0_test_data): Likewise.
45154         (y1_test_data): Likewise.
45155         (yn_test_data): Likewise.
45157         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45158         function contents.
45160         * math/libm-test.inc (struct test_ff_i_data): New type.
45161         (RUN_TEST_LOOP_ff_i_tg): New macro.
45162         (isgreater_test_data): New variable.
45163         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45164         (isgreaterequal_test_data): New variable.
45165         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45166         (isless_test_data): New variable.
45167         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45168         (islessequal_test_data): New variable.
45169         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45170         (islessgreater_test_data): New variable.
45171         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45172         (isunordered_test_data): New variable.
45173         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45175 2013-05-14  David S. Miller  <davem@davemloft.net>
45177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45179 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45181         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45183         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45184         extra_test to int.
45185         (struct test_f_i_data): Change type of max_ulp to int.
45187         * math/libm-test.inc (test_ffI_f1_data): New type.
45188         (RUN_TEST_LOOP_ffI_f1): New macro.
45189         (remquo_test_data): New variable.
45190         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45192         * setjmp/tst-setjmp-fp.c: New file.
45193         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45194         (link-libm): New variable.
45195         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45197         * math/libm-test.inc (struct test_f_i_data): New type.
45198         (RUN_TEST_LOOP_f_i): New macro.
45199         (RUN_TEST_LOOP_f_i_tg): Likewise.
45200         (fpclassify_test_data): New variable.
45201         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45202         (ilogb_test_data): New variable.
45203         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45205         * math/libm-test.inc (scalbln_test): Correct function name in END
45206         call.
45208         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45209         (RUN_TEST_LOOP_fI_f1): New macro.
45210         (frexp_test_data): New variable.
45211         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45213         * math/libm-test.inc (struct test_fF_f1_data): New type.
45214         (RUN_TEST_LOOP_fF_f1): New macro.
45215         (modf_test_data): New variable.
45216         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45218         * math/libm-test.inc (struct test_f_f1_data): New type.
45219         (RUN_TEST_LOOP_f_f1): New macro.
45220         (gamma_test_data): New variable.
45221         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45222         (lgamma_test_data): New variable.
45223         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45225 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45227         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45228         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45229         (main): Comment "tls" pseudo-hwcap.
45231 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45233         * math/libm-test.inc (struct test_fl_f_data): New type.
45234         (RUN_TEST_LOOP_fl_f): New variable.
45235         (scalbln_test_data): New variable.
45236         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45238         * math/libm-test.inc (struct test_fi_f_data): New type.
45239         (RUN_TEST_LOOP_fi_f): New macro.
45240         (ldexp_test_data): New variable.
45241         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45242         (scalbn_test_data): New variable.
45243         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45245         * math/libm-test.inc (struct test_c_f_data): New type.
45246         (RUN_TEST_LOOP_c_f): New macro.
45247         (cabs_test_data): New variable.
45248         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45249         (carg_test_data): New variable.
45250         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45251         (cimag_test_data): New variable.
45252         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45253         (creal_test_data): New variable.
45254         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45256         * math/libm-test.inc (struct test_if_f_data): New type.
45257         (RUN_TEST_LOOP_if_f): New macro.
45258         (jn_test_data): New variable.
45259         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45260         (yn_test_data): New variable.
45261         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45263         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45265 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45267         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45268         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45270 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45272         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45273         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45274         (bench-deps): Add bench-timing.h.
45275         * benchtests-bench-skeleton.c: Include bench-timing.h.
45276         (main): Use TIMING_* macros instead of clock_gettime.
45277         * benchtests/bench-timing.h: New file.
45279         [BZ #14582]
45280         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45281         Renamed from _LIB_VERSION.
45282         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45284 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45286         * math/libm-test.inc (struct test_fff_f_data): New type.
45287         (RUN_TEST_LOOP_fff_f): New macro.
45288         (fma_test_data): New variable.
45289         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45290         (fma_towardzero_test_data): New variable.
45291         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45292         (fma_downward_test_data): New variable.
45293         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45294         (fma_upward_test_data): New variable.
45295         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45297         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45298         (struct test_c_c_data): New type.
45299         (RUN_TEST_LOOP_c_c): New macro.
45300         (cacos_test_data): New variable.
45301         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45302         (cacosh_test_data): New variable.
45303         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45304         (casin_test_data): New variable.
45305         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45306         (casinh_test_data): New variable.
45307         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45308         (catan_test_data): New variable.
45309         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45310         (catanh_test_data): New variable.
45311         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45312         (ccos_test_data): New variable.
45313         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45314         (ccosh_test_data): New variable.
45315         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45316         (cexp_test_data): New variable.
45317         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45318         (clog_test_data): New variable.
45319         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45320         (clog10_test_data): New variable.
45321         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45322         (conj_test_data): New variable.
45323         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45324         (cproj_test_data): New variable.
45325         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
45326         (csin_test_data): New variable.
45327         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
45328         (csinh_test_data): New variable.
45329         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
45330         (csqrt_test_data): New variable.
45331         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
45332         (ctan_test_data): New variable.
45333         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
45334         (ctan_tonearest_test_data): New variable.
45335         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45336         (ctan_towardzero_test_data): New variable.
45337         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45338         (ctan_downward_test_data): New variable.
45339         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45340         (ctan_upward_test_data): New variable.
45341         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45342         (ctanh_test_data): New variable.
45343         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
45344         (ctanh_tonearest_test_data): New variable.
45345         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
45346         (ctanh_towardzero_test_data): New variable.
45347         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
45348         (ctanh_downward_test_data): New variable.
45349         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
45350         (ctanh_upward_test_data): New variable.
45351         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
45352         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
45353         of BUILD_COMPLEX.
45355         * math/libm-test.inc (struct test_ff_f_data): New type.
45356         (struct test_ff_f_data_nexttoward): Likewise.
45357         (RUN_TEST_LOOP_2_f): New macro.
45358         (RUN_TEST_LOOP_ff_f): Likewise.
45359         (atan2_test_data): New variable.
45360         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
45361         (copysign_test_data): New variable.
45362         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
45363         (fdim_test_data): New variable.
45364         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
45365         (fmax_test_data): New variable.
45366         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
45367         (fmin_test_data): New variable.
45368         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
45369         (fmod_test_data): New variable.
45370         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
45371         (hypot_test_data): New variable.
45372         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
45373         (nextafter_test_data): New variable.
45374         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
45375         (nexttoward_test_data): New variable.
45376         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
45377         (pow_test_data): New variable.
45378         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
45379         (pow_tonearest_test_data): New variable.
45380         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
45381         (pow_towardzero_test_data): New variable.
45382         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
45383         (pow_downward_test_data): New variable.
45384         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
45385         (pow_upward_test_data): New variable.
45386         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
45387         (remainder_test_data): New variable.
45388         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
45389         (scalb_test_data): New variable.
45390         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
45391         * sysdeps/i386/fpu/libm-test-ulps: Update.
45393 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
45395         * math/libm-test.inc (fma_test): Use max_value instead of local
45396         variable fltmax.
45397         (nextafter_test): Likewise.
45399         * math/libm-test.inc (acos_towardzero_test_data): New variable.
45400         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45401         (acos_downward_test_data): New variable.
45402         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45403         (acos_upward_test_data): New variable.
45404         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45405         (acosh_test_data): New variable.
45406         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
45407         (asin_test_data): New variable.
45408         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
45409         (asin_tonearest_test_data): New variable.
45410         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45411         (asin_towardzero_test_data): New variable.
45412         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45413         (asin_downward_test_data): New variable.
45414         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45415         (asin_upward_test_data): New variable.
45416         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45417         (asinh_test_data): New variable.
45418         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
45419         (atan_test_data): New variable.
45420         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
45421         (atanh_test_data): New variable.
45422         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
45423         (cbrt_test_data): New variable.
45424         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
45425         (ceil_test_data): New variable.
45426         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
45427         (cos_test_data): New variable.
45428         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
45429         (cos_tonearest_test_data): New variable.
45430         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45431         (cos_towardzero_test_data): New variable.
45432         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45433         (cos_downward_test_data): New variable.
45434         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45435         (cos_upward_test_data): New variable.
45436         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45437         (cosh_test_data): New variable.
45438         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
45439         (cosh_tonearest_test_data): New variable.
45440         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45441         (cosh_towardzero_test_data): New variable.
45442         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45443         (cosh_downward_test_data): New variable.
45444         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45445         (cosh_upward_test_data): New variable.
45446         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45447         (erf_test_data): New variable.
45448         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
45449         (erfc_test_data): New variable.
45450         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
45451         (exp_test_data): New variable.
45452         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
45453         (exp_tonearest_test_data): New variable.
45454         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45455         (exp_towardzero_test_data): New variable.
45456         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45457         (exp_downward_test_data): New variable.
45458         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45459         (exp_upward_test_data): New variable.
45460         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45461         (exp10_test_data): New variable.
45462         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
45463         (exp2_test_data): New variable.
45464         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
45465         (expm1_test_data): New variable.
45466         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
45467         (fabs_test_data): New variable.
45468         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
45469         (floor_test_data): New variable.
45470         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
45471         (j0_test_data): New variable.
45472         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
45473         (j1_test_data): New variable.
45474         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
45475         (log_test_data): New variable.
45476         (log_test): Run tests with RUN_TEST_LOOP_f_f.
45477         (log10_test_data): New variable.
45478         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
45479         (log1p_test_data): New variable.
45480         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
45481         (log2_test_data): New variable.
45482         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
45483         (logb_test_data): New variable.
45484         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
45485         (logb_downward_test_data): New variable.
45486         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45487         (nearbyint_test_data): New variable.
45488         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
45489         (rint_test_data): New variable.
45490         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
45491         (rint_tonearest_test_data): New variable.
45492         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45493         (rint_towardzero_test_data): New variable.
45494         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45495         (rint_downward_test_data): New variable.
45496         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45497         (rint_upward_test_data): New variable.
45498         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45499         (round_test_data): New variable.
45500         (round_test): Run tests with RUN_TEST_LOOP_f_f.
45501         (sin_test_data): New variable.
45502         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
45503         (sin_tonearest_test_data): New variable.
45504         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45505         (sin_towardzero_test_data): New variable.
45506         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45507         (sin_downward_test_data): New variable.
45508         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45509         (sin_upward_test_data): New variable.
45510         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45511         (sinh_test_data): New variable.
45512         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
45513         (sinh_tonearest_test_data): New variable.
45514         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45515         (sinh_towardzero_test_data): New variable.
45516         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45517         (sinh_downward_test_data): New variable.
45518         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45519         (sinh_upward_test_data): New variable.
45520         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45521         (sqrt_test_data): New variable.
45522         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
45523         (tan_test_data): New variable.
45524         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
45525         (tan_tonearest_test_data): New variable.
45526         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45527         (tan_towardzero_test_data): New variable.
45528         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
45529         (tan_downward_test_data): New variable.
45530         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
45531         (tan_upward_test_data): New variable.
45532         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45533         (tanh_test_data): New variable.
45534         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
45535         (tgamma_test_data): New variable.
45536         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
45537         (trunc_test_data): New variable.
45538         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
45539         (y0_test_data): New variable.
45540         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
45541         (y1_test_data): New variable.
45542         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
45543         (significand_test_data): New variable.
45544         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
45546 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
45548         [BZ #12387]
45549         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
45551 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45553         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
45555 2013-05-10  Andreas Jaeger  <aj@suse.de>
45557         [BZ #15448]
45558         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
45559         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
45561 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45563         * math/gen-libm-test.pl (adjust_arg): New function.
45564         (special_functions): Handle generating output in both functions
45565         and arrays.
45566         (parse_args): Likewise.
45567         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
45568         $in_func argument to parse_args.
45569         * math/libm-test.inc (struct test_f_f_data): New type.
45570         (IF_ROUND_INIT_): New macro.
45571         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
45572         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45573         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45574         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45575         (ROUND_RESTORE_): Likewise.
45576         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
45577         (ROUND_RESTORE_FE_TONEAREST): Likewise.
45578         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
45579         (ROUND_RESTORE_FE_UPWARD): Likewise.
45580         (RUN_TEST_LOOP_f_f): New macro.
45581         (acos_test_data): New variable.
45582         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
45583         (acos_tonearest_test_data): New variable.
45584         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
45586 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45588         * benchtests/bench-skeleton.c (startup): Fix coding style.
45590 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
45592         [BZ #6809]
45593         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
45594         negative infinity argument.
45595         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
45596         negative infinity argument.
45597         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
45598         negative infinity argument.
45599         * math/libm-test.inc (tgamma_test): Expect errno to be set for
45600         domain errors.
45602 2013-05-10  Florian Weimer  <fweimer@redhat.com>
45604         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
45605         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
45606         * iconv/iconv_prog.c (main): Likewise.
45607         * locale/programs/charmap-dir.c (charmap_readdir)
45608         (fopen_uncompressed): Likewise.
45609         * locale/programs/locfile.c (siblings_uncached)
45610         (write_locale_data): Use lstat64 instead of lstat.
45611         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
45612         stat.
45614 2013-05-10  Andreas Jaeger  <aj@suse.de>
45616         [BZ #15395]
45617         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
45618         localization.
45619         Include <locale.h>.
45621 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
45623         * elf/dl-close.c (_dl_close_worker): Add comments.
45625 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
45627         [BZ #15359]
45628         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
45629         high part of pi/2.
45630         (__ieee754_rem_pio2l): Update comments.
45632         [BZ #15429]
45633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
45634         high part of pi/2.
45635         (__ieee754_rem_pio2l): Update comments.
45637         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
45638         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
45640         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
45641         M_PI_4l.
45643         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
45644         (M_PI_34_LOG10El): Likewise.
45645         (M_PI2_LOG10El): Likewise.
45646         (M_PI4_LOG10El): Likewise.
45647         (M_PI_LOG10El): Likewise.
45649 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45653 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
45655         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
45656         (MINUS_ZERO_INIT): Likewise.
45657         (PLUS_INFTY_INIT): Likewise.
45658         (MINUS_INFTY_INIT): Likewise.
45659         (QNAN_VALUE_INIT): Likewise.
45660         (MAX_VALUE_INIT): Likewise.
45661         (MIN_VALUE_INIT): Likewise.
45662         (MIN_SUBNORM_VALUE_INIT): Likewise.
45663         (plus_zero): Initialize with PLUS_ZERO_INIT.
45664         (minus_zero): Initialize with MINUS_ZERO_INIT.
45665         (plus_infty): Initialize with PLUS_INFTY_INIT.
45666         (minus_infty): Initialize with MINUS_INFTY_INIT.
45667         (qnan_value): Initialize with QNAN_VALUE_INIT.
45668         (max_value): Initialize with MAX_VALUE_INIT.
45669         (min_value): Initialize with MIN_VALUE_INIT.
45670         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
45672         * math/libm-test.inc (RUN_TEST_if_f): New macro.
45673         (jn_test): Use TEST_if_f instead of TEST_ff_f.
45674         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
45675         (yn_test): Use TEST_if_f instead of TEST_ff_f.
45677         * math/libm-test.inc (RUN_TEST_f_f): New macro.
45678         (RUN_TEST_2_f): Likewise.
45679         (RUN_TEST_ff_f): Likewise.
45680         (RUN_TEST_fi_f): Likewise.
45681         (RUN_TEST_fl_f): Likewise.
45682         (RUN_TEST_fff_f): Likewise.
45683         (RUN_TEST_c_f): Likewise.
45684         (RUN_TEST_f_f1): Likewise.
45685         (RUN_TEST_fF_f1): Likewise.
45686         (RUN_TEST_fI_f1): Likewise.
45687         (RUN_TEST_ffI_f1): Likewise.
45688         (RUN_TEST_c_c): Likewise.
45689         (RUN_TEST_cc_c): Likewise.
45690         (RUN_TEST_f_i): Likewise.
45691         (RUN_TEST_f_i_tg): Likewise.
45692         (RUN_TEST_ff_i_tg): Likewise.
45693         (RUN_TEST_f_b): Likewise.
45694         (RUN_TEST_f_b_tg): Likewise.
45695         (RUN_TEST_f_l): Likewise.
45696         (RUN_TEST_f_L): Likewise.
45697         (RUN_TEST_sincos): Likewise.
45698         * math/gen-libm-test.pl (new_test): Take new argument to indicate
45699         whether to show exceptions.  Do not include ");\n" in return
45700         value.
45701         (special_functions): Output call to RUN_TEST_sincos instead of
45702         check_float calls.  Update calls to new_test.
45703         (parse_args): Output call to single RUN_TEST_* macro instead of
45704         check_* calls and other assignments.  Update calls to new_test.
45706         [BZ #2546]
45707         [BZ #2560]
45708         [BZ #5159]
45709         [BZ #15426]
45710         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
45711         input to result for tgamma overflow.
45712         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
45713         (gamma_coeff): New variable.
45714         (NCOEFF): New macro.
45715         (gamma_positive): New function.
45716         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
45717         underflow here.  Use gamma_positive instead of exp (lgamma) for
45718         other arguments.
45719         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
45720         (gamma_coeff): New variable.
45721         (NCOEFF): New macro.
45722         (gammaf_positive): New function.
45723         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
45724         underflow here.  Use gamma_positive instead of exp (lgamma) for
45725         other arguments.
45726         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
45727         (gamma_coeff): New variable.
45728         (NCOEFF): New macro.
45729         (gammal_positive): New function.
45730         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
45731         underflow here.  Use gamma_positive instead of exp (lgamma) for
45732         other arguments.
45733         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
45734         (gamma_coeff): New variable.
45735         (NCOEFF): New macro.
45736         (gammal_positive): New function.
45737         (__ieee754_gammal_r): Handle positive infinity, overflow and
45738         underflow here.  Handle NaN the same as positive infinity.  Remove
45739         check x < 0xffffffff for negative integers.  Use gamma_positive
45740         instead of exp (lgamma) for other arguments.
45741         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
45742         (gamma_coeff): New variable.
45743         (NCOEFF): New macro.
45744         (gammal_positive): New function.
45745         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
45746         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
45747         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45748         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
45749         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
45750         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
45751         * sysdeps/generic/math_private.h (__gamma_productf): New
45752         prototype.
45753         (__gamma_product): Likewise.
45754         (__gamma_productl): Likewise.
45755         * math/Makefile (libm-calls): Add gamma_product.
45756         * math/libm-test.inc (tgamma_test): Add more tests.
45757         * sysdeps/i386/fpu/libm-test-ulps: Update.
45758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45760 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
45762         * benchtests/bench-skeleton.c (main): Preheat CPU.
45764 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
45766         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
45768 2013-05-07  Roland McGrath  <roland@hack.frob.com>
45770         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
45771         and _dl_skip_args_internal.
45773 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
45775         * manual/message.texi (Message Translation): Talk about users.
45776         Message to key mapping impacts design.
45778 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45780         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
45782         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
45784         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
45785         * sysdeps/wordsize-64/glob64.c: ... here.
45787         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
45788         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
45789         New macros.
45791         * debug/getlogin_r_chk.c: Moved to ...
45792         * login/getlogin_r_chk.c: ... here.
45793         * debug/Makefile (routines): Move getlogin_r_chk to ...
45794         * login/Makefile (routines): ... here.
45795         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
45796         * login/Versions (libc: GLIBC_2.4): ... here.
45798         * io/poll.c (__poll): Renamed from poll.
45799         Add libc_hidden_def.
45800         (poll): Define as weak alias.
45802         * debug/ptsname_r_chk.c: Moved to ...
45803         * login/ptsname_r_chk.c: ... here.
45804         * debug/Makefile (routines): Move ptsname_r_chk to ...
45805         * login/Makefile (routines): ... here.
45806         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
45807         * login/Versions (libc: GLIBC_2.4): ... here.
45809         * posix/getlogin.c: Moved to ...
45810         * login/getlogin.c: ... here.
45811         * posix/getlogin_r.c: Moved to ...
45812         * login/getlogin_r.c: ... here.
45813         * posix/getlogin_r.c: Moved to ...
45814         * login/getlogin_r.c: ... here.
45815         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
45816         * login/Makefile (routines): ... here.
45817         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
45818         * login/Versions (libc: GLIBC_2.0): ... here.
45820         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
45821         (setrlimit): Define as weak alias.
45823         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
45824         Call __ names for open, ftruncate, and close.
45825         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45826         (truncate): Define as weak alias.
45828 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
45830         * math/gen-libm-test.pl (parse_args): Initialize x before each
45831         test of frexp, modf and remquo.
45833         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
45834         test signgam value.
45836 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45838         [BZ #15418]
45839         [BZ #15419]
45840         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
45841         internal tests.
45842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45844 2013-05-06  Roland McGrath  <roland@hack.frob.com>
45846         * elf/dl-writev.h: New file.
45847         * elf/dl-misc.c: Include it.
45848         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
45849         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
45851 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45853         * math/libm-test.inc (noXFails): Remove variable.
45854         (noXPasses): Likewise.
45855         (BUILD_COMPLEX_INT): Remove macro.
45856         (print_screen): Remove xfail argument.
45857         (print_screen_max_error): Likewise.
45858         (update_stats): Likewise.
45859         (print_max_error): Likewise.  Update calls to other affected
45860         functions.
45861         (print_complex_max_error): Likewise.
45862         (test_single_exception): Update calls to print_screen.
45863         (test_single_errno): Likewise.
45864         (check_float_internal): Remove xfail argument.  Update calls to
45865         other affected functions.
45866         (check_float): Likewise.
45867         (check_complex): Likewise.
45868         (check_int): Likewise.
45869         (check_long): Likewise.
45870         (check_bool): Likewise.
45871         (check_longlong): Likewise.
45872         (main): Don't print noXFails and noXPasses.
45873         * math/gen-libm-test.pl (top level): Don't mention expected
45874         failure handling in comment.
45875         (new_test): Don't handle expected failures.
45876         (parse_args): Don't mention expected failure handling in comment.
45877         (generate_testfile): Don't handle expected failures.
45878         (parse_ulps): Likewise.
45879         (print_ulps_file): Likewise.
45880         (get_failure): Remove function.
45881         (output_test): Don't handle expected failures.
45882         * make/README.libm-test: Don't mention expected failure handling.
45884         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45885         (minus_zero): Likewise.
45886         (plus_infty): Likewise.
45887         (minus_infty): Likewise.
45888         (qnan_value): Likewise.
45889         (max_value): Likewise.
45890         (min_value): Likewise.
45891         (min_subnorm_value): Likewise.
45892         (initialize): Do not initialize those variables dynamically.
45894 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45896         * io/open.c (__open_2): Moved to ...
45897         * io/open_2.c: ... this new file.
45898         * io/open64.c (__open64_2): Moved to ...
45899         * io/open64_2.c: ... this new file.
45900         * io/openat.c (__openat_2): Moved to ...
45901         * io/openat_2.c: ... this new file.
45902         * io/openat64.c (__openat64_2): Moved to ...
45903         * io/openat64_2.c: ... this new file.
45904         * io/Makefile (routines): Add them.
45905         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45906         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45907         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45908         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45909         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45910         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45911         (__openat64): Add hidden_ver.
45912         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45913         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45915         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45916         Separately conditionalize setting of GLRO(dl_sysinfo) so
45917         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45918         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45920 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45922         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45923         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45924         definition.
45925         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45926         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45927         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45928         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45929         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45931 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45933         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45934         test signgam value.
45936         * math/libm-test.inc (hypot_test): Do not use
45937         IGNORE_ZERO_INF_SIGN.
45939 2013-05-03  Andreas Jaeger  <aj@suse.de>
45941         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45942         Linux 3.9.
45943         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45944         (PF_MAX): Adjust for VSOCK change.
45946 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45950 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45952         [BZ #15264]
45953         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45954         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45955         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45957 2013-05-02  David S. Miller  <davem@davemloft.net>
45959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45961 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45963         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45965 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45967         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45969 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45971         [BZ #14952]
45972         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45973         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45974         Use __attribute__ ((__gnu_inline__)).
45975         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45976         Don't use __attribute__ ((__gnu_inline__)).
45978 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45980         [BZ #15423]
45981         * math/s_catan.c (__catan): Handle small real or imaginary part of
45982         input specially to avoid spurious underflow.
45983         * math/s_catanf.c (__catanf): Likewise.
45984         * math/s_catanh.c (__catanh): Likewise.
45985         * math/s_catanhf.c (__catanhf): Likewise.
45986         * math/s_catanhl.c (__catanhl): Likewise.
45987         * math/s_catanl.c (__catanl): Likewise.
45988         * math/libm-test.inc (catan_test): Add more tests.
45989         (catanh_test): Likewise.
45990         * sysdeps/i386/fpu/libm-test-ulps: Update.
45991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45993 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45997 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45999         [BZ #15416]
46000         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46001         accurately for denominator in atan2.
46002         * math/s_catanf.c (__catanf): Likewise.
46003         * math/s_catanh.c (__catanh): Likewise.
46004         * math/s_catanhf.c (__catanhf): Likewise.
46005         * math/s_catanhl.c (__catanhl): Likewise.
46006         * math/s_catanl.c (__catanl): Likewise.
46007         * math/libm-test.inc (catan_test): Add more tests.
46008         (catanh_test): Likewise.
46009         * sysdeps/i386/fpu/libm-test-ulps: Update.
46010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46012 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46014         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46016         * benchtests/Makefile (bench): Remove slow benchmarks.
46017         * benchtests/atan-inputs: Add slow benchmark inputs.
46018         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46019         (BENCH_FUNC): Accept variant offset.
46020         (VARIANT): Define.
46021         * benchtests/bench-skeleton.c (main): Run benchmark for each
46022         variant.
46023         * benchtests/cos-inputs: Add slow benchmark inputs.
46024         * benchtests/exp-inputs: Likewise.
46025         * benchtests/pow-inputs: Likewise.
46026         * benchtests/sin-inputs: Likewise.
46027         * benchtests/slowatan-inputs: Remove.
46028         * benchtests/slowatan.c: Remove.
46029         * benchtests/slowcos-inputs: Remove.
46030         * benchtests/slowcos.c: Remove.
46031         * benchtests/slowexp-inputs: Remove.
46032         * benchtests/slowexp.c: Remove.
46033         * benchtests/slowpow-inputs: Remove.
46034         * benchtests/slowpow.c: Remove.
46035         * benchtests/slowsin-inputs: Remove.
46036         * benchtests/slowsin.c: Remove.
46037         * benchtests/slowtan-inputs: Remove.
46038         * benchtests/slowtan.c: Remove.
46039         * benchtests/tan-inputs: Add slow benchmark inputs.
46040         * scripts/bench.pl: Parse comments and directives.
46042         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46043         in CPPFLAGS.
46044         ($(objpfx)bench-%.c): Remove *-ITER.
46045         * benchtests/bench-modf.c: Remove definition of ITER.
46046         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46047         (main): Loop for DURATION seconds instead of fixed number of
46048         iterations.
46049         * scripts/bench.pl: Don't expect iterations in parameters.
46051 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46053         * io/fchdir.c (__fchdir): Renamed from fchdir.
46054         (fchdir): Define as weak alias.
46056 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46058         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46059         (ERRNO_EDOM): Likewise.
46060         (ERRNO_ERANGE): Likewise.
46061         (noErrnoTests): New variable.
46062         (init_max_error): Set errno to 0.
46063         (test_single_errno): New function.
46064         (test_errno): Likewise.
46065         (check_float_internal): Call test_errno.  Set errno to 0.
46066         (check_complex): Refer to errno tests in comment.
46067         (check_int): Call test_errno.  Set errno to 0.
46068         (check_long): Likewise.
46069         (check_bool): Likewise.
46070         (check_longlong): Likewise.
46071         (cos_test): Use ERRNO_* flags for errno tests instead of
46072         check_int.
46073         (expm1_test): Likewise.
46074         (fmod_test): Likewise.
46075         (ilogb_test): Likewise.
46076         (lgamma_test): Likewise.
46077         (pow_test): Likewise.
46078         (remainder_test): Likewise.
46079         (sin_test): Likewise.
46080         (tan_test): Likewise.
46081         (yn_test): Likewise.
46082         (initialize): Set errno to 0.
46083         (main): Print number of errno tests.
46084         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46086 2013-04-29  Andreas Jaeger  <aj@suse.de>
46088         [BZ #15084]
46089         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46090         and RES_USEVC.
46092         [BZ #15085]
46093         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46094         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46095         unimplemented.
46097         [BZ #15380]
46098         * stdlib/random.c (__initstate): Return NULL if
46099         __initstate fails.
46101         [BZ #15086]
46102         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46103         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46104         RES_SNGLKUPREOP.
46106 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46110 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46112         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46113         of individual tests.
46114         (casin_test): Likewise.
46115         (casinh_test): Likewise.
46117 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46119         [BZ #15409]
46120         * math/s_catan.c (__catan): Handle arguments with large real or
46121         imaginary part separately without squaring.
46122         * math/s_catanf.c (__catanf): Likewise.
46123         * math/s_catanh.c (__catanh): Likewise.
46124         * math/s_catanhf.c (__catanhf): Likewise.
46125         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46126         and redefine.
46127         (__catanhl): Handle arguments with large real or imaginary part
46128         separately without squaring.
46129         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46130         and redefine.
46131         (__catanl): Handle arguments with large real or imaginary part
46132         separately without squaring.
46133         * math/libm-test.inc (catan_test): Add more tests.
46134         (catanh_test): Likewise.
46135         * sysdeps/i386/fpu/libm-test-ulps: Update.
46136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46138 2013-04-27  Andreas Jaeger  <aj@suse.de>
46140         [BZ #15007]
46141         * stdlib/stdlib.h: Update guards for qecvt.
46142         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46143         <stdlib.h>.
46145 2013-04-27  Allan McRae  <allan@archlinux.org>
46147         * sysdeps/i386/fpu/libm-test-ulps: Update.
46149 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46151         [BZ #15406]
46152         * math/s_catan.c: Include <float.h>.
46153         (__catan): Ensure underflow exception occurs for underflowed
46154         result.
46155         * math/s_catanf.c: Include <float.h>.
46156         (__catanf): Ensure underflow exception occurs for underflowed
46157         result.
46158         * math/s_catanh.c: Include <float.h>.
46159         (__catanh): Ensure underflow exception occurs for underflowed
46160         result.
46161         * math/s_catanhf.c: Include <float.h>.
46162         (__catanhf): Ensure underflow exception occurs for underflowed
46163         result.
46164         * math/s_catanhl.c: Include <float.h>.
46165         (__catanhl): Ensure underflow exception occurs for underflowed
46166         result.
46167         * math/s_catanl.c: Include <float.h>.
46168         (__catanl): Ensure underflow exception occurs for underflowed
46169         result.
46170         * math/libm-test.inc (catan_test): Add more tests.
46171         (catanh_test): Likewise.
46173         [BZ #15405]
46174         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46175         underflowed result.
46176         * math/s_ccoshf.c (__ccoshf): Likewise.
46177         * math/s_ccoshl.c (__ccoshl): Likewise.
46178         * math/s_csin.c (__csin): Likewise.
46179         * math/s_csinf.c (__csinf): Likewise.
46180         * math/s_csinh.c (__csinh): Likewise.
46181         * math/s_csinhf.c (__csinhf): Likewise.
46182         * math/s_csinhl.c (__csinhl): Likewise.
46183         * math/s_csinl.c (__csinl): Likewise.
46184         * math/libm-test.inc (ccos_test): Add more tests.
46185         (ccosh_test): Likewise.
46186         (csin_test): Likewise.
46187         (csinh_test): Likewise.
46189 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46191         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46192         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46193         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46194         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46195         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46196         powerpc/power5+/fpu folders.
46197         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46200 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46204 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46206         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46207         additions to variable.
46208         [$(config-machine) = x86_64] (modules-names): Likewise.
46209         ($(objpfx)tst-audit3): Remove dependency.
46210         ($(objpfx)tst-audit3.out): Likewise.
46211         ($(objpfx)tst-audit4): Likewise.
46212         ($(objpfx)tst-audit4.out): Likewise.
46213         ($(objpfx)tst-audit5): Likewise.
46214         ($(objpfx)tst-audit5.out): Likewise.
46215         ($(objpfx)tst-audit6): Likewise.
46216         ($(objpfx)tst-audit6.out): Likewise.
46217         ($(objpfx)tst-audit7): Likewise.
46218         ($(objpfx)tst-audit7.out): Likewise.
46219         (tst-audit3-ENV): Remove variable.
46220         (tst-audit4-ENV): Likewise.
46221         (tst-audit5-ENV): Likewise.
46222         (tst-audit6-ENV): Likewise.
46223         (tst-audit7-ENV): Likewise.
46224         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46225         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46226         addition to variable.
46227         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46228         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46229         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46230         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46231         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46232         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46233         tst-audit3, tst-audit4 and tst-audit5.
46234         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46235         tst-audit6 and tst-audit7.
46236         [$(subdir) = elf] (modules-names): Add audit modules for those
46237         tests.
46238         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46239         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46240         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46241         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46242         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46243         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46244         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46245         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46246         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46247         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46248         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46249         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46250         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46251         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46252         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46253         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46254         Likewise.
46255         [$(subdir) = elf && $(config-cflags-avx) = yes]
46256         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46257         [$(subdir) = elf && $(config-cflags-avx) = yes]
46258         (CFLAGS-tst-auditmod4a.c): Likewise.
46259         [$(subdir) = elf && $(config-cflags-avx) = yes]
46260         (CFLAGS-tst-auditmod4b.c): Likewise.
46261         [$(subdir) = elf && $(config-cflags-avx) = yes]
46262         (CFLAGS-tst-auditmod6b.c): Likewise.
46263         [$(subdir) = elf && $(config-cflags-avx) = yes]
46264         (CFLAGS-tst-auditmod6c.c): Likewise.
46265         [$(subdir) = elf && $(config-cflags-avx) = yes]
46266         (CFLAGS-tst-auditmod7b.c): Likewise.
46267         * elf/tst-audit3.c: Move to ...
46268         * sysdeps/x86_64/tst-audit3.c: ... here.
46269         * elf/tst-audit4.c: Move to ...
46270         * sysdeps/x86_64/tst-audit4.c: ... here.
46271         * elf/tst-audit5.c: Move to ...
46272         * sysdeps/x86_64/tst-audit5.c: ... here.
46273         * elf/tst-audit6.c: Move to ...
46274         * sysdeps/x86_64/tst-audit6.c: ... here.
46275         * elf/tst-audit7.c: Move to ...
46276         * sysdeps/x86_64/tst-audit7.c: ... here.
46277         * elf/tst-auditmod3a.c: Move to ...
46278         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46279         * elf/tst-auditmod3b.c: Move to ...
46280         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46281         * elf/tst-auditmod4a.c: Move to ...
46282         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46283         * elf/tst-auditmod4b.c: Move to ...
46284         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46285         * elf/tst-auditmod5a.c: Move to ...
46286         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46287         * elf/tst-auditmod5b.c: Move to ...
46288         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46289         * elf/tst-auditmod6a.c: Move to ...
46290         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46291         * elf/tst-auditmod6b.c: Move to ...
46292         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46293         * elf/tst-auditmod6c.c: Move to ...
46294         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46295         * elf/tst-auditmod7a.c: Move to ...
46296         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46297         * elf/tst-auditmod7b.c: Move to ...
46298         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46300 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46302         [BZ #15366]
46303         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46304         define unconditionally.
46305         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46306         define unconditionally.
46307         (INT8_C, INT16_C, etc.): Likewise.
46309 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46311         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46312         __ehdr_start with hidden visibility.
46314         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46316 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46318         * math/libm-test.inc (cos_test): Use accurate hex constants.
46319         (sincost_test): Likewise.
46321 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46323         * math/libm-test.inc (catan_test): Add more tests.
46324         (catanh_test): Likewise.
46326         * math/s_catanf.c (__catanf): Use suffixed floating-point
46327         constants.
46328         * math/s_catanhf.c (__catanhf): Likewise.
46329         * math/s_catanhl.c (__catanhl): Likewise.
46330         * math/s_catanl.c (__catanl): Likewise.
46332         [BZ #15394]
46333         * math/s_catan.c (__catan): Calculate imaginary part of result
46334         with log1p not log unless computing log of number close to 0.
46335         * math/s_catanf.c (__catanf): Likewise.
46336         * math/s_catanl.c (__catanl): Likewise.
46337         * math/s_catanh.c (__catanh): Calculate real part of result with
46338         log1p not log unless computing log of number close to 0.
46339         * math/s_catanhf.c (__catanhf): Likewise.
46340         * math/s_catanhl.c (__catanhl): Likewise.
46341         * math/libm-test.inc (catan_test): Add more tests.
46342         (catanh_test): Likewise.
46343         * sysdeps/i386/fpu/libm-test-ulps: Update.
46344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46346 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46348         * benchtests/Makefile: Mention files in which fast and slow
46349         paths of math functions are implemented.
46351 2013-04-23  Roland McGrath  <roland@hack.frob.com>
46353         * sysdeps/posix/timespec_get.c: New file.
46355 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46357         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
46358         POWER.
46359         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
46360         for POWER.
46361         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
46362         powerpc/power5/fpu folders.
46363         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
46364         * benchtests/Makefile: Add modf testcase.
46365         * benchtests/bench-modf.c: New file: Benchmark test for mo
46367 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46369         [BZ #14888]
46370         * time/Makefile (tests): Add tst-strptime-whitespace.
46371         * time/strptime_l.c (get_number): Use ISSPACE.
46372         (__strptime_internal): Likewise.
46373         * time/tst-strptime-whitespace.c: New test case.
46375 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
46377         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
46378         member.
46379         (_nss_files_init): Set it here.
46381 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
46383         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
46384         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
46385         unsigned.
46387 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
46389         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
46391 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
46394         size just once.
46396 2013-04-21  David S. Miller  <davem@davemloft.net>
46398         * po/ru.po: Update Russion translation from translation project.
46400 2013-04-17  Adam Conrad  <adconrad@0c3.net>
46402         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
46403         and setfsgid.
46405 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
46407         * configure.in: Remove i386 configure warning. Remove i386 case.
46408         * configure: Regenerate.
46409         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
46410         Add example to error message.
46411         * sysdeps/i386/configure: Regenerate.
46413 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46415         * benchtests/Makefile (bench): Add cos, tan, slowcos and
46416         slowtan.
46417         * benchtests/cos-inputs: New file.
46418         * benchtests/slowcos-inputs: New file.
46419         * benchtests/slowcos.c: New file.
46420         * benchtests/slowtan-inputs: New file.
46421         * benchtests/slowtan.c: New file.
46422         * benchtests/tan-inputs: New file.
46424 2013-04-16  Roland McGrath  <roland@hack.frob.com>
46426         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
46427         considered kosher.
46429 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46431         * benchtests/Makefile: Include cppflags-iterator.mk to add
46432         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
46434         * Makefile.in (bench-clean): New target.
46435         * benchtests/Makefile (bench-clean): Likewise.
46437 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
46439         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
46441 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
46443         * stdio-common/tstdiomisc.c: Fix coding-style violation.
46445 2013-04-15  Andreas Schwab  <schwab@suse.de>
46447         * nscd/grpcache.c (cache_addgr): Properly check for short write.
46448         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46449         * nscd/pwdcache.c (cache_addpw): Likewise.
46450         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
46451         more than recsize.
46453 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46455         * benchtests/Makefile (bench): Write all output to
46456         bench-out.tmp together.
46458 2013-04-15  Andreas Schwab  <schwab@suse.de>
46460         * nscd/nscd.c (main): Don't fork again after closing files.
46462 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46464         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
46466         * benchtests/Rules (bench-deps): Collect dependencies into a
46467         single variable.  Add Makefile to dependencies.
46468         ($(objpfx)bench-%.c): Depend on bench-deps.
46470 2013-04-12  Roland McGrath  <roland@hack.frob.com>
46471             Xavier Roche  <roche+kml2@exalead.com>
46473         [BZ #15361]
46474         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
46475         just that it's a file descriptor.
46476         * manual/llio.texi (Synchronizing AIO Operations): Update description
46477         for EBADF error from aio_fsync.
46479 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46481         * Rules (bench): Move target definition...
46482         * benchtests/Makefile: ... here.
46484 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
46486         * math/libm-test.inc (cos_test): Fix PI/2 test.
46487         (sincos_test): Likewise.
46488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46489         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
46491 2013-04-11  Andreas Schwab  <schwab@suse.de>
46493         [BZ #13988]
46494         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
46495         accept exponent character only when digits were seen.
46496         * stdio-common/Makefile (tests): Add bug26.
46497         * stdio-common/bug26.c: New file.
46499         [BZ #14293]
46500         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
46501         non-freeable.
46503 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46505         * Makeconfig (rtld-prefix): Define built linker prefix.
46506         * Rules (run-bench): Use it.
46507         * math/Makefile (run-regen-ulps): Likewise.
46509         * Rules (bench): Remove eval.
46511 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46512             Roland McGrath  <roland@hack.frob.com>
46513             Ondrej Bilka  <neleai@seznam.cz>
46515         [BZ #15346]
46516         * time/getdate.c: Include ctype.h and alloca.h.
46517         (__getdate_r): Trim leading and trailing spaces of input.
46518         * time/tst-getdate.c (tests): Add tests with leading and
46519         trailing spaces.
46521 2013-04-08  Roland McGrath  <roland@hack.frob.com>
46523         [BZ #14280]
46524         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
46525         when computing value.
46527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46529         * math/README.libm-test (How can I generate "libm-test-ulps"?):
46530         Use testrun.sh to run libm tests.
46532         [BZ #15309]
46533         * elf/dl-open.c (dl_open_worker): memset all of seen array.
46535 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
46537         [BZ #15264]
46538         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
46540 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46542         * Makefile.in (regen-ulps): New target.
46543         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
46544         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
46545         [ifneq (no,$(PERL)] (regen-ulps): New target.
46546         [ifeq (no,$(PERL)] (regen-ulps): New target.
46547         * math/libm-test.inc (ulps_file_name): Define.
46548         (output_dir): New variable.
46549         (options): Add "output-dir" option.
46550         (parse_opt): Handle 'o' case.
46551         (main): If output_dir is non-NULL use it as a prefix
46552         otherwise use "".
46553         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
46555 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46557         [BZ #10060, #10062]
46558         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
46559         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
46560         fail configure if __sync_val_compare_and_swap is not inlined.
46561         * sysdeps/i386/configure: Regenerate.
46562         * configure.in: Build for i686 when configured for i386.
46563         * configure: Regenerate.
46564         * README: Remove i386 reference.
46566 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
46568         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
46569         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46571 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46573         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
46574         (lmsnanval): New variables.
46575         (F): Add conversion tests.
46576         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
46577         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
46579         * stdio-common/tstdiomisc.c (F): Properly collect individual
46580         tests' results.
46582         [BZ #14686, #15336]
46583         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
46584         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46585         Instead, use input NaN values or generate a qNaN by arithmetic
46586         operation.  Also fix bugs to comply with the standard.
46587         * math/libm-test.inc (remainder_test): Add more tests.
46589         [BZ #15335, #15342]
46590         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
46591         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
46592         input NaN values or generate a qNaN by arithmetic operation.
46594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
46595         unreachable code.
46597         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
46598         definitions.
46600 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
46602         [BZ #14478]
46603         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
46604         underflowed result.
46605         * math/s_cexpf.c (__cexpf): Likewise.
46606         * math/s_cexpl.c (__cexpl): Likewise.
46607         * math/libm-test.inc (cexp_test): Add more tests.
46609 2013-04-03  Andreas Schwab  <schwab@suse.de>
46611         [BZ #15330]
46612         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
46613         order arrays from heap if bigger than alloca cutoff.
46615 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
46617         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
46618         (SNAN_TESTS_double): Refer to GCC PR56831.
46619         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
46620         GCC PR56828.
46622 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46624         * Rules (bench): Move bench.out after the run is complete.
46626         * Rules (bench): Echo currently running benchmark.
46628         * benchtests/Makefile (bench): Add atan and slowatan.
46629         * benchtests/atan-inputs: New file.
46630         * benchtests/slowatan-inputs: New file.
46631         * benchtests/slowatan.c: New file.
46633         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
46634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
46635         its value.
46637         [BZ #15305]
46638         * sysdeps/unix/sysv/linux/kernel-features.h
46639         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
46640         __ASSUME_XFS_RESTRICTED_CHOWN.
46641         * sysdeps/unix/sysv/linux/pathconf.c
46642         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46643         Save and restore errno.
46645 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
46647         [BZ #15327]
46648         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
46649         arguments using __kernel_casinh.
46650         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
46651         arguments using __kernel_casinhf.
46652         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
46653         arguments using __kernel_casinhl.
46654         * math/libm-test.inc (cacosh_test): Add more tests.
46655         * sysdeps/i386/fpu/libm-test-ulps: Update.
46656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46658 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46660         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
46661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
46663         * bench/Makefile (bench): Add sin and slowsin.
46664         * benchtests/sin-inputs: New file.
46665         * benchtests/slowsin-inputs: New file.
46666         * benchtests/slowsin.c: New file.
46668         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
46669         (bench): Add slowexp and slowpow.
46670         (exp-ITER): Increase iterations.
46671         (pow-ITER): Likewise.
46672         * benchtests/exp-inputs: Change input.
46673         * benchtests/pow-inputs: Likewise.
46674         * benchtests/slowexp-inputs: New file.
46675         * benchtests/slowexp.c: New file.
46676         * benchtests/slowpow-inputs: New file.
46677         * benchtests/slowpow.c: New file.
46679 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46681         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
46682         instructions.
46683         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46684         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
46685         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46686         * benchtests/Makefile: Add rint benchtest.
46687         * benchtests/rint-inputs: Input for rint benchtest.
46689 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46691         * Versions.def (libm): Add GLIBC_2.18.
46692         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
46693         hidden libm prototypes.
46694         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
46695         * math/Makefile (libm-calls): Add s_issignaling.
46696         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
46697         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
46698         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
46699         declaration.
46700         * math/math.h [__USE_GNU] (issignaling): New macro.
46701         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
46702         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
46703         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
46704         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
46705         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
46706         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
46707         * manual/arith.texi (issignaling): New section.
46708         * manual/libm-err-tab.pl (@all_functions): Update comment.
46709         * math/gen-libm-test.pl (parse_args): Apply special handling for
46710         issignaling.
46711         * math/libm-test.inc (print_float, issignaling_test): New
46712         functions.
46713         (check_float_internal): Add issignaling checks.
46714         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
46715         default definition.
46716         * sysdeps/powerpc/math-tests.h: New file.
46717         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
46718         tests.
46719         * math/test-snan.c (TEST_FUNC): Likewise.
46721 2013-03-30  David S. Miller  <davem@davemloft.net>
46723         * po/de.po: Update from translation team.
46725 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
46727         [BZ #10357]
46728         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46729         imaginary part less than 1.0 and real part less than 0.5
46730         specially.
46731         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46732         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46733         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
46734         (cacos_test): Add more tests.
46735         (casin_test): Likewise.
46736         (casinh_test): Likewise.
46737         * sysdeps/i386/fpu/libm-test-ulps: Update.
46738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46740 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46742         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
46743         ONE with its value.
46745         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
46746         (__pow_mp): Replace ONE and MONE with their values.
46747         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
46749         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46750         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
46751         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46752         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46754         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
46756         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
46757         (__pow_mp): Replace ZERO and MZERO with their values.
46758         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46759         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46760         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46762         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46763         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
46764         (__sqr): Likewise.
46766         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
46768         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
46770 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46772         * include/stdlib.h [!SHARED] (__call_tls_dtors):
46773         Declare with __attribute__ ((weak)).
46774         * stdlib/exit.c (__libc_atexit) [!SHARED]:
46775         Call __call_tls_dtors only if it's not NULL.
46777 2013-03-28  Roland McGrath  <roland@hack.frob.com>
46779         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
46780         didn't do it already, then set _dl_phdr and _dl_phnum based on the
46781         magic __ehdr_start linker symbol if it's defined.
46782         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
46783         them up here if it was already done.
46785         * elf/dl-support.c (_dl_phdr): Make pointer to const.
46786         (_dl_aux_init): Use const in cast when setting it.
46787         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
46788         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
46789         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
46791         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
46792         Declare them here.
46793         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
46794         * csu/libc-tls.c: Nor here.
46795         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
46797         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
46798         (__libc_message): Never call vsyslog.
46800 2013-03-28  Alan Modra  <amodra@gmail.com>
46802         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
46803         Define as empty.
46804         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
46805         Likewise.
46807 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46809         [BZ #15214]
46810         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
46811         underflow.
46812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46814 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46816         [BZ #15304]
46817         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46818         Don't add gid passed as argument.
46820         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
46822 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
46824         [BZ #15307]
46825         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46826         imaginary part between 1.0 and 1.5 and real part less than 0.5
46827         specially.
46828         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46829         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46830         * math/libm-test.inc (cacos_test): Add more tests.
46831         (casin_test): Likewise.
46832         (casinh_test): Likewise.
46833         * sysdeps/i386/fpu/libm-test-ulps: Update.
46834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46836 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46838         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
46839         constants.
46840         (norm): Likewise.
46841         (denorm): Likewise.
46842         (__dbl_mp): Likewise.
46843         (add_magnitudes): Likewise.
46844         (sub_magnitudes): Likewise.
46845         (__add): Likewise.
46846         (__sub): Likewise.
46847         (__mul): Likewise.
46848         (__sqr): Likewise.
46849         (__inv): Likewise.
46850         (__dvd): Likewise.
46852         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46853         commented code.
46854         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46855         (__dubcos): Likewise.
46856         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46857         (__ieee754_acos): Likewise.
46858         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46859         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46860         (__exp1): Likewise.
46861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46862         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46863         (log1): Likewise.
46864         (my_log2): Likewise.
46865         (checkint): Likewise.
46866         * sysdeps/ieee754/dbl-64/e_remainder.c
46867         (__ieee754_remainder): Likewise.
46868         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46869         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46870         (bsloww): Likewise.
46871         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46873         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46874         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46875         MANTISSA_STORE_T to store computations on mantissa.  Use
46876         macros for rounding and division.
46877         (denorm): Likewise.
46878         (__dbl_mp): Likewise.
46879         (add_magnitudes): Likewise.
46880         (sub_magnitudes): Likewise.
46881         (__mul): Likewise.
46882         (__sqr): Likewise.
46883         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46884         powers of two in terms of TWOPOW macro.
46885         (mp_no): Make type of mantissa as MANTISSA_T.
46886         [!RADIXI]: Define RADIXI.
46887         [!TWO52]: Define TWO52.
46888         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46890 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46893         llroundl symbol when building for PPC32.
46895 2013-03-24  Mark H Weaver  <mhw@netris.org>
46897         * manual/arith.texi (Normalization Functions): Fix prototypes for
46898         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46900 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46902         [BZ #13889]
46903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46904         high value to check if expl overflow.
46905         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46906         to check for underflow and overflow.
46907         * math/libm-test.inc: Add exp test.
46909 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46911         [BZ #11120]
46912         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46913         with NOT_IN_libc.
46915 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46917         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46918         symbol.
46920 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46922         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46923         wrap blocks consisting of several statements.
46925         * sysdeps/generic/math-tests.h: New file.
46926         * sysdeps/i386/fpu/math-tests.h: Likewise.
46927         * math/test-snan.c: Include it.
46928         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46930 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46932         [BZ #15285]
46933         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46934         (__ieee754_j0l): Do not improve calculations using cos of twice
46935         input for inputs above LDBL_MAX / 2.0L.
46936         (__ieee754_y0l): Likewise.
46937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46938         (__ieee754_j1l): Do not improve calculations using cos of twice
46939         input for inputs above LDBL_MAX / 2.0L.
46940         (__ieee754_y1l): Likewise.
46941         * math/libm-test.inc (j0_test): Add another test.
46942         (j1_test): Likewise.
46943         (y0_test): Likewise.
46944         (y1_test): Likewise.
46945         * sysdeps/i386/fpu/libm-test-ulps: Update.
46947 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46949         * Rules ($(objpfx)bench-%.c): Include code from a C source
46950         file.
46952 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46954         [BZ #15287]
46955         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46956         imaginary part 1.0 and real part less than 0.5 specially.
46957         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46958         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46959         * math/libm-test.inc (cacos_test): Add more tests.
46960         (casin_test): Likewise.
46961         (casinh_test): Likewise.
46962         * sysdeps/i386/fpu/libm-test-ulps: Update.
46963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46965 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46967         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46968         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46970 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46972         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46973         * config.make.in (config-cflags-sse4): Remove variable.
46974         (config-cflags-avx): Likewise.
46975         (config-cflags-sse2avx): Likewise.
46976         (config-cflags-novzeroupper): Likewise.
46977         (config-asflags-i686): Likewise.
46978         (have-mfma4): Likewise.
46979         (have-as-vis3): Likewise.
46980         (MIG): Likewise.
46981         * configure.in (MIG): Do not AC_SUBST.
46982         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46983         (libc_cv_cc_sse4): Do not AC_SUBST.
46984         (libc_cv_cc_avx): Likewise.
46985         (libc_cv_cc_sse2avx): Likewise.
46986         (libc_cv_cc_novzeroupper): Likewise.
46987         (libc_cv_cc_fma4): Likewise.
46988         (libc_cv_as_i686): Likewise.
46989         (libc_cv_sparc_as_vis3): Likewise.
46990         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46991         LIBC_CONFIG_VAR.
46992         (config-asflags-i686): Likewise.
46993         (config-cflags-avx): Likewise.
46994         (config-cflags-sse2avx): Likewise.
46995         (have-mfma4): Likewise.
46996         (config-cflags-novzeroupper): Likewise.
46997         * sysdeps/mach/configure.in (MIG): Likewise.
46998         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46999         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47000         LIBC_CONFIG_VAR.
47001         (config-cflags-avx): Likewise.
47002         (config-cflags-sse2avx): Likewise.
47003         (have-mfma4): Likewise.
47004         (config-cflags-novzeroupper): Likewise.
47005         * configure: Regenerated.
47006         * sysdeps/i386/configure: Likewise.
47007         * sysdeps/mach/configure: Likewise.
47008         * sysdeps/sparc/configure: Likewise.
47009         * sysdeps/x86_64/configure: Likewise.
47011 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47013         [BZ #14812]
47014         * locale/programs/localedef.c (options): Put N_ translation marker
47015         on argument names, not just descriptions.
47017 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47019         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47021 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47023         [BZ #14176]
47024         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47026 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47028         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47029         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47030         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47031         [!BEFORE_ABORT] (before_abort): New function.
47032         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47033         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47034         (writev_for_fatal): New function.
47035         (WRITEV_FOR_FATAL): New macro; call that.
47036         (backtrace_and_maps): New function.
47037         (BEFORE_ABORT): New macro; call that.
47038         (struct str_list): Type removed.
47039         (__libc_message, __libc_fatal): Functions removed.
47040         Include <sysdeps/posix/libc_fatal.c> instead.
47042 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47044         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47045         constants.
47046         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47047         double constants.
47049 2013-03-19  Andreas Schwab  <schwab@suse.de>
47051         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47052         * sysdeps/gnu/configure: Regenerate.
47054         * configure.in: Substitute libc_cv_rtlddir.
47055         * configure: Regenerate.
47056         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47057         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47058         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47059         * elf/Makefile (install-others, CFLAGS-interp.c)
47060         (ldso_install, common-ldd-rewrite): Likewise.
47061         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47062         $(inst_slibdir)/$(rtld-installed-name).
47063         * scripts/rellns-sh: Add -p option.
47064         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47065         for source.
47067 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47069         * manual/nptl.texi: Renamed to ...
47070         * manual/threads.texi: ... this.
47071         * manual/Makefile (chapters): Update.
47073 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47075         [BZ #14812]
47076         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47077         on argument names, not just descriptions.
47078         * malloc/memusagestat.c (options): Likewise.
47079         * nss/getent.c (options): Likewise.
47081 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47083         [BZ #14812]
47084         * iconv/iconv_prog.c (options): Put N_ translation marker
47085         on argument names, not just descriptions.
47086         * iconv/iconvconfig.c (options): Likewise.
47088 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47090         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47091         implementation which is faster on all x86_64 architectures.
47092         Tested on AMD, Intel Nehalem, SNB, IVB.
47093         * sysdeps/x86_64/strnlen.S: Likewise.
47095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47096         Remove all multiarch strlen and strnlen versions.
47097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47098         Remove strlen and strnlen related parts.
47100         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47101         Inline strlen part.
47102         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47104         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47105         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47106         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47107         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47108         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47109         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47111 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47113         * manual/memory.texi (Malloc Tunable Parameters):
47114         Sort parameters alphabetically. Add comments for missing entries.
47116 2013-03-17  David S. Miller  <davem@davemloft.net>
47118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47120 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47122         [BZ #15283]
47123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47124         for arguments at most half maximum finite value.
47125         * math/libm-test.inc (j0_test): Add more tests.
47126         (j1_test): Likewise.
47127         (y0_test): Likewise.
47128         (y1_test): Likewise.
47129         * sysdeps/i386/fpu/libm-test-ulps: Update.
47130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47132         [BZ #14155]
47133         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47134         1 / x and functions P and Q for arguments above 0x1p256L.
47135         (__ieee754_y0l): Likewise.
47136         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47137         (__ieee754_y1l): Likewise.
47138         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47139         (j1_test): Likewise.
47140         (y0_test): Likewise.
47141         (y1_test): Likewise.
47143 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47145         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47146         variable.
47148 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47150         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47151         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47152         zero since it's initialized to EXEC_PAGESIZE.
47154         * sysdeps/unix/sysv/linux/ldsodefs.h
47155         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47156         * sysdeps/generic/ldsodefs.h: ... here.
47158 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47160         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47162         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47163         math/test-snan.c.
47164         * math/test-snan.c: Renamed from
47165         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47166         * math/Makefile (tests): Add test-snan.
47167         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47168         test-powerpc-snan.
47170         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47171         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47172         functions.
47173         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47174         __builtin_nan family of functions.
47175         * math/libm-test.inc (initialize): Initialize qnan_value with
47176         __builtin_nan family of functions.
47177         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47178         Remove variables.
47179         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47180         Remove functions.
47181         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47182         storage class.  Initialize qNaN_var and sNaN_var with
47183         __builtin_nan and __builtin_nans families of functions,
47184         respectively.
47186         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47187         (sqrt_test): Remove duplicate test with qNaN input.
47188         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47189         (round_test, signbit_test, significand_test): Note missing +/-Inf
47190         as well as qNaN tests.
47192         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47193         qNaN_var.  Fix a few strings, too.
47194         * math/libm-test.inc (nan_value): Rename to qnan_value.
47195         * math/gen-libm-test.pl (%beautify): Adjust to that.
47196         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47197         * math/test-misc.c (main): Likewise.
47198         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47199         to __qnan_bytes, and __qnan_union, respectively.
47200         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47201         Likewise.
47202         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47203         and lqnanval, respectively.
47204         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47205         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47206         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47207         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47209         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47210         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47211         doubles.
47213         * math/test-misc.c (main): Fix copy'n'pastos.
47214         * misc/tst-efgcvt.c (special): Likewise.
47216         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47217         Remove declarations.
47219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47221         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47222         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47223         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47224         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47226 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47229         macro to return vdso values correctly in IFUNC implementations.
47230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47231         Optimization by using IFUNC.
47233 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47234             Richard Henderson  <rth@redhat.com>
47235             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47237         * Makefile.in (bench): New target.
47238         * NEWS: Mention the benchmark framework.
47239         * Rules (bench): Likewise.
47240         (binaries-bench): Generate binaries for functions to
47241         benchmark.
47242         * benchtests/Makefile: New makefile for benchmark tests.
47243         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47244         programs.
47245         * benchtests/exp-inputs: New input file for EXP function.
47246         * benchtests/pow-inputs: New input file for POW function.
47247         * scripts/bench.pl: New script to generate source files for
47248         benchmark programs.
47250 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47252         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47254         computations on mantissa.  Use macros for rounding and
47255         division.
47256         (denorm): Likewise.
47257         (__dbl_mp): Likewise.
47258         (add_magnitudes): Likewise.
47259         (sub_magnitudes): Likewise.
47260         (__mul): Likewise.
47261         (__sqr): Likewise.
47262         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47263         powers of two in terms of TWOPOW macro.
47264         (mp_no): Make type of mantissa as MANTISSA_T.
47265         [!RADIXI]: Define RADIXI.
47266         [!TWO52]: Define TWO52.
47267         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47269         * manual/nptl.texi (cindex): Modify threads to pthreads.
47271 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47273         * sysdeps/x86_64/preconfigure: Regenerated.
47275 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47277         [BZ #14155]
47278         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47279         0x1p28 and above.
47280         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47281         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47282         0x1p28 and above.
47283         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47284         * math/libm-test.inc (j0_test): Do not allow one spurious
47285         underflow exception.
47286         (y1_test): Likewise.
47288 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47290         * manual/Makefile (chapters): Add nptl.
47291         * manual/debug.texi (Debugging Support): Add link to Threads
47292         chapter.
47293         * manual/nptl.texi: New file.
47295         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47297 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47299         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47300         for non-NULL pointer before the memory validity test. Pointed
47301         out by Holger Brunck <holger.brunck@keymile.com>.
47303 2013-03-13  Andreas Schwab  <schwab@suse.de>
47305         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47306         instead of .os.
47308 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47310         * timezone/zic.c: Update from tzcode 2013b.
47312 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47314         * manual/install.texi (Configuring and compiling):
47315         Mention i686 and i586.
47316         * INSTALL: Regenerate.
47318 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47320         * sysdeps/init_array/elf-init.c: New file.
47321         * csu/elf-init.c
47322         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47323         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
47325         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
47326         __gmon_start__ as global, but as static with a .preinit_array pointer.
47327         * sysdeps/init_array/gmon-start.c: New file.  Use that.
47328         * sysdeps/init_array/crti.S: New file, empty except for comments.
47329         * sysdeps/init_array/crtn.S: Likewise.
47331 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
47333         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
47334         definining bcopy.
47335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47336         Remove Prefer_SSE_for_memop.
47337         * sysdeps/x86_64/multiarch/init-arch.h: Remove
47338         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
47339         HAS_PREFER_SSE_FOR_MEMOP.
47340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
47341         memset-x86-64.
47342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47343         Remove bzero, memset ifunc support.
47344         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
47345         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
47346         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47347         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47349 2013-03-11  Andreas Schwab  <schwab@suse.de>
47351         [BZ #15234]
47352         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
47353         by SHLIB_COMPAT.
47354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
47355         (GLIBC_2.16): Remove pthread_atfork.
47357 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
47359         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
47360         (ptestcases.h): Likewise.
47362 2013-03-08  Roland McGrath  <roland@hack.frob.com>
47364         * Makeconfig ($(common-objpfx)config.status): Depend on
47365         sysdeps/*/preconfigure{,.in} too.
47367 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
47369         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
47370         (__free_hook): Use void * instead of __malloc_ptr_t.
47371         (__malloc_hook): Likewise.
47372         (__realloc_hook): Likewise.
47373         (__memalign_hook): Likewise.
47374         (__after_morecore_hook): Likewise.
47375         * malloc/arena.c (save_malloc_hook): Likewise.
47376         (save_free_hook): Likewise.
47377         * malloc/hooks.c (malloc_hook_ini): Likewise.
47378         (realloc_hook_ini): Likewise.
47379         (memalign_hook_ini): Likewise.
47380         * malloc/malloc.c (malloc_hook_ini): Likewise.
47381         (realloc_hook_ini): Likewise.
47382         (memalign_hook_ini): Likewise.
47383         (__free_hook): Likewise.
47384         (__malloc_hook): Likewise.
47385         (__realloc_hook): Likewise.
47386         (__memalign_hook): Likewise.
47387         (__libc_malloc): Likewise.
47388         (__libc_free): Likewise.
47389         (__libc_realloc): Likewise.
47390         (__libc_memalign): Likewise.
47391         (__libc_valloc): Likewise.
47392         (__libc_pvalloc): Likewise.
47393         (__libc_calloc): Likewise.
47394         (__posix_memalign): Likewise.
47395         * malloc/morecore.c (__sbrk): Likewise.
47396         (__default_morecore): Likewise.
47398         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
47400         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
47401         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
47402         __malloc_ptrdiff_t.
47404         * malloc/malloc.h (__malloc_size_t): Remove macro.
47405         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
47406         __malloc_size_t.
47407         (old_memalign_hook): Likewise.
47408         (old_realloc_hook): Likewise.
47409         (struct hdr): Likewise.
47410         (flood): Likewise.
47411         (mallochook): Likewise.
47412         (memalignhook): Likewise.
47413         (reallochook): Likewise.
47414         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
47415         (tr_old_realloc_hook): Likewise.
47416         (tr_old_memalign_hook): Likewise.
47417         (tr_mallochook): Likewise.
47418         (tr_reallochook): Likewise.
47419         (tr_memalignhook): Likewise.
47421 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47423         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
47424         default_ldbl_pack and using as default implementation.
47425         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
47426         implementation.
47427         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
47428         redundant definition.
47429         (ldbl_insert_mantissa): Likewise.
47430         (ldbl_canonicalize): Likewise.
47431         (ldbl_nearbyint): Likewise.
47432         (ldbl_pack): Rename to ldbl_pack_ppc.
47433         (ldbl_unpack): Rename to ldbl_unpack_ppc.
47434         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
47435         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
47437 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
47440         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
47441         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47442         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
47443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
47444         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
47445         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
47446         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
47448 2013-03-07  Andreas Jaeger  <aj@suse.de>
47450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47451         bits/mman-linux.h.
47453 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47455         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
47456         Include mpa.h and declare __MPEXP.
47457         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
47458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47459         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47460         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
47461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47462         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
47463         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
47465         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
47466         (__slowpow): Use long double EXPL and LOGL functions to
47467         compute POW.
47468         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
47469         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47470         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
47471         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
47472         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
47473         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
47475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
47476         intermediate variable to calculate exponent.
47477         (__sqr): Likewise.
47478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47479         Likewise.
47480         (__sqr): Likewise.
47482         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47483         [!NO__SQR]: Define __sqr.
47484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
47485         and NO__SQR.  Remove all code except __mul and __sqr.  Include
47486         sysdeps/ieee754/dbl-64/mpa.c.
47487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47489         [BZ #12723]
47490         * posix/Makefile (tests): Add tst-pathconf.
47491         * posix/tst-pathconf.c: New test case.
47492         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
47493         _PC_PIPE_BUF.
47494         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
47496 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
47498         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
47500 2013-03-06  Andreas Jaeger  <aj@suse.de>
47502         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
47503         definition via __MAP_ANONYMOUS.
47505         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
47506         it's not part of Linux headers.
47508         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
47509         (MAP_HUGE_MASK): Define.
47511         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47512         Define.
47513         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47515         Define.
47516         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47517         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
47518         Define.
47519         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47520         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
47521         Define.
47522         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
47524         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
47525         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
47526         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
47527         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
47528         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
47531         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47532         Handle f2fs.
47534         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47535         Handle f2fs and efivarfs.
47537         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
47538         f2fs.
47540         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
47541         (EFIVARFS_MAGIC): Add.
47542         (F2FS_LINK_MAX): Add.
47544 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47546         * stdio-common/vfprintf.c: Replace __builtin_expect with
47547         __glibc_unlikely.
47549 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
47551         [BZ #13550]
47552         * sysdeps/generic/bp-sym.h: Remove file.
47553         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
47554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
47555         <bp-sym.h> and <bp-asm.h>.
47556         (__longjmp): Don't use BP_SYM.
47557         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
47558         and <bp-asm.h>.
47559         (memcpy): Don't use BP_SYM.
47560         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
47561         <bp-sym.h> and <bp-asm.h>.
47562         (memcpy): Don't use BP_SYM.
47563         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
47564         <bp-asm.h>.
47565         (memcpy): Don't use BP_SYM.
47566         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
47567         <bp-asm.h>.
47568         (memset): Don't use BP_SYM.
47569         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47570         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47571         (__bzero): Don't use BP_SYM.
47572         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47573         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
47575         <bp-sym.h> and <bp-asm.h>.
47576         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47577         pointers.
47578         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
47579         <bp-sym.h> and <bp-asm.h>.
47580         (memcpy): Don't use BP_SYM.
47581         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
47582         <bp-sym.h> and <bp-asm.h>.
47583         (memset): Don't use BP_SYM.
47584         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47585         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47586         (__bzero): Don't use BP_SYM.
47587         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47588         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47589         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
47590         <bp-sym.h> and <bp-asm.h>.
47591         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47592         pointers.
47593         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
47594         <bp-sym.h> and <bp-asm.h>.
47595         (memcpy): Don't use BP_SYM.
47596         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
47597         <bp-sym.h> and <bp-asm.h>.
47598         (memset): Don't use BP_SYM.
47599         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47600         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47601         (__bzero): Don't use BP_SYM.
47602         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47603         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
47605         <bp-sym.h> and <bp-asm.h>.
47606         (__memchr): Don't use BP_SYM.
47607         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
47608         <bp-sym.h> and <bp-asm.h>.
47609         (memcmp): Don't use BP_SYM.  Remove comment about bounded
47610         pointers.
47611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
47612         <bp-sym.h> and <bp-asm.h>.
47613         (memcpy): Don't use BP_SYM.
47614         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
47615         <bp-sym.h> and <bp-asm.h>.
47616         (__mempcpy): Don't use BP_SYM.
47617         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
47618         <bp-sym.h> and <bp-asm.h>.
47619         (__memrchr): Don't use BP_SYM.
47620         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
47621         <bp-sym.h> and <bp-asm.h>.
47622         (memset): Don't use BP_SYM.
47623         (__bzero): Likewise.
47624         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
47625         <bp-sym.h> and <bp-asm.h>.
47626         (__rawmemchr): Don't use BP_SYM.
47627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
47628         <bp-sym.h> and <bp-asm.h>.
47629         (__STRCMP): Don't use BP_SYM.
47630         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
47631         <bp-sym.h> and <bp-asm.h>.
47632         (strchr): Don't use BP_SYM.
47633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
47634         <bp-sym.h> and <bp-asm.h>.
47635         (__strchrnul): Don't use BP_SYM.
47636         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
47637         <bp-sym.h> and <bp-asm.h>.
47638         (strlen): Don't use BP_SYM.
47639         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
47640         <bp-sym.h> and <bp-asm.h>.
47641         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47642         pointers.
47643         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
47644         <bp-sym.h> and <bp-asm.h>.
47645         (__strnlen): Don't use BP_SYM.
47646         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
47647         <bp-sym.h> and <bp-asm.h>.
47648         (__GI__setjmp): Don't use BP_SYM.
47649         (_setjmp): Likewise.
47650         (__sigsetjmp): Likewise.
47651         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
47652         (L(start_addresses)): Don't use BP_SYM.
47653         (_start): Likewise.
47654         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
47655         <bp-asm.h>.
47656         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
47657         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
47658         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47659         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47660         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
47661         <bp-asm.h>.
47662         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
47663         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
47664         about bounded pointers.
47665         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47666         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47667         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
47668         <bp-asm.h>.
47669         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47670         about bounded pointers.  Remove GKM FIXME comments.
47671         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47672         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
47673         <bp-asm.h>.
47674         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
47675         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
47676         Remove GKM FIXME comments.
47677         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47678         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47679         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
47680         <bp-asm.h>.
47681         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
47682         about bounded pointers.  Remove GKM FIXME comment.
47683         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
47684         and <bp-asm.h>.
47685         (strncmp): Don't use BP_SYM.  Remove comment about bounded
47686         pointers.
47687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
47688         <bp-sym.h> and <bp-asm.h>.
47689         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
47691         <bp-sym.h> and <bp-asm.h>.
47692         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47693         comment.
47695 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47697         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
47698         call free(NULL).
47700 2013-03-05  David S. Miller  <davem@davemloft.net>
47702         * po/es.po: Update from translation team.
47704 2013-03-05  Andreas Jaeger  <aj@suse.de>
47706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
47707         <bits/mman-linux.h>.
47708         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47709         is fine.
47710         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
47711         <bits/mman-linux.h> to end of file.
47712         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47713         is fine.
47714         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
47715         <bits/mman-linux.h> to end of file.
47716         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
47717         is fine.
47718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
47719         <bits/mman-linux.h> to end of file.
47721         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
47722         (MCL_CURRENT, MCL_FUTURE): Define here.
47724 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47726         [BZ #15232]
47727         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
47728         attribute_hidden.
47729         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47731 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47733         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
47734         fourth parameter needed for rt_sigprocmask syscall.
47735         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47736         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47737         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
47738         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47739         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47740         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
47742 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
47744         [BZ #13550]
47745         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
47746         comment about bounded pointers.
47747         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
47748         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
47750 2013-03-04  Andreas Jaeger  <aj@suse.de>
47752         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
47753         common definitions.
47755         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
47756         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
47757         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
47758         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47762 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47764         [BZ #15055]
47765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
47766         __ieee754_sqrl instead of __sqrl.
47768 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
47770         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
47771         * sysdeps/powerpc/fpu_control.h: ... here.
47772         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
47773         * sysdeps/powerpc/bits/fenvinline.h: ... here.
47774         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
47775         * sysdeps/powerpc/bits/mathinline.h: ... here.
47777 2013-03-01  Roland McGrath  <roland@hack.frob.com>
47779         * elf/dl-hwcaps.c (_dl_important_hwcaps):
47780         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
47781         to just [NEED_DL_SYSINFO_DSO].
47782         * elf/dl-support.c: Likewise.
47783         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
47784         * elf/rtld.c (dl_main): Likewise.
47785         * elf/setup-vdso.h (setup_vdso): Likewise.
47786         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
47787         * sysdeps/unix/sysv/linux/dl-sysdep.c
47788         (_dl_discover_osversion): Likewise.
47790 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
47792         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
47793         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47795 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47797         * NEWS: Mention libm performance improvements and non-x86 PI
47798         futex support.
47800         * csu/libc-start.c (__pthread_initialize_minimal): Change
47801         function arguments.
47802         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
47804 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
47806         [BZ #13550]
47807         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
47808         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
47809         <bp-sym.h> and <bp-asm.h>.
47810         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47811         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
47812         and <bp-asm.h>.
47813         (memcpy): Don't use BP_SYM.
47814         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
47815         <bp-asm.h>.
47816         (__mpn_add_n): Don't use BP_SYM.
47817         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
47818         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
47819         and <bp-asm.h>.
47820         (__mpn_addmul_1): Don't use BP_SYM.
47821         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47822         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
47823         <bp-sym.h>.
47824         (_setjmp): Don't use BP_SYM.
47825         (__novmx_setjmp): Likewise.
47826         (__GI__setjmp): Likewise.
47827         (__vmx_setjmp): Likewise.
47828         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
47829         <bp-sym.h>.
47830         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
47831         (__bzero): Don't use BP_SYM.
47832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
47833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
47834         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
47835         <bp-sym.h> and <bp-asm.h>.
47836         (memcpy): Don't use BP_SYM.
47837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
47838         <bp-sym.h> and <bp-asm.h>.
47839         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
47841         <bp-sym.h> and <bp-asm.h>.
47842         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
47843         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
47844         <bp-asm.h>.
47845         (__mpn_lshift): Don't use BP_SYM.
47846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47847         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
47848         <bp-asm.h>.
47849         (memset): Don't use BP_SYM.
47850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
47851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
47852         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47853         <bp-asm.h>.
47854         (__mpn_mul_1): Don't use BP_SYM.
47855         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47857         <bp-sym.h> and <bp-asm.h>.
47858         (memcmp): Don't use BP_SYM.
47859         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47860         <bp-sym.h> and <bp-asm.h>.
47861         (memcpy): Don't use BP_SYM.
47862         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47863         <bp-sym.h> and <bp-asm.h>.
47864         (memset): Don't use BP_SYM.
47865         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47866         <bp-sym.h> and <bp-asm.h>.
47867         (strncmp): Don't use BP_SYM.
47868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47869         <bp-sym.h> and <bp-asm.h>.
47870         (memcpy): Don't use BP_SYM.
47871         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47872         <bp-sym.h> and <bp-asm.h>.
47873         (memset): Don't use BP_SYM.
47874         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47875         <bp-sym.h> and <bp-asm.h>.
47876         (__memchr): Don't use BP_SYM.
47877         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47878         <bp-sym.h> and <bp-asm.h>.
47879         (memcmp): Don't use BP_SYM.
47880         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47881         <bp-sym.h> and <bp-asm.h>.
47882         (memcpy): Don't use BP_SYM.
47883         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47884         <bp-sym.h> and <bp-asm.h>.
47885         (__mempcpy): Don't use BP_SYM.
47886         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47887         <bp-sym.h> and <bp-asm.h>.
47888         (__memrchr): Don't use BP_SYM.
47889         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47890         <bp-sym.h> and <bp-asm.h>.
47891         (memset): Don't use BP_SYM.
47892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47893         <bp-sym.h> and <bp-asm.h>.
47894         (__rawmemchr): Don't use BP_SYM.
47895         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47896         <bp-sym.h> and <bp-asm.h>.
47897         (__STRCMP): Don't use BP_SYM.
47898         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47899         <bp-sym.h> and <bp-asm.h>.
47900         (strchr): Don't use BP_SYM.
47901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47902         <bp-sym.h> and <bp-asm.h>.
47903         (__strchrnul): Don't use BP_SYM.
47904         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47905         <bp-sym.h> and <bp-asm.h>.
47906         (strlen): Don't use BP_SYM.
47907         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47908         <bp-sym.h> and <bp-asm.h>.
47909         (strncmp): Don't use BP_SYM.
47910         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47911         <bp-sym.h> and <bp-asm.h>.
47912         (__strnlen): Don't use BP_SYM.
47913         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47914         <bp-asm.h>.
47915         (__mpn_rshift): Don't use BP_SYM.
47916         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47918         <bp-sym.h> and <bp-asm.h>.
47919         (__sigsetjmp): Don't use BP_SYM.
47920         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47921         (L(start_addresses)): Don't use BP_SYM.
47922         (_start): Likewise.
47923         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47924         <bp-asm.h>.
47925         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47926         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47927         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47928         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47929         <bp-asm.h>.
47930         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47931         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47932         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47933         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47934         <bp-asm.h>.
47935         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47936         comments.
47937         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47938         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47939         <bp-asm.h>.
47940         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47941         FIXME comments.
47942         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47943         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47944         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47945         <bp-asm.h>.
47946         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47947         comment.
47948         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47949         and <bp-asm.h>.
47950         (strncmp): Don't use BP_SYM,
47951         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47952         <bp-asm.h>.
47953         (__mpn_sub_n): Don't use BP_SYM.
47954         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47955         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47956         and <bp-asm.h>.
47957         (__mpn_submul_1): Don't use BP_SYM.
47958         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47960         <bp-sym.h> and <bp-asm.h>.
47961         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47963         <bp-sym.h> and <bp-asm.h>.
47964         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47965         comment.
47967 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47970         Use ZK to minimize writes to Z.
47971         (sub_magnitudes): Simplify code a bit.
47972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47973         Use ZK to minimize writes to Z.
47974         (sub_magnitudes): Simplify code a bit.
47976 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47978         * csu/gmon-start.c: Add special exception to license text.
47980 2013-02-27  Richard Henderson  <rth@redhat.com>
47982         * scripts/config.guess: Update from config.git.
47983         * scripts/config.sub: Likewise.
47985 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47987         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47989         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47991         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47993         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47995         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47997 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47999         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48000         [$(build-shared = yes].
48002 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48004         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48005         (__mul): Reduce iterations for calculating mantissa.
48007         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48008         MPTWO.
48009         (__mpranred): Likewise.
48011         [BZ #15160]
48012         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48013         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48015 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48017         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48018         Define __attribute__.
48020 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48022         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48023         unused.
48024         * posix/regex_internal.h (__attribute): Remove.
48025         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48026         (re_string_context_at): Likewise.
48027         (bitset_not): Use __attribute__ and mark function as possibly
48028         unused.
48029         (bitset_merge): Likewise.
48030         (bitset_mask): Likewise.
48031         (re_string_char_size_at): Likewise.
48032         (re_string_wchar_at): Likewise.
48033         (re_string_elem_size_at): Likewise.
48035 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48037         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48038         code.
48039         (cc32): Likewise.
48041         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48042         (__acr): Likewise.
48043         (__cpy): Likewise.
48044         (norm): Likewise.
48045         (denorm): Likewise.
48046         (__dbl_mp): Likewise.
48047         (add_magnitudes): Likewise.
48048         (sub_magnitudes): Likewise.
48049         (__mul): Likewise.
48050         (__inv): Likewise.
48052         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48053         style.
48055         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48056         style.
48058         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48059         code.
48061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48062         up changes with default code.
48063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48064         Likewise.
48066 2013-02-24  Allan McRae  <allan@archlinux.org>
48068         * manual/socket.texi (The Internet Namespace): Order menu items
48069         to match that in the file.
48071         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48072         node listing of the info page menu.
48074 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48076         [BZ #13550]
48077         * sysdeps/i386/bp-asm.h: Remove file.
48078         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48079         (PARMS): Do not use macros from bp-asm.h.
48080         (S1): Likewise.
48081         (S2): Likewise.
48082         (SIZE): Likewise.
48083         (__mpn_add_n): Do not use BP_SYM
48084         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48085         "bp-asm.h".
48086         (PARMS): Do not use macros from bp-asm.h.
48087         (S1): Likewise.
48088         (SIZE): Likewise.
48089         (__mpn_addmul_1): Do not use BP_SYM
48090         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48091         "bp-asm.h".
48092         (PARMS): Do not use macros from bp-asm.h.
48093         (SIGMSK): Likewise.
48094         (_setjmp): Likewise.  Do not use BP_SYM.
48095         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48096         "bp-asm.h".
48097         (PARMS): Do not use macros from bp-asm.h.
48098         (SIGMSK): Likewise.
48099         (setjmp): Likewise.  Do not use BP_SYM.
48100         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48101         "bp-asm.h".
48102         (PARMS): Do not use macros from bp-asm.h.
48103         (__frexp): Do not use BP_SYM.
48104         (frexp): Likewise.
48105         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48106         "bp-asm.h".
48107         (PARMS): Do not use macros from bp-asm.h.
48108         (__frexpf): Do not use BP_SYM.
48109         (frexpf): Likewise.
48110         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48111         "bp-asm.h".
48112         (PARMS): Do not use macros from bp-asm.h.
48113         (__frexpl): Do not use BP_SYM.
48114         (frexpl): Likewise.
48115         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48116         "bp-asm.h".
48117         (PARMS): Do not use macros from bp-asm.h.
48118         (__remquo): Do not use BP_SYM.
48119         (remquo): Likewise.
48120         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48121         "bp-asm.h".
48122         (PARMS): Do not use macros from bp-asm.h.
48123         (__remquof): Do not use BP_SYM.
48124         (remquof): Likewise.
48125         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48126         "bp-asm.h".
48127         (PARMS): Do not use macros from bp-asm.h.
48128         (__remquol): Do not use BP_SYM.
48129         (remquol): Likewise.
48130         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48131         "bp-asm.h".
48132         (PARMS): Do not use macros from bp-asm.h.
48133         (DEST): Likewise.
48134         (SRC): Likewise.
48135         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48136         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48137         "bp-asm.h".
48138         (PARMS): Do not use macros from bp-asm.h.
48139         (strlen): Do not use BP_SYM.
48140         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48141         "bp-asm.h".
48142         (PARMS): Do not use macros from bp-asm.h.
48143         (S1): Likewise.
48144         (S2): Likewise.
48145         (SIZE): Likewise.
48146         (__mpn_add_n): Do not use BP_SYM.
48147         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48148         "bp-asm.h".
48149         (PARMS): Do not use macros from bp-asm.h.
48150         (S1): Likewise.
48151         (SIZE): Likewise.
48152         (__mpn_addmul_1): Do not use BP_SYM.
48153         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48154         weak_alias.
48155         (bzero): Likewise.
48156         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48157         "bp-asm.h".
48158         (PARMS): Do not use macros from bp-asm.h.
48159         (S): Likewise.
48160         (SIZE): Likewise.
48161         (__mpn_lshift): Do not use BP_SYM.
48162         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48163         "bp-asm.h".
48164         (PARMS): Do not use macros from bp-asm.h.
48165         (DEST): Likewise.
48166         (SRC): Likewise.
48167         (LEN): Likewise.
48168         (memcpy): Likewise.  Do not use BP_SYM.
48169         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48170         libc_hidden_def and weak_alias.
48171         (mempcpy): Do not use BP_SYM in weak_alias.
48172         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48173         "bp-asm.h".
48174         (PARMS): Do not use macros from bp-asm.h.
48175         (DEST): Likewise.
48176         (LEN): Likewise.
48177         [!BZERO_P] (CHR): Likewise.
48178         (memset): Likewise.  Do not use BP_SYM.
48179         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48180         "bp-asm.h".
48181         (PARMS): Do not use macros from bp-asm.h.
48182         (S1): Likewise.
48183         (SIZE): Likewise.
48184         (__mpn_mul_1): Do not use BP_SYM.
48185         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48186         "bp-asm.h".
48187         (PARMS): Do not use macros from bp-asm.h.
48188         (S): Likewise.
48189         (SIZE): Likewise.
48190         (__mpn_rshift): Do not use BP_SYM.
48191         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48192         "bp-asm.h".
48193         (PARMS): Do not use macros from bp-asm.h.
48194         (STR): Likewise.
48195         (CHR): Likewise.
48196         (strchr): Likewise.  Do not use BP_SYM.
48197         (index): Do not use BP_SYM in weak_alias.
48198         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48199         "bp-asm.h".
48200         (PARMS): Do not use macros from bp-asm.h.
48201         (DEST): Likewise.
48202         (SRC): Likewise.
48203         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48204         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48205         "bp-asm.h".
48206         (PARMS): Do not use macros from bp-asm.h.
48207         (strlen): Do not use BP_SYM.
48208         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48209         "bp-asm.h".
48210         (PARMS): Do not use macros from bp-asm.h.
48211         (S1): Likewise.
48212         (S2): Likewise.
48213         (SIZE): Likewise.
48214         (__mpn_sub_n): Do not use BP_SYM.
48215         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48216         "bp-asm.h".
48217         (PARMS): Do not use macros from bp-asm.h.
48218         (S1): Likewise.
48219         (SIZE): Likewise.
48220         (__mpn_submul_1): Do not use BP_SYM.
48221         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48222         "bp-asm.h".
48223         (PARMS): Do not use macros from bp-asm.h.
48224         (S1): Likewise.
48225         (S2): Likewise.
48226         (SIZE): Likewise.
48227         (__mpn_add_n): Do not use BP_SYM.
48228         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48229         weak_alias.
48230         (bzero): Likewise.
48231         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48232         "bp-asm.h".
48233         (PARMS): Do not use macros from bp-asm.h.
48234         (BLK2): Likewise.
48235         (LEN): Likewise.
48236         (memcmp): Do not use BP_SYM.
48237         (bcmp): Do not use BP_SYM in weak_alias.
48238         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48239         "bp-asm.h".
48240         (PARMS): Do not use macros from bp-asm.h.
48241         (DEST): Likewise.
48242         (SRC): Likewise.
48243         (LEN): Likewise.
48244         (memcpy): Likewise.  Do not use BP_SYM.
48245         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48246         "bp-asm.h".
48247         (PARMS): Do not use macros from bp-asm.h.
48248         (DEST): Likewise.
48249         (SRC): Likewise.
48250         (LEN): Likewise.
48251         (memmove): Likewise.  Do not use BP_SYM.
48252         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48253         "bp-asm.h".
48254         (PARMS): Do not use macros from bp-asm.h.
48255         (DEST): Likewise.
48256         (SRC): Likewise.
48257         (LEN): Likewise.
48258         (__mempcpy): Likewise.  Do not use BP_SYM.
48259         (mempcpy): Do not use BP_SYM in weak_alias.
48260         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48261         "bp-asm.h".
48262         (PARMS): Do not use macros from bp-asm.h.
48263         (DEST): Likewise.
48264         (LEN): Likewise.
48265         [!BZERO_P] (CHR): Likewise.
48266         (memset): Likewise.  Do not use BP_SYM.
48267         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48268         "bp-asm.h".
48269         (PARMS): Do not use macros from bp-asm.h.
48270         (STR2): Likewise.
48271         (strcmp): Do not use BP_SYM.
48272         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48273         "bp-asm.h".
48274         (PARMS): Do not use macros from bp-asm.h.
48275         (STR): Likewise.
48276         (DELIM): Likewise.
48277         [USE_AS_STRTOK_R] (SAVE): Likewise.
48278         (FUNCTION): Likewise.  Do not use BP_SYM.
48279         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48280         aliases.
48281         (strtok_r): Likewise.
48282         (__GI___strtok_r): Likewise.
48283         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48284         (PARMS): Do not use macros from bp-asm.h.
48285         (S): Likewise.
48286         (SIZE): Likewise.
48287         (__mpn_lshift): Do not use BP_SYM.
48288         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48289         (PARMS): Do not use macros from bp-asm.h.
48290         (STR): Likewise.
48291         (CHR): Likewise.
48292         (__memchr): Do not use BP_SYM.
48293         (memchr): Do not use BP_SYM in weak_alias.
48294         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48295         (PARMS): Do not use macros from bp-asm.h.
48296         (BLK2): Likewise.
48297         (LEN): Likewise.
48298         (memcmp): Do not use BP_SYM.
48299         (bcmp): Do not use BP_SYM in weak_alias.
48300         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48301         (PARMS): Do not use macros from bp-asm.h.
48302         (S1): Likewise.
48303         (SIZE): Likewise.
48304         (__mpn_mul_1): Do not use BP_SYM.
48305         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48306         "bp-asm.h".
48307         (PARMS): Do not use macros from bp-asm.h.
48308         (STR): Likewise.
48309         (CHR): Likewise.
48310         (__rawmemchr): Do not use BP_SYM.
48311         (rawmemchr): Do not use BP_SYM in weak_alias.
48312         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48313         (PARMS): Do not use macros from bp-asm.h.
48314         (S): Likewise.
48315         (SIZE): Likewise.
48316         (__mpn_rshift): Do not use BP_SYM.
48317         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48318         (PARMS): Do not use macros from bp-asm.h.
48319         (SIGMSK): Likewise.
48320         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48321         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48322         (_start): Do not use BP_SYM.
48323         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48324         (PARMS): Do not use macros from bp-asm.h.
48325         (DEST): Likewise.
48326         (SRC): Likewise.
48327         (__stpcpy): Likewise.  Do not use BP_SYM.
48328         (stpcpy): Do not use BP_SYM in weak_alias.
48329         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
48330         "bp-asm.h".
48331         (PARMS): Do not use macros from bp-asm.h.
48332         (DEST): Likewise.
48333         (SRC): Likewise.
48334         (LEN): Likewise.
48335         (__stpncpy): Likewise.  Do not use BP_SYM.
48336         (stpncpy): Do not use BP_SYM in weak_alias.
48337         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48338         (PARMS): Do not use macros from bp-asm.h.
48339         (STR): Likewise.
48340         (CHR): Likewise.
48341         (strchr): Likewise.  Do not use BP_SYM.
48342         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
48343         "bp-asm.h".
48344         (PARMS): Do not use macros from bp-asm.h.
48345         (STR): Likewise.
48346         (CHR): Likewise.
48347         (__strchrnul): Likewise.  Do not use BP_SYM.
48348         (strchrnul): Do not use BP_SYM in weak_alias.
48349         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
48350         "bp-asm.h".
48351         (PARMS): Do not use macros from bp-asm.h.
48352         (STOP): Likewise.
48353         (strcspn): Do not use BP_SYM.
48354         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
48355         "bp-asm.h".
48356         (PARMS): Do not use macros from bp-asm.h.
48357         (STR): Likewise.
48358         (STOP): Likewise.
48359         (strpbrk): Likewise.  Do not use BP_SYM.
48360         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
48361         "bp-asm.h".
48362         (PARMS): Do not use macros from bp-asm.h.
48363         (STR): Likewise.
48364         (CHR): Likewise.
48365         (strrchr): Likewise.  Do not use BP_SYM.
48366         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
48367         (PARMS): Do not use macros from bp-asm.h.
48368         (SKIP): Likewise.
48369         (strspn): Do not use BP_SYM.
48370         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
48371         (PARMS): Do not use macros from bp-asm.h.
48372         (STR): Likewise.
48373         (DELIM): Likewise.
48374         (SAVE): Likewise.
48375         (FUNCTION): Likewise.  Do not use BP_SYM.
48376         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
48377         aliases.
48378         (strtok_r): Likewise.
48379         (__GI___strtok_r): Likewise.
48380         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48381         (PARMS): Do not use macros from bp-asm.h.
48382         (S1): Likewise.
48383         (S2): Likewise.
48384         (SIZE): Likewise.
48385         (__mpn_sub_n): Do not use BP_SYM.
48386         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
48387         "bp-asm.h".
48388         (PARMS): Do not use macros from bp-asm.h.
48389         (S1): Likewise.
48390         (SIZE): Likewise.
48391         (__mpn_submul_1): Do not use BP_SYM.
48392         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
48393         <bp-sym.h>.
48394         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
48395         and <bp-asm.h>.
48396         (PARMS): Do not use macros from bp-asm.h.
48397         (FLAGS): Likewise.
48398         (PTID): Likewise.
48399         (TLS): Likewise.
48400         (CTID): Likewise.
48401         (__clone): Do not use BP_SYM.
48402         (clone): Do not use BP_SYM in weak_alias.
48403         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
48404         and <bp-asm.h>.
48405         (PARMS): Do not use macros from bp-asm.h.
48406         (LEN): Likewise.
48407         (__mmap64): Do not use BP_SYM.
48408         (mmap64): Do not use BP_SYM in weak_alias.
48409         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48410         <bp-sym.h> and <bp-asm.h>.
48411         (PARMS): Do not use macros from bp-asm.h.
48412         (__posix_fadvise64_l64): Do not use BP_SYM.
48413         * sysdeps/unix/sysv/linux/i386/semtimedop.S
48414         (PARMS): Do not use macros from bp-asm.h.
48415         (NSOPS): Likewise.
48416         (semtimedop): Do not use BP_SYM.
48417         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
48418         and <bp-asm.h>.
48420 2013-02-21  Allan McRae  <allan@archlinux.org>
48422         * manual/message.texi (Charset conversion in gettext):
48423         Move @end statement to beginning of line.
48425 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
48428         static.
48429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
48430         Likewise.
48432         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
48433         (denorm): Likewise.
48434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
48435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
48437 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48439         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
48440         tail-call to the resolved function if pltexit isn't needed.
48442 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
48445         or Y being zero as being unlikely.
48446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48447         Likewise.
48449 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
48451         * manual/nss.texi (System Databases and Name Service Switch):
48452         Remove frobnicate @pxref.
48454 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48456         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48457         __attribute__ ((unused)) to __attribute__ ((__unused__)).
48459 2013-02-20  Petr Machata  <pmachata@redhat.com>
48461         * elf/elf.h (R_ARM_TARGET1): New macro.
48462         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
48463         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
48464         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
48465         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
48466         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
48467         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
48468         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
48469         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
48470         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
48471         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
48472         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
48473         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
48474         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
48475         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
48476         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
48477         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
48478         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
48479         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
48480         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
48481         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
48482         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
48483         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
48484         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
48485         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
48486         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
48487         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
48488         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
48489         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
48490         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
48491         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
48492         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
48493         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
48494         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
48495         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
48496         (R_ARM_THM_GOT_BREL12): Likewise.
48497         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
48498         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
48499         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
48500         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
48501         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
48502         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
48503         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
48504         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
48505         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
48507 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
48509         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
48510         __attribute_used__ to __attribute__ ((unused)).
48512 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48514         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
48515         powerpc mpa.c.
48516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
48517         comment formatting.
48518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
48520 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
48522         [BZ #13550]
48523         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
48524         Remove macro.
48525         (ENTER): Remove both macro definitions.
48526         (LEAVE): Likewise.
48527         (CHECK_BOUNDS_LOW): Likewise.
48528         (CHECK_BOUNDS_HIGH): Likewise.
48529         (CHECK_BOUNDS_BOTH): Likewise.
48530         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
48531         (RETURN_BOUNDED_POINTER): Likewise.
48532         (RETURN_NULL_BOUNDED_POINTER): Likewise.
48533         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
48534         (POP_ERRNO_LOCATION_RETURN): Likewise.
48535         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
48536         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48537         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
48538         macros.
48539         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48540         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
48541         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
48542         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
48543         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
48544         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
48545         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
48546         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
48547         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
48548         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
48549         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
48550         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
48551         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48552         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
48553         removed macros.
48554         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48555         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
48556         macros.
48557         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48558         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
48559         * sysdeps/i386/i586/memset.S (memset): Likewise.
48560         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
48561         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48562         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
48563         macros.
48564         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48565         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
48566         Change uses of L(2) to L(out).
48567         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
48568         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
48569         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
48570         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48571         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
48572         removed macros.
48573         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48574         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
48575         macros.
48576         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48577         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
48578         (RETURN): Do not use macro LEAVE.
48579         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
48580         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
48581         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
48582         * sysdeps/i386/i686/memset.S (memset): Likewise.
48583         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
48584         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
48585         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48586         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
48587         Likewise.
48588         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48589         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
48590         L(1_2) and L(1_3) into L(1).
48591         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48592         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
48593         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48594         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
48595         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48596         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
48597         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
48598         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48599         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
48600         macros.
48601         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
48602         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48603         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
48604         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
48605         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
48606         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48607         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
48608         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
48609         * sysdeps/i386/strcspn.S (strcspn): Likewise.
48610         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
48611         * sysdeps/i386/strrchr.S (strrchr): Likewise.
48612         * sysdeps/i386/strspn.S (strspn): Likewise.
48613         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
48614         conditional code.
48615         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48616         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
48617         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
48618         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
48619         L(1_3) into L(1_1).
48620         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
48621         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48622         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
48623         macros.
48624         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48626 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
48628         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
48629         macro.
48631 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48633         * math/atest-exp.c (exp_mpn): Remove ROUND.
48634         * math/atest-exp2.c (exp_mpn): Likewise.
48635         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
48637         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
48638         * stdlib/tst-tls-atexit-lib.c: Likewise.
48639         * stdlib/tst-tls-atexit.c: Likewise.
48641 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48643         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
48644         and __attribute_alloc_size__.
48646 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48648         * include/programs/xmalloc.h: Change __attribute_alloc_size to
48649         __attribute_alloc_size__.
48650         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
48651         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
48653 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
48655         * include/programs/xmalloc.h: New file.
48656         * catgets/gencat.c: Include it.
48657         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
48658         * elf/pldd.c: Likewise.
48659         * iconv/iconv_charmap.c: Likewise.
48660         * iconv/iconvconfig.c: Likewise.
48661         * iconv/strtab.c: Likewise.
48662         * locale/programs/locale.c: Likewise.
48663         * locale/programs/localedef.h: Likewise.
48664         * locale/programs/simple-hash.c: Likewise.
48665         * nscd/nscd.h: Likewise.
48666         * nss/makedb.c: Likewise.
48667         * sysdeps/generic/ldconfig.h: Likewise.
48669 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48671         * Versions.def: Add GLIBC_2.18.
48672         * include/link.h (struct link_map): New member l_tls_dtor_count.
48673         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
48674         (__call_tls_dtors): Likewise.
48675         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
48676         __cxa_thread_atexit_impl.
48677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48678         Likewise.
48679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48680         Likewise.
48681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48682         Likewise.
48683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48684         Likewise.
48685         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
48687         Likewise.
48688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
48689         Likewise.
48690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48692         Likewise.
48693         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
48694         (tests): Add test case tst-tls-atexit.
48695         (modules-names): Add shared library for tst-tls-atexit.
48696         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
48697         (GLIBC_PRIVATE): Add __call_tls_dtors.
48698         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
48699         for libstdc++.
48700         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
48701         * stdlib/tst-tls-atexit.c: New test case.
48702         * stdlib/tst-tls-atexit-lib.c: New test case.
48704         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
48706         * elf/Versions (ld): Add _dl_find_dso_for_object.
48707         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
48708         * elf/dl-open.c (_dl_find_dso_for_object): New function.
48709         (dl_open_worker): Use _dl_find_dso_for_object.
48710         * elf/dl-sym.c (do_sym): Likewise.
48711         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
48713 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48715         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
48716         Syntactic changes only.
48717         (_dl_runtime_profile): Do a tail-call to the resolved function.
48719 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
48721         [BZ #13550]
48722         * sysdeps/x86_64/bp-asm.h: Remove file.
48723         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
48724         <bp-sym.h> and <bp-asm.h>.
48725         (__clone): Do not use BP_SYM.
48726         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
48727         <bp-sym.h> and <bp-asm.h>.
48728         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48729         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
48730         "bp-asm.h".
48731         (_setjmp): Do not use BP_SYM.
48732         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
48733         "bp-asm.h".
48734         (setjmp): Do not use BP_SYM.
48735         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
48736         libc_hidden_def.
48737         (mempcpy): Do not use BP_SYM in weak_alias.
48738         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
48739         "bp-asm.h".
48740         (strchr): Do not use BP_SYM.
48741         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
48742         "bp-asm.h".
48743         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
48744         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
48745         (_start): Do not use BP_SYM.
48746         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
48747         "bp-asm.h".
48748         (strcat): Do not use BP_SYM.
48749         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
48750         "bp-asm.h".
48751         (STRCMP): Do not use BP_SYM.
48752         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
48753         "bp-asm.h".
48754         (STRCPY): Do not use BP_SYM.
48755         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
48756         "bp-asm.h".
48757         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
48758         "bp-asm.h".
48759         (FUNCTION): Do not use BP_SYM.
48760         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
48761         weak_alias.
48762         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
48764 2013-02-17  Andreas Jaeger  <aj@suse.de>
48766         * time/Versions: Sort entries.
48767         * string/Versions: Likewise.
48768         * resolv/Versions: Likewise.
48769         * posix/Versions: Likewise.
48770         * iconv/Versions: Likewise.
48771         * elf/Versions: Likewise.
48772         * wcsmbs/Versions: Likewise.
48774 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48776         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
48777         loop termination condition.
48779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
48780         variable to calculate EZ.
48781         (__sqr): Likewise.
48783         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
48784         the lower precision input.
48786 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
48788         [BZ #13550]
48789         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
48790         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
48791         (run-via-rtld-prefix): Do not handle %-bp tests.
48792         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
48793         (all-object-suffixes): Remove .ob.
48794         (bppfx): Remove variable.
48795         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
48796         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
48797         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
48798         [$(build-bounded) = yes] (libtype.ob): Likewise.
48799         * Makerules (elide-routines.ob): Remove variable.
48800         (do-tests-clean): Do not handle *-bp.out.
48801         (common-mostlyclean): Do not handle *-bp and *-bp.out.
48802         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
48803         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
48804         (tests): Do not include $(tests-bp.out).
48805         (xtests): Do not include $(xtests-bp.out).
48806         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
48807         [$(build-bounded) = yes] ($(addprefix
48808         $(objpfx),$(binaries-bounded))): Remove rule.
48809         ($(objpfx)%-bp.out): Remove rule.
48810         * config.make.in (build-bounded): Remove variable.
48811         * crypt/Makefile [$(build-bounded) = yes]
48812         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
48813         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
48814         append to variable.
48815         [$(build-bounded) = yes] (install-lib): Likewise.
48816         [$(build-bounded) = yes] (generated): Likewise.
48817         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
48818         Remove rule.
48819         * intl/Makefile [$(build-bounded) = yes]
48820         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
48821         * math/Makefile [$(build-bounded) = yes]
48822         ($(tests:%=$(objpfx)%-bp): Likewise.
48823         * misc/Makefile [$(build-bounded) = yes]
48824         ($(objpfx)tst-tsearch-bp): Likewise.
48825         * nptl/Makeconfig (bounded-thread-library): Remove variable.
48826         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
48827         Remove dependency.
48828         * string/Makefile (o-objects.ob): Remove variable.
48829         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
48830         (CFLAGS-.ob): Remove variable.
48831         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
48832         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
48833         both definitions of variable.
48834         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
48835         (ASFLAGS-.ob): Remove variable.
48837 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
48839         [BZ #13550]
48840         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
48841         Remove __BOUNDED_POINTERS__ from condition.
48842         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
48843         * string/bits/string2.h [!__NO_STRING_INLINES &&
48844         !__BOUNDED_POINTERS__]: Likewise.
48845         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
48846         Likewise.
48847         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
48848         Remove conditional code.
48849         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
48850         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
48851         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
48852         condition.
48854         [BZ #13550]
48855         * csu/libc-start.c: Do not include <bp-sym.h>.
48856         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48857         * elf/dl-open.c: Do not include <bp-sym.h>.
48858         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48859         * math/fegetenv.c: Do not include <bp-sym.h>.
48860         (fegetenv): Do not use BP_SYM in versioned symbols.
48861         * nptl/sysdeps/pthread/bits/libc-lockP.h
48862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48863         <bp-sym.h>.
48864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48865         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48867         (__pthread_mutex_destroy): Likewise.
48868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48869         (__pthread_mutex_lock): Likewise.
48870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48871         (__pthread_mutex_trylock): Likewise.
48872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48873         (__pthread_mutex_unlock): Likewise.
48874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48875         (__pthread_mutexattr_init): Likewise.
48876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48877         (__pthread_mutexattr_destroy): Likewise.
48878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48879         (__pthread_mutexattr_settype): Likewise.
48880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48881         (__pthread_rwlock_init): Likewise.
48882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48883         (__pthread_rwlock_destroy): Likewise.
48884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48885         (__pthread_rwlock_rdlock): Likewise.
48886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48887         (__pthread_rwlock_tryrdlock): Likewise.
48888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48889         (__pthread_rwlock_wrlock): Likewise.
48890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48891         (__pthread_rwlock_trywrlock): Likewise.
48892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48893         (__pthread_rwlock_unlock): Likewise.
48894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48895         (__pthread_key_create): Likewise.
48896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48897         (__pthread_setspecific): Likewise.
48898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48899         (__pthread_getspecific): Likewise.
48900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48901         Likewise.
48902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48903         (_pthread_cleanup_push_defer): Likewise.
48904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48905         (_pthread_cleanup_pop_restore): Likewise.
48906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48907         (pthread_setcancelstate): Likewise.
48908         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48909         <bp-sym.h>.
48910         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48911         (memchr): Do not use BP_SYM in weak_alias.
48912         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48913         (fegetenv): Do not use BP_SYM in versioned symbols.
48914         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48915         (fesetenv): Do not use BP_SYM in versioned symbols.
48916         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48917         (feupdateenv): Do not use BP_SYM in versioned symbols.
48918         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48919         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48920         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48921         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48922         (open64): Do not use BP_SYM in weak_alias.
48923         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48924         (fegetenv): Do not use BP_SYM in versioned symbols.
48925         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48926         (fesetenv): Do not use BP_SYM in versioned symbols.
48927         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48928         (feupdateenv): Do not use BP_SYM in versioned symbols.
48929         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48930         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48931         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48932         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48933         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48934         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48936         <bp-sym.h>.
48937         (__libc_start_main): Do not use BP_SYM.
48939 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48942         redundant return line.
48943         (norm): Likewise.
48944         (denorm): Likewise.
48945         (dbl_mp): Likewise.
48946         (sub_magnitudes): Likewise.
48947         (__add): Likewise.
48948         (__sub): Likewise.
48949         (__mul): Likewise.
48950         (__inv): Likewise.
48951         (__dvd): Likewise.
48952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48953         (norm): Likewise.
48954         (denorm): Likewise.
48955         (dbl_mp): Likewise.
48956         (sub_magnitudes): Likewise.
48957         (__add): Likewise.
48958         (__sub): Likewise.
48959         (__mul): Likewise.
48960         (__inv): Likewise.
48961         (__dvd): Likewise.
48963         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48964         instead of __mul.
48965         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48966         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48967         (cc32): Likewise.
48969         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48970         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48972         of __mul for squares.
48973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48974         function
48975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48976         Likewise.
48977         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48978         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48980 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48982         [BZ #13550]
48983         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48984         code.
48985         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48986         prototype or function definition.  Rename ubp_* variables and
48987         parameters.  Remove argv definitions conditional on
48988         [__BOUNDED_POINTERS__].
48989         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48990         * elf/dl-runtime.c (_dl_fixup): Likewise.
48991         * include/set-hooks.h (RUN_HOOK): Likewise.
48992         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48993         definition.
48994         * string/strcpy.c (strcpy): Do not use __unbounded.
48995         * sysdeps/generic/frame.h (struct layout): Likewise.
48996         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48997         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48998         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48999         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49000         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49001         (__backtrace): Likewise.
49002         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49003         use __ptrvalue.
49004         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49005         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49006         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49007         Likewise.
49008         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49009         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49010         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49011         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49012         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49013         Do not use __unbounded.
49014         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49015         Rename __unboundedrlimits parameter to rlimits in prototype.
49016         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49017         Do not use __unbounded.
49018         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49019         not use __ptrvalue.
49020         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49021         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49022         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49023         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49024         __ptrvalue or __unbounded.
49025         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49026         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49027         use __unbounded.
49028         (__new_msgctl): Do not use __ptrvalue.
49029         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49030         __unbounded.
49031         (__libc_msgrcv): Do not use __ptrvalue.
49032         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49033         startup_info): Do not use __unbounded.
49034         (__libc_start_main): Likewise.  Rename ubp_* variables and
49035         parameters.  Remove argv definitions conditional on
49036         [__BOUNDED_POINTERS__].
49037         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49038         __ptrvalue.
49039         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49040         use __unbounded.
49041         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49042         or __ptrvalue.
49043         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49044         use __unbounded.
49045         (__new_shmctl): Do not use __ptrvalue.
49046         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49047         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49048         Likewise.
49049         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49051         (__libc_sigaction): Likewise.
49052         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49053         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49054         Likewise.
49055         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49057 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49059         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49061         * string/mempcpy.c: Implement by calling memcpy.
49063 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49065         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49067         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49068         evaluation.
49070         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49071         values in the mantissa.
49073         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49074         minimize writes to Z.
49075         (sub_magnitudes): Simplify code a bit.
49077 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49079         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49080         from the message.  The linker prefixes all warnings with that already.
49082 2013-02-12  Andreas Schwab  <schwab@suse.de>
49084         [BZ #15078]
49085         * posix/regexec.c (extend_buffers): Add parameter min_len.
49086         (check_matching): Pass minimum needed length.
49087         (clean_state_log_if_needed): Likewise.
49088         (get_subexp): Likewise.
49089         * posix/Makefile (tests): Add bug-regex34.
49090         (bug-regex34-ENV): Define.
49091         * posix/bug-regex34.c: New file.
49093         [BZ #11561]
49094         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49095         elements compare against the byte sequence of it, not its name.
49096         * posix/Makefile (tests): Add bug-regex35.
49097         (bug-regex35-ENV): Define.
49098         * posix/bug-regex35.c: New file.
49100 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49102         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49103         comment.
49104         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49105         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49106         (CHECK_EOL): Add undef.
49108 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49110         * bits/stdlib-bsearch.h: New file.
49111         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49112         * stdlib/stdlib.h: Likewise.
49114 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49116         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49117         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49118         declaration.
49119         * manual/search.texi (Array Search Function): Add missing const in
49120         lfind prototype.
49121         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49122         declaration to use rlim_t.
49123         (Basic Scheduling Functions): Remove erroneous const from
49124         sched_getparam prototype.  Remove erroneous * from
49125         sched_get_priority_max and sched_get_priority_min prototypes.
49126         (Resource Usage): Fix summary @comment on vtimes to refer to
49127         sys/vtimes.h rather than vtimes.h.
49128         Add missing *s in vtimes prototype.
49129         (Limits on Resources): Fix ulimit prototype to return long int.
49130         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49131         prototypes to use long int rather than double.
49132         (BSD Random): Fix initstate and setstate to use char *, not void *.
49133         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49134         prototype to make second argument 'struct aiocb64 *const[]'.
49135         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49136         (Status of AIO Operations): Remove erroneous const in aio_return and
49137         aio_return64 prototypes.
49138         (Synchronizing I/O): Fix sync prototype to return void.
49139         * manual/startup.texi (Suboptions): Remove an erroneous const in
49140         getsubopt prototype.
49141         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49142         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49143         use size_t rather than int.
49144         (Scanning All Users): Likewise for getpwent_r.
49145         (Setting Groups): Add missing const to setgroups prototype.
49146         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49147         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49148         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49149         'const void *' rather than 'const char *'.
49150         (Host Address Functions): Likewise for inet_ntop.
49151         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49152         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49153         ssize_t for return value.
49154         (Sending Data): Likewise for send, sendto, sendmsg.
49155         (Socket Option Functions): Add a missing const in setsockopt prototype.
49156         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49157         use wchar_t for the argument.
49158         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49159         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49160         take no arguments.
49161         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49162         double/float/long double for second argument.
49163         Fix return types of significand, significandf, significandl.
49164         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49165         argument in fchmod prototype.
49166         (File Owner): Use uid_t and gid_t in fchown prototype.
49167         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49168         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49169         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49170         use 'const struct dirent **' as argument types to CMP function pointer
49171         argument.
49172         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49173         (File Times): Fix summary magic @comment for struct utimbuf and utime
49174         to refer to utime.h, not time.h.
49175         * manual/string.texi (Argz Functions): Add missing const in
49176         argz_extract and argz_next prototypes.
49177         (Finding Tokens in a String): Likewise for basename.
49178         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49179         (Copying and Concatenation): Fix typo in wmemmove prototype.
49180         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49181         (Signal Stack): Remove erroneous const in sigstack prototype.
49182         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49183         prototype.
49184         (Simple Calendar Time): Likewise for stime.
49185         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49186         prototype.
49187         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49188         say sys/sysctl.h instead.
49189         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49190         and vsyslog prototypes.
49192 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49194         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49195         Remove.
49197 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49199         * misc/sys/mman.h: Fix typo in mremap comment.
49201 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49203         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49204         the '\0' terminator.
49206 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49208         [BZ #13550]
49209         * debug/segfault.c: Don't include <bp-checks.h>.
49210         * sysdeps/generic/bp-checks.h: Remove file.
49211         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49212         (__GETDENTS): Don't use CHECK_N.
49213         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49214         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49215         (__getgroups): Don't use CHECK_N.
49216         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49217         (setgroups): Don't use CHECK_N.
49218         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49219         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49220         (__libc_msgrcv): Don't use CHECK_N.
49221         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49222         (__libc_msgsnd): Don't use CHECK_N.
49223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49224         <bp-checks.h>.
49225         (__libc_pread): Don't use CHECK_N.
49226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49227         include <bp-checks.h>.
49228         (__libc_pread64): Don't use CHECK_N.
49229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49230         include <bp-checks.h>.
49231         (__libc_pwrite): Don't use CHECK_N.
49232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49233         include <bp-checks.h>.
49234         (__libc_pwrite64): Don't use CHECK_N.
49235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49236         <bp-checks.h>.
49237         (__libc_pread): Don't use CHECK_N.
49238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49239         include <bp-checks.h>.
49240         (__libc_pread64): Don't use CHECK_N.
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49242         include <bp-checks.h>.
49243         (__libc_pwrite): Don't use CHECK_N.
49244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49245         include <bp-checks.h>.
49246         (__libc_pwrite64): Don't use CHECK_N.
49247         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49248         (do_pread): Don't use CHECK_N.
49249         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49250         (do_pread64): Don't use CHECK_N.
49251         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49252         (do_pwrite): Don't use CHECK_N.
49253         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49254         (do_pwrite64): Don't use CHECK_N.
49255         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49256         (__libc_readv): Don't use CHECK_N.
49257         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49258         (semop): Don't use CHECK_N.
49259         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49260         <bp-checks.h>.
49261         (semtimedop): Don't use CHECK_N.
49262         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49263         (__libc_pread): Don't use CHECK_N.
49264         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49265         <bp-checks.h>.
49266         (__libc_pread64): Don't use CHECK_N.
49267         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49268         <bp-checks.h>.
49269         (__libc_pwrite): Don't use CHECK_N.
49270         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49271         <bp-checks.h>.
49272         (__libc_pwrite64): Don't use CHECK_N.
49273         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49274         <bp-checks.h>.
49275         (__libc_msgrcv): Don't use CHECK_N.
49276         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49277         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49278         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49279         (__libc_writev): Don't use CHECK_N.
49281 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49283         * string/strcpy.c: Removed unused variable.
49285         * Makeconfig (+sysdep-includes): Define with := rather than =.
49286         Use an existing include/ subdir of each sysdeps dir before it.
49288 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49290         * nscd/connection.c (register_traced_file): Comment function.
49291         [HAVE_INOTIFY] (union __inev): Define.
49292         [HAVE_INOTIFY] (inotify_check_files): New function.
49293         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49294         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49295         clear_db_cache.
49296         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49298 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49300         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49301         loaded if not already and that a failure is permanent.
49303 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49305         [BZ #15006]
49306         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49307         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49309 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49311         [BZ #13550]
49312         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49313         (CHECK_1_NULL_OK): Likewise.
49314         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49315         (__fxstat): Do not use CHECK_1.
49316         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49317         <bp-checks.h>.
49318         (___fxstat64): Do not use CHECK_1.
49319         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49320         <bp-checks.h>.
49321         (__fxstatat): Do not use CHECK_1.
49322         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49323         <bp-checks.h>.
49324         (__fxstatat64): Do not use CHECK_1.
49325         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
49326         <bp-checks.h>.
49327         (__fxstat): Do not use CHECK_1.
49328         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49329         <bp-checks.h>.
49330         (__fxstatat): Do not use CHECK_1.
49331         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49332         <bp-checks.h>.
49333         (__getresgid): Do not use CHECK_1.
49334         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49335         <bp-checks.h>.
49336         (__getresuid): Do not use CHECK_1.
49337         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
49338         <bp-checks.h>.
49339         (__lxstat): Do not use CHECK_1.
49340         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49341         <bp-checks.h>.
49342         (__old_msgctl): Do not use CHECK_1.
49343         (__new_msgctl): Likewise.
49344         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
49345         <bp-checks.h>.
49346         (__new_setrlimit): Do not use CHECK_1.
49347         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49348         <bp-checks.h>.
49349         (__old_shmctl): Do not use CHECK_1.
49350         (__new_shmctl): Likewise.
49351         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
49352         <bp-checks.h>.
49353         (__xstat): Do not use CHECK_1.
49354         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
49355         (__lxstat): Do not use CHECK_1.
49356         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
49357         <bp-checks.h>.
49358         (___lxstat64): Do not use CHECK_1.
49359         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
49360         (__old_msgctl): Do not use CHECK_1.
49361         (__new_msgctl): Likewise.
49362         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
49363         <bp-checks.h>.
49364         (__gettimeofday): Do not use CHECK_1.
49365         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
49366         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
49367         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
49368         <bp-checks.h>.
49369         (__gettimeofday): Do not use CHECK_1.
49370         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
49371         (__old_shmctl): Do not use CHECK_1_NULL_OK.
49372         (__new_shmctl): Do not use CHECK_1.
49373         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
49374         <bp-checks.h>.
49375         (do_sigtimedwait): Do not use CHECK_1.
49376         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
49377         <bp-checks.h>.
49378         (do_sigwaitinfo): Do not use CHECK_1.
49379         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
49380         <bp-checks.h>.
49381         (msgctl): Do not use CHECK_1.
49382         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
49383         <bp-checks.h>.
49384         (shmctl): Do not use CHECK_1.
49385         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
49386         (ustat): Do not use CHECK_1.
49387         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
49388         <bp-checks.h>.
49389         (__fxstat): Do not use CHECK_1.
49390         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49391         <bp-checks.h>.
49392         (__fxstatat): Do not use CHECK_1.
49393         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
49394         <bp-checks.h>.
49395         (__lxstat): Do not use CHECK_1.
49396         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
49397         <bp-checks.h>.
49398         (__xstat): Do not use CHECK_1.
49399         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
49400         (__xstat): Do not use CHECK_1.
49401         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
49402         (___xstat64): Do not use CHECK_1.
49404         [BZ #13550]
49405         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
49406         definitions.
49407         (CHECK_BOUNDS_HIGH): Likewise.
49408         * string/strcpy.c: Do not include <bp-checks.h>.
49409         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
49411 2013-02-07  Roland McGrath  <roland@hack.frob.com>
49413         * nscd/nscd-client.h (__nscd_drop_map_ref):
49414         Add __attribute__ ((unused)).
49415         * nis/nss-nisplus.h (niserr2nss): Likewise.
49417         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
49418         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
49420         * csu/libc-tls.c (init_static_tls, init_slotinfo):
49421         Remove inline keyword.
49422         * include/rounding-mode.h (round_away): Likewise.
49423         * libio/wfileops.c (adjust_wide_data): Likewise.
49424         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
49425         (__m128i_strloadu_tolower): Likewise.
49426         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
49427         (__m128i_strloadu_tolower): Likewise.
49428         * time/mktime.c (ydhms_diff): Likewise.
49429         * locale/elem-hash.h (elem_hash): Likewise.
49430         * locale/setlocale.c (setdata): Likewise.
49431         * posix/regex_internal.h (re_string_char_size_at): Likewise.
49432         (re_string_wchar_at): Likewise.
49433         (bitset_not, bitset_merge, bitset_mask): Likewise.
49434         [!(__GNUC__ > 3)] (inline): Remove macro.
49435         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
49436         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
49437         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
49438         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
49439         * string/memcmp.c (memcmp_bytes): Likewise.
49440         * locale/programs/locarchive.c (compute_hashval): Likewise.
49441         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
49442         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
49443         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
49444         * nss/getent.c (print_rpc, print_protocols): Likewise.
49445         (print_passwd, print_group, print_aliases): Likewise.
49446         * nis/nss-nisplus.h (niserr2nss): Likewise.
49447         * nscd/connections.c (restart_p): Likewise.
49448         Change return type to bool.
49450 2013-02-05  Roland McGrath  <roland@hack.frob.com>
49452         * Makeconfig (all-Depend-files): Add existing
49453         $(sorted-subdirs:=/Depend) files.
49454         (all-subdirs): Remove nss.
49455         * sysdeps/unix/inet/Subdirs: Add it here instead.
49456         * hesiod/Depend: New file.
49458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
49459         instead of calling alloca.
49461         * io/lseek.c (__lseek): Rename to __libc_lseek.
49462         Define __lseek as an alias.
49464         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
49466 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
49468         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
49469         else clause and remove check for non-standard endianness.
49471 2013-02-04  David S. Miller  <davem@davemloft.net>
49473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49475 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
49477         [BZ #13550]
49478         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
49479         (__ubp_memchr): Remove prototype.
49480         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
49481         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49482         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
49483         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
49484         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
49485         Remove alias.
49486         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
49487         (__ubp_memchr): Likewise.
49488         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
49489         (__ubp_memchr): Likewise.
49490         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
49491         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
49492         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
49493         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
49494         CHECK_STRING.
49495         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49496         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
49497         (__getcwd): Do not use CHECK_STRING.
49498         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49499         <bp-checks.h>.
49500         (__real_chown): Do not use CHECK_STRING.
49501         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
49502         <bp-checks.h>.
49503         (fchownat): Do not use CHECK_STRING.
49504         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
49505         CHECK_STRING.
49506         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49507         <bp-checks.h>.
49508         (__lchown): Do not use CHECK_STRING.
49509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49510         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49511         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49512         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
49513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49514         include <bp-checks.h>.
49515         (truncate64): Do not use CHECK_STRING.
49516         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49517         <bp-checks.h>.
49518         (__real_chown): Do not use CHECK_STRING.
49519         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49520         <bp-checks.h>.
49521         (__lchown): Do not use CHECK_STRING.
49522         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49523         <bp-checks.h>.
49524         (__chown): Do not use CHECK_STRING.
49525         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
49526         <bp-checks.h>.
49527         (truncate64): Do not use CHECK_STRING.
49528         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
49529         Likewise.
49530         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
49531         (__xmknod): Do not use CHECK_STRING.
49532         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49533         <bp-checks.h>.
49534         (__xmknodat): Do not use CHECK_STRING.
49535         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49536         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
49538 2013-02-04  Andreas Schwab  <schwab@suse.de>
49540         [BZ #14142]
49541         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
49542         * include/netdb.h: Likewise for h_errno.
49543         * elf/tst-stackguard1.c: Include <tls.h>.
49545 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
49547         * elf/link.h (struct link_map): Extend the l_addr comment.
49548         * include/link.h (struct link_map): Likewise.
49550 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
49552         [BZ #13550]
49553         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
49554         (BOUNDED_1): Remove macro.
49555         * debug/backtrace.c: Don't include <bp-checks.h>.
49556         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
49557         (__backtrace): Likewise.
49558         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
49559         <bp-checks.h>.
49560         (__backtrace): Don't use BOUNDED_1.
49561         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
49562         <bp-checks.h>.
49563         (__backtrace): Don't use BOUNDED_1.
49564         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
49565         (__backtrace): Don't use BOUNDED_1.
49566         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
49567         (shmat): Don't use BOUNDED_N.
49569 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
49571         [BZ #13550]
49572         * sysdeps/generic/bp-start.h: Remove file.
49573         * csu/libc-start.c: Don't include <bp-start.h>.
49574         (LIBC_START_MAIN): Set up __environ directly instead of using
49575         INIT_ARGV_and_ENVIRON.
49576         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
49577         <bp-start.h>.
49579         [BZ #13550]
49580         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
49581         definitions.
49582         (CHECK_FCNTL): Likewise.
49583         (CHECK_N_PAGES): Likewise.
49585         [BZ #13550]
49586         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
49587         definitions.
49588         (CHECK_SIGSET_NULL_OK): Likewise.
49589         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
49590         <bp-checks.h>.
49591         (sigpending): Don't use CHECK_SIGSET.
49592         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
49593         <bp-checks.h>.
49594         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49595         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
49596         <bp-checks.h>.
49597         (do_sigsuspend): Don't use CHECK_SIGSET.
49598         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
49599         use CHECK_SIGSET.
49600         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
49601         (do_sigwait): Don't use CHECK_SIGSET.
49602         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
49603         use CHECK_SIGSET.
49604         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
49605         include <bp-checks.h>.
49606         (sigpending): Don't use CHECK_SIGSET.
49607         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
49608         include <bp-checks.h>.
49609         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49610         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
49611         <bp-checks.h>.
49612         (sigpending): Don't use CHECK_SIGSET.
49613         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
49614         <bp-checks.h>.
49615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
49617         [BZ #13550]
49618         * sysdeps/generic/bp-semctl.h: Remove file.
49619         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
49620         <bp-checks.h> and <bp-semctl.h>.
49621         (__old_semctl): Don't use CHECK_SEMCTL.
49622         (__new_semctl): Likewise.
49623         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
49624         and <bp-semctl.h>.
49625         (__old_semctl): Don't use CHECK_SEMCTL.
49626         (__new_semctl): Likewise.
49627         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
49628         <bp-checks.h> and <bp-semctl.h>.
49629         (__old_semctl): Don't use CHECK_SEMCTL.
49630         (__new_semctl): Likewise.
49631         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
49632         <bp-checks.h> and <bp-semctl.h>.
49633         (semctl): Don't use CHECK_SEMCTL.
49635         [BZ #13550]
49636         * Makerules (elide-bp-thunks): Remove variable.
49637         (elide-routines.oS): Don't use $(elide-bp-thunks).
49638         (elide-routines.os): Likewise.
49639         (elide-routines.o): Likewise.
49640         (elide-routines.op): Likewise.
49641         (elide-routines.og): Likewise.
49642         (objects): Don't use $(bp-thunks).
49643         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
49644         include.
49645         (common-generated): Do not add s-proto-bp.d.
49646         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
49647         (int): Likewise.
49648         (typ): Likewise.
49649         Do not generate makefile rules for bounded-pointer thunks.
49650         * sysdeps/generic/bp-thunks.h: Remove file.
49651         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
49652         * sysdeps/unix/s-proto-bp.S: Likewise.
49654         [BZ #15062]
49655         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
49656         parts of result separately when argument is not close to line from
49657         -i to i and one part of argument is small.
49658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49660         * math/libm-test.inc (cacos_test): Add more tests.
49661         (casin_test): Likewise.
49662         (casinh_test): Likewise.
49663         * sysdeps/i386/fpu/libm-test-ulps: Update.
49664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49666 2013-01-31  David S. Miller  <davem@davemloft.net>
49668         * po/de.po: Update from translation team.
49670 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
49672         * time/tzfile.c: Include stdint.h for SIZE_MAX.
49674 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
49676         * configure.in (_AC_PROG_CC_C89): New definition.
49677         * configure: Regenerate.
49679         * configure.in (AC_PROG_CPP): New definition.
49680         * configure: Regenerate.
49682 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49684         * debug/tst-backtrace.h: New file.
49685         * debug/tst-backtrace2.c: Include tst-backtrace.h.
49686         (ret): Remove variable.
49687         (x): Likewise.
49688         (FAIL): Remove macro.
49689         (NO_INLINE): Likewise.
49690         (fn1): Use match function instead of strstr.
49691         * debug/tst-backtrace3.c: Include tst-backtrace.h.
49692         (ret): Remove variable.
49693         (x): Likewise.
49694         (FAIL): Remove macro.
49695         (NO_INLINE): Likewise.
49696         (fn): Use match function instead of strstr.
49697         * debug/tst-backtrace4.c: Include tst-backtrace.h.
49698         (ret): Remove variable.
49699         (x): Likewise.
49700         (FAIL): Remove macro.
49701         (NO_INLINE): Likewise.
49702         (handle_signal): Use match function instead of strstr.
49703         * debug/tst-backtrace5.c: Include tst-backtrace.h.
49704         (ret): Remove variable.
49705         (x): Likewise.
49706         (FAIL): Remove macro.
49707         (NO_INLINE): Likewise.
49708         (handle_signal): Use match function instead of strstr.
49710 2013-01-23  Roland McGrath  <roland@hack.frob.com>
49712         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
49714 2013-01-23  David S. Miller  <davem@davemloft.net>
49716         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
49717         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
49718         argument of CAS if possible.
49719         * sysdeps/sparc/sparc64/bits/atomic.h
49720         (__arch_compare_and_exchange_val_32_acq): Likewise.
49721         (__arch_compare_and_exchange_val_64_acq): Likewise.
49723 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
49725         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
49726         * sysdeps/posix/ulimit.c: ... this.
49727         Include <limits.h>.
49728         * sysdeps/unix/bsd/ulimit.c: Remove file.
49730 2013-01-23  Adam Conrad  <adconrad@0c3.net>
49732         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
49733         (LDFLAGS-tst-array5): Likewise.
49735 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
49737         [BZ #15036]
49738         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
49739         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
49740         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
49741         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
49743 2013-01-21  David S. Miller  <davem@davemloft.net>
49745         * sysdeps/sparc/backtrace.c: New file.
49746         * sysdeps/sparc/sparc32/backtrace.h: New file.
49747         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
49748         * sysdeps/sparc/sparc64/backtrace.h: New file.
49749         * sysdeps/sparc/sparc64/backtrace.c: Delete.
49750         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
49751         -funwind-tables.
49753 2013-01-21  Andreas Schwab  <schwab@suse.de>
49755         [BZ #15020]
49756         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
49757         closed its stdout.
49759 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
49761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
49762         "mpa2.h".
49763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49765 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
49766             Mark Mitchell  <mark@codesourcery.com>
49767             Tom de Vries  <tom@codesourcery.com>
49768             Paul Pluzhnikov  <ppluzhnikov@google.com>
49770         * debug/tst-backtrace2.c: New file.
49771         * debug/tst-backtrace3.c: Likewise.
49772         * debug/tst-backtrace4.c: Likewise.
49773         * debug/tst-backtrace5.c: Likewise.
49774         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
49775         (CFLAGS-tst-backtrace3.c): Likewise.
49776         (CFLAGS-tst-backtrace4.c): Likewise.
49777         (CFLAGS-tst-backtrace5.c): Likewise.
49778         (LDFLAGS-tst-backtrace2): Likewise.
49779         (LDFLAGS-tst-backtrace3): Likewise.
49780         (LDFLAGS-tst-backtrace4): Likewise.
49781         (LDFLAGS-tst-backtrace5): Likewise.
49782         (tests): Add new tests tst-backtrace2, tst-backtrace3,
49783         tst-backtrace4 and tst-backtrace5.
49785 2013-01-18  Anton Blanchard  <anton@samba.org>
49786             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49788         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
49789         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
49790         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49791         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
49792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
49793         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
49794         "+r" and remove output regs list as redundant.  Add explicit inline
49795         asm to specify register of return val to work around compiler codegen
49796         bug.  Remove (int) cast on return value.  Add return type parameter to
49797         use in macro so that this macro does not truncate return value for
49798         64-bit values.
49799         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
49800         pass to INTERNAL_VSYSCALL_NCS.
49801         (INLINE_VSYSCALL): Add 'long int' as return type to
49802         INTERNAL_VSYSCALL_NCS macro invocation.
49803         (INTERNAL_VSYSCALL): Add 'long int' as return type to
49804         INTERNAL_VSYSCALL_NCS macro invocation.
49805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49807 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49809         [BZ #14496]
49810         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
49811         Fix application of SIMD FP exception mask.
49813         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
49814         mp_no from a power of two.
49815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
49816         __mpexp_twomm1.  Use __pow_mp.
49818         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
49819         multiplication.
49821 2013-01-17  David S. Miller  <davem@davemloft.net>
49823         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49825 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49827         [BZ #15023]
49828         * include/complex.h: Condition contents on [!_COMPLEX_H].
49829         (__kernel_casinhf): New prototype.
49830         (__kernel_casinh): Likewise.
49831         (__kernel_casinhl): Likewise.
49832         * math/Makefile (libm_calls): Add k_casinh.
49833         * math/k_casinh.c: New file.
49834         * math/k_casinhf.c: Likewise.
49835         * math/k_casinhl.c: Likewise.
49836         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
49837         finite nonzero arguments.
49838         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
49839         finite nonzero arguments.
49840         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
49841         finite nonzero arguments.
49842         * math/s_casinh.c: Do not include <float.h>.
49843         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
49844         * math/s_casinhf.c: Do not include <float.h>.
49845         (__casinhf): Move code for finite nonzero arguments to
49846         k_casinhf.c.
49847         * math/s_casinhl.c: Do not include <float.h>.
49848         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
49849         redefine.
49850         (__casinhl): Move code for finite nonzero arguments to
49851         k_casinhl.c.
49852         * math/libm-test.inc (cacos_test): Add more tests.
49853         * sysdeps/i386/fpu/libm-test-ulps: Update.
49854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49856 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49858         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49859         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49860         [!HAVE_MREMAP]: Remove [defined linux] case.
49861         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49863 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49865         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49867 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49869         * elf/elf.h (R_386_SIZE32): New relocation.
49870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49871         R_386_SIZE32.
49872         (elf_machine_rela): Likewise.
49873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49874         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49876 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49878         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49879         (FP_FAST_FMA): Do not define.
49880         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49881         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49882         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49883         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49884         !_SOFT_FLOAT]: Likewise.
49885         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49886         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49887         value.
49888         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49889         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49890         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49891         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49892         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49893         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49894         file.
49896 2013-01-16  Andreas Schwab  <schwab@suse.de>
49898         [BZ #14327]
49899         * include/stdlib.h (__mktemp): Add declaration.
49900         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49901         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49903 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49905         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49906         definitions.
49907         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49908         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49909         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49910         definitions here.
49911         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49912         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49913         definitions.
49914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49915         and ONE.
49916         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49917         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49918         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49919         definitions.
49920         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49921         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49922         definitions.
49923         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49925         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49927 2013-01-15  David S. Miller  <davem@davemloft.net>
49929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49930         trunc{,f} to libm-sysdep_routes.
49931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49933         file.
49934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49936         file.
49937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49938         file.
49939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49941         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49942         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49943         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49944         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49945         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49946         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49949         nearbyint{,f} to libm-sysdep_routes.
49950         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49952         New file.
49953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49954         file.
49955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49956         New file.
49957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49958         file.
49959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49961         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49962         file.
49963         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49964         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49965         file.
49966         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49967         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49968         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49970         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49971         libc_feholdexcept and libc_fesetenv.
49973 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49975         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49977 2013-01-14  David S. Miller  <davem@davemloft.net>
49979         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49980         (SPARC_ASM_VIS2_IFUNC): Likewise.
49981         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49983         use of 'siam' instruction.
49984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49985         Likewise.
49986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49987         Likewise.
49988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49989         Likewise.
49990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49995         file.
49996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49997         file.
49998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49999         file.
50000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50001         file.
50002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50007         new VIS2 routines.
50008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50011         Likewise.
50012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50017         routines to libm-sysdep_routines.
50018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50021         fdim/fdimf to libm-sysdep_routines.
50022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50023         file.
50024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50026         file.
50027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50030         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50031         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50032         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50033         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50035 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50038         to optimize copies.
50040         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50045         local variable MPTWO.
50046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50047         Likewise.
50049 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50051         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50052         GLOB_NOESCAPE.
50054 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50056         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50058 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50060         * manual/pattern.texi (glob_t): Document gl_flags.
50061         (glob64_t): Likewise.
50063 2013-01-11  David S. Miller  <davem@davemloft.net>
50065         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50066         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50067         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50068         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50069         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50070         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50071         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50072         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50073         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50074         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50075         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50076         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50077         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50079         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50080         sparc V9 rather than using V8 code.
50081         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50082         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50084         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50085         Move to...
50086         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50087         Here.
50089 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50091         [BZ #14941]
50092         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50093         not in the main loop.
50094         * configure: Regenerated.
50096 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50098         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50099         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50100         to just #else.
50101         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50102         [!__GLIBC_HAVE_LONG_LONG] case.
50103         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50104         condition to just #else.
50105         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50106         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50107         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50108         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50109         unconditional.
50110         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50111         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50112         #elif condition to just #else.
50113         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50114         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50115         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50116         #elif condition to just #else.
50118 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50120         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50121         (EF_MIPS_ARCH_64): Fix value.
50122         (EF_MIPS_ARCH_32R2): New.
50123         (EF_MIPS_ARCH_64R2): New.
50125 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50127         * Makeconfig (+link-pie-before-libc): New.
50128         (+link-pie-after-libc): Likewise.
50129         (+link-pie-tests): Likewise.
50130         (+link-pie): Rewritten.
50131         (link-before-libc): Remove $(config-LDFLAGS).
50132         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50133         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50134         (config-LDFLAGS): Renamed to ...
50135         (rtld-LDFLAGS): This.
50136         (rtld-tests-LDFLAGS): New macro.
50137         (link-libc-rpath-link): Likewise.
50138         (link-libc-tests-rpath-link): Likewise.
50139         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50140         (link-libc): Prepand $(link-libc-rpath-link).
50141         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50142         (test-program-prefix): New macro.
50143         (test-via-rtld-prefix): Likewise.
50144         (test-program-cmd): Likewise.
50145         (host-test-program-cmd): Likewise.
50146         * Makefile ($(common-objpfx)testrun.sh): Replace
50147         $(run-program-prefix) with $(test-program-prefix).
50148         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50149         $(rtld-LDFLAGS).
50150         ($(common-objpfx)shlib.lds): Likewise.
50151         (build-module-helper): Likewise.
50152         ($(common-objpfx)format.lds): Likewise.
50153         * Rules (binaries-pie-tests): New.
50154         (binaries-pie-notests): Likewise.
50155         (binaries-pie): Rewritten.
50156         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50157         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50158         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50159         (make-test-out): Replace $(host-built-program-cmd) with
50160         $(host-test-program-cmd).
50161         * config.make.in (build-hardcoded-path-in-tests): New variable.
50162         * configure.in (--enable-hardcoded-path-in-tests): New configure
50163         option.
50164         (hardcoded_path_in_tests): New AC_SUBST.
50165         * configure: Regenerated.
50166         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50167         $(built-program-cmd) with $(test-program-cmd).
50168         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50169         (test_program_cmd): This.
50170         * elf/Makefile ($(objpfx)order.out): Run test with
50171         $(test-program-prefix).
50172         ($(objpfx)order2.out): Likewise.
50173         ($(objpfx)tst-initorder.out): Likewise.
50174         ($(objpfx)tst-initorder2.out): Likewise.
50175         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50176         $(test-program-cmd).
50177         ($(objpfx)tst-array1-static.out): Likewise.
50178         ($(objpfx)tst-array2.out): Likewise.
50179         ($(objpfx)tst-array3.out): Likewise.
50180         ($(objpfx)tst-array4.out): Likewise.
50181         ($(objpfx)tst-array5.out): Likewise.
50182         ($(objpfx)tst-array5-static.out): Likewise.
50183         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50184         $(test-program-cmd).
50185         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50186         $(run-program-prefix) with $(test-program-prefix).
50187         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50188         (test_program_prefix): This.
50189         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50190         $(run-program-prefix) with $(test-program-prefix).
50191         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50192         (test_program_prefix): This.
50193         * iconvdata/tst-tables.sh: Likewise.
50194         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50195         $(run-program-prefix) with $(test-program-prefix).
50196         ($(objpfx)tst-translit.out): Likewise.
50197         ($(objpfx)tst-gettext2.out): Likewise.
50198         ($(objpfx)tst-gettext4.out): Likewise.
50199         ($(objpfx)tst-gettext6.out): Likewise.
50200         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50201         (test_program_prefix): This.
50202         * intl/tst-gettext2.sh: Likewise.
50203         * intl/tst-gettext4.sh  Likewise.
50204         * intl/tst-gettext6.sh: Likewise.
50205         * intl/tst-translit.sh: Likewise.
50206         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50207         with $(test-program-cmd).
50208         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50209         $(run-program-prefix) with $(test-program-prefix).
50210         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50211         (test_program_prefix): This.
50212         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50213         $(run-program-prefix) with $(test-program-prefix).
50214         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50215         (test_program_prefix): This.
50216         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50217         * posix/Makefile ($(objpfx)globtest.out): Replace
50218         $(run-via-rtld-prefix) and $(test-wrapper) with
50219         $(test-program-prefix) and $(test-via-rtld-prefix).
50220         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50221         $(test-program-prefix).
50222         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50223         $(host-test-program-cmd).
50224         (tst-spawn-ARGS): Likewise.
50225         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50226         $(test-program-prefix).
50227         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50228         (test_via_rtld_prefix): This.
50229         (test_wrapper): Renamed to ...
50230         (test_program_prefix): This.
50231         (run_program_prefix): Replaced by test_program_prefix.
50232         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50233         (test_program_prefix): This.
50234         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50235         with $(host-test-program-cmd).
50236         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50237         $(run-program-prefix) with $(test-program-prefix).
50238         ($(objpfx)tst-printf.out): Likewise.
50239         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50240         $(test-program-cmd).
50241         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50242         (test_program_prefix): This.
50243         * stdio-common/tst-unbputc.sh: Likewise.
50244         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50245         $(run-program-prefix) with $(test-program-prefix).
50246         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50247         (test_program_prefix): This.
50248         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50249         $(built-program-cmd) with $(test-program-cmd).
50251 2013-01-11  Andreas Jaeger  <aj@suse.de>
50253         [BZ #15003]
50254         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50255         value. Sync with Linux 3.7.
50257 2013-01-10  David S. Miller  <davem@davemloft.net>
50259         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50260         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50261         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50263 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50265         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50266         never set.
50267         * configure: Regenerated.
50269 2013-01-10  David S. Miller  <davem@davemloft.net>
50271         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50272         sparc V9 rather than using V8 code.
50273         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50274         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50276 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50278         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50279         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50280         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50281         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50282         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50283         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50284         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50285         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50286         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50287         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50288         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50289         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50290         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50291         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50292         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50293         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50294         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50295         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50296         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50297         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50298         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50299         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50300         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50301         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50302         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50303         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50304         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50306 2013-01-10  David S. Miller  <davem@davemloft.net>
50308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50310 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50312         * posix/Makefile (tests-static): New variable.
50313         (tests): Add $(tests-static).
50314         (tst-exec-static-ARGS): New variable.
50315         (tst-spawn-static-ARGS): Likewise.
50316         * posix/tst-exec-static.c: New file.
50317         * posix/tst-spawn-static.c: Likewise.
50318         * posix/tst-exec.c: Support run directly.
50319         * posix/tst-spawn.c: Likewise.
50321 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50323         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50324         long.
50325         * math/bits/mathcalls.h (llrint): Likewise.
50326         (llround): Likewise.
50327         * stdlib/stdlib.h (struct drand48_data): Likewise.
50328         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
50329         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
50330         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
50331         Likewise.
50332         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
50333         Likewise.
50334         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
50335         (elf_greg_t): Likewise.
50336         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
50337         (__jmp_buf): Likewise.
50338         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
50339         definitions.
50340         (llrint): Likewise, for all definitions.
50341         (llrintl): Likewise.
50343         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
50344         Remove [__GNUC__] condition.
50345         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
50346         condition to just [__USE_ISOC99].
50347         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
50349 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50351         [BZ #14200]
50352         * sysdeps/unix/sysv/linux/x86/bits/environments.h
50353         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
50354         defined.
50355         (_POSIX_V6_ILP32_OFF32): Likewise.
50356         (_XBS5_ILP32_OFF32): Likewise.
50357         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
50358         (__ILP32_OFFBIG_LDFLAGS): Likewise.
50360 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50362         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
50364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
50365         doubles __mpexp_twomm1.  Adjust usage.
50366         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
50367         Remove.
50369 2013-01-10  Andreas Schwab  <schwab@suse.de>
50371         [BZ #14964]
50372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
50373         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
50375 2013-01-09  David S. Miller  <davem@davemloft.net>
50377         [BZ #15003]
50378         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
50379         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
50380         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
50381         (TCP_FASTOPEN): Define.
50382         (tcp_repair_opt): New structure.
50383         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
50384         enum values.
50385         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
50386         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
50387         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
50388         (tcp_cookie_transactions): New structure.
50390 2013-01-09  Anton Blanchard  <anton@samba.org>
50392         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
50393         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
50394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
50395         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
50397 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
50399         * include/features.h (__USE_ANSI): Remove.
50401 2013-01-09  Roland McGrath  <roland@hack.frob.com>
50403         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
50405         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
50407 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
50409         * sysdeps/s390/fpu/libm-test-ulps: Update.
50411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50413         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
50414         (__acr): Likewise.
50415         (__cpy): Likewise.
50416         (norm): Likewise.
50417         (denorm): Likewise.
50418         (__mp_dbl): Likewise.
50419         (__dbl_mp): Likewise.
50420         (add_magnitudes): Likewise.
50421         (sub_magnitudes): Likewise.
50422         (__add): Likewise.
50423         (__sub): Likewise.
50424         (__mul): Likewise.
50425         (__inv): Likewise.
50426         (__dvd): Likewise.
50427         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
50428         (__acr): Likewise.
50429         (__cpy): Likewise.
50430         (norm): Likewise.
50431         (denorm): Likewise.
50432         (__mp_dbl): Likewise.
50433         (__dbl_mp): Likewise.
50434         (add_magnitudes): Likewise.
50435         (sub_magnitudes): Likewise.
50436         (__add): Likewise.
50437         (__sub): Likewise.
50438         (__mul): Likewise.
50439         (__inv): Likewise.
50440         (__dvd): Likewise.
50441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
50442         (__acr): Likewise.
50443         (__cpy): Likewise.
50444         (norm): Likewise.
50445         (denorm): Likewise.
50446         (__mp_dbl): Likewise.
50447         (__dbl_mp): Likewise.
50448         (add_magnitudes): Likewise.
50449         (sub_magnitudes): Likewise.
50450         (__add): Likewise.
50451         (__sub): Likewise.
50452         (__mul): Likewise.
50453         (__inv): Likewise.
50454         (__dvd): Likewise.
50456 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
50458         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
50459         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
50460         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
50461         2 && __USE_EXTERN_INLINES]: Likewise.
50463 2013-01-08  Andreas Jaeger  <aj@suse.de>
50465         [BZ# 14985]
50466         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
50467         Remove.
50468         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50469         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
50471 2013-01-07  Anton Blanchard  <anton@samba.org>
50473         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
50474         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50475         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
50476         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50477         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50478         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50479         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
50480         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50482         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50483         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50484         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50486         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50487         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
50488         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50489         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50490         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50491         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
50492         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50493         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
50494         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
50495         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50496         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
50497         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
50498         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50499         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50500         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
50502         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50503         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
50504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50505         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50506         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50507         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50508         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50511         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
50512         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50513         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
50514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50517 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
50519         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50520         (__MALLOC_PMT): Likewise.
50521         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
50522         [__GNUC__], only on [_LIBC].
50523         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50524         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
50525         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
50526         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
50527         forward declaration.
50528         (realloc_hook_ini): Likewise.
50529         (memalign_hook_ini): Likewise.
50530         (__libc_memalign): Do not use __MALLOC_PMT in variable
50531         declaration.
50532         (__libc_valloc): Likewise.
50533         (__libc_pvalloc): Likewise.
50534         (__libc_calloc): Likewise.
50535         (__posix_memalign): Likewise.
50537         [BZ #14996]
50538         * math/s_casinh.c: Include <float.h>.
50539         (__casinh): Do not do computation with squaring and square root
50540         for large arguments.
50541         * math/s_casinhf.c: Include <float.h>.
50542         (__casinhf): Do not do computation with squaring and square root
50543         for large arguments.
50544         * math/s_casinhl.c: Include <float.h>.
50545         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
50546         (__casinhl): Do not do computation with squaring and square root
50547         for large arguments.
50548         * math/libm-test.inc (casin_test): Add more tests.
50549         (casinh_test): Likewise.
50550         * sysdeps/i386/fpu/libm-test-ulps: Update.
50551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50553 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
50555         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
50556         (__x86_64_raw_data_cache_size): Likewise.
50557         (__x86_64_data_cache_size_half): Likewise.
50558         (__x86_64_raw_data_cache_size_half): Likewise.
50559         (__x86_64_shared_cache_size): Likewise.
50560         (__x86_64_raw_shared_cache_size): Likewise.
50561         (__x86_64_shared_cache_size_half): Likewise.
50562         (__x86_64_raw_shared_cache_size_half): Likewise.
50563         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
50564         to ...
50565         (__x86_data_cache_size): This.
50566         (__x86_64_raw_data_cache_size): Renamed to ...
50567         (__x86_raw_data_cache_size): This.
50568         (__x86_64_data_cache_size_half): Renamed to ...
50569         (__x86_data_cache_size_half): This.
50570         (__x86_64_raw_data_cache_size_half): Renamed to ...
50571         (__x86_raw_data_cache_size_half): This.
50572         (__x86_64_shared_cache_size): Renamed to ...
50573         (__x86_shared_cache_size): This.
50574         (__x86_64_raw_shared_cache_size): Renamed to ...
50575         (__x86_raw_shared_cache_size): This.
50576         (__x86_64_shared_cache_size_half): Renamed to ...
50577         (__x86_shared_cache_size_half): This.
50578         (__x86_64_raw_shared_cache_size_half): Renamed to ...
50579         (__x86_raw_shared_cache_size_half): This.
50580         * sysdeps/x86_64/memcpy.S: Updated.
50581         * sysdeps/x86_64/memset.S: Likewise.
50582         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
50583         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50584         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50586 2013-01-04  David S. Miller  <davem@davemloft.net>
50588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50590 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
50592         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
50593         1 to avoid redefinition warning.
50594         (__USE_GNU): Don't define.
50595         (init_signaling_nan): Protoize.
50597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50599 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50601         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
50602         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
50603         (__cpymn): Likewise.
50604         (norm): Remove commented code.
50605         (denorm): Likewise.
50606         (__mp_dbl): Likewise.
50607         (__inv): Likewise.
50608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
50609         (__cpymn): Likewise.
50610         (norm): Remove commented code.
50611         (denorm): Likewise.
50612         (__mp_dbl): Likewise.
50613         (__inv): Likewise.
50615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
50616         mp_no value for 1.0 and 2.0.
50617         (norm): Use RADIXI instead of radixi.d.
50618         (denorm): Likewise.
50619         (__mul): Use 0.0 instead of zero.d.
50620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
50621         mp_no value for 1.0 and 2.0.
50622         (norm): Use RADIXI instead of radixi.d.
50623         (denorm): Likewise.
50624         (__mul): Use 0.0 instead of zero.d.
50626 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
50628         [BZ #14994]
50629         * math/s_casinh.c (__casinh): Reduce finite argument to first
50630         quadrant then set signs of results at the end.
50631         * math/s_casinhf.c (__casinhf): Likewise.
50632         * math/s_casinhl.c (__casinhl): Likewise.
50633         * math/libm-test.inc (casin_test): Add more tests.
50634         (casinh_test): Likewise.
50635         * sysdeps/i386/fpu/libm-test-ulps: Update.
50636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50638 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50640         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
50642         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50644         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
50645         declarations.
50646         (denorm): Likewise.
50647         (__mp_dbl): Likewise.
50648         (__inv): Likewise.
50650         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
50651         and adjust the header comment.
50653         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
50654         variable name from declaration.
50656 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
50658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50659         Initialize COMMON_CPUID_INDEX_7 element.
50660         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
50661         (CPUID_RTM): Likewise.
50662         (HAS_RTM): Likewise.
50663         (COMMON_CPUID_INDEX_7): New enum.
50665 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
50667         [BZ #14981]
50668         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
50669         size is zero, record memory as freed.
50671 2013-01-03  Andreas Jaeger  <aj@suse.de>
50673         * po/ia.po: Add new Interlingua translation.
50675 2012-01-03  Allan McRae  <allan@archlinux.org>
50677         * locale/programs/localedef.c: Fix description of '--posix' flag.
50679 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
50681         * NEWS: Update dates in second copyright notice.
50682         * README: Update copyright dates in example.
50683         * manual/libc.texinfo: Update copyright dates.
50684         * scripts/test-installation.pl: Update copyright date in --version
50685         output.
50687         * hurd/ctty-input.c: Fix copyright notice formatting.
50688         * hurd/ctty-output.c: Likewise.
50689         * hurd/dtable.c: Likewise.
50690         * hurd/hurd-raise.c: Likewise.
50691         * hurd/hurdprio.c: Likewise.
50692         * hurd/msgportdemux.c: Likewise.
50693         * misc/sys/file.h: Likewise.
50694         * misc/sys/ioctl.h: Likewise.
50695         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50696         * sysdeps/mach/hurd/chdir.c: Likewise.
50697         * sysdeps/mach/hurd/fchdir.c: Likewise.
50698         * sysdeps/mach/hurd/rename.c: Likewise.
50699         * sysdeps/mach/hurd/rmdir.c: Likewise.
50700         * sysdeps/mach/hurd/seekdir.c: Likewise.
50701         * sysdeps/mach/hurd/setsid.c: Likewise.
50702         * sysdeps/posix/wait3.c: Likewise.
50704         * All files with FSF copyright notices: Update copyright dates
50705         using scripts/update-copyrights.
50706         * intl/plural.c: Regenerated.
50707         * locale/programs/charmap-kw.h: Likewise.
50708         * locale/programs/locfile-kw.h: Likewise.
50710 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50712         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
50713         four values.
50715         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
50716         calculation loop and add branch prediction.
50718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
50719         check access beyond bounds of m1np.
50721         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50722         MPTWO.
50723         (__inv): Remove local variable MPTWO to use the global
50724         constant.
50725         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
50726         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50727         variable MPTWO.
50728         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
50729         MP3HALFS static const.
50731 2013-01-01  David S. Miller  <davem@davemloft.net>
50733         * po/ca.po: Update from translation team.
50735 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
50737         * scripts/update-copyrights: New file.
50738         * Makeconfig: Reformat copyright notice.
50739         * ctype/ctype.h: Likewise.
50740         * debug/swprintf_chk.c: Likewise.
50741         * elf/dl-cache.c: Likewise.
50742         * elf/dl-debug.c: Likewise.
50743         * elf/dl-object.c: Likewise.
50744         * grp/initgroups.c: Likewise.
50745         * hurd/Makefile: Likewise.
50746         * hurd/hurd/signal.h: Likewise.
50747         * hurd/hurdfault.c: Likewise.
50748         * hurd/hurdioctl.c: Likewise.
50749         * hurd/hurdlookup.c: Likewise.
50750         * hurd/intr-msg.c: Likewise.
50751         * iconv/gconv_open.c: Likewise.
50752         * libio/swprintf.c: Likewise.
50753         * locale/lc-ctype.c: Likewise.
50754         * locale/nl_langinfo.c: Likewise.
50755         * mach/Machrules: Likewise.
50756         * mach/Makefile: Likewise.
50757         * malloc/obstack.h: Likewise.
50758         * manual/Makefile: Likewise.
50759         * manual/tsort.awk: Likewise.
50760         * misc/bits/stab.def: Likewise.
50761         * nis/nis_print_group_entry.c: Likewise.
50762         * nis/nis_table.c: Likewise.
50763         * nis/nss_compat/compat-pwd.c: Likewise.
50764         * nis/nss_compat/compat-spwd.c: Likewise.
50765         * po/Makefile: Likewise.
50766         * posix/fnmatch.c: Likewise.
50767         * posix/regex.h: Likewise.
50768         * resolv/Makefile: Likewise.
50769         * resolv/nss_dns/dns-network.c: Likewise.
50770         * resolv/res_hconf.c: Likewise.
50771         * scripts/gen-sorted.awk: Likewise.
50772         * soft-fp/soft-fp.h: Likewise.
50773         * stdio-common/printf.h: Likewise.
50774         * stdlib/monetary.h: Likewise.
50775         * stdlib/random.c: Likewise.
50776         * stdlib/random_r.c: Likewise.
50777         * sysdeps/generic/Makefile: Likewise.
50778         * sysdeps/gnu/Makefile: Likewise.
50779         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50787         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50789         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50793         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50795         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50798         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50799         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50801         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50802         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50803         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50805         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50806         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
50807         * sysdeps/mach/hurd/errnos.awk: Likewise.
50808         * sysdeps/mach/hurd/fork.c: Likewise.
50809         * sysdeps/mach/hurd/getcwd.c: Likewise.
50810         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
50811         * sysdeps/mach/hurd/mmap.c: Likewise.
50812         * sysdeps/mach/hurd/utimes.c: Likewise.
50813         * sysdeps/mach/hurd/xmknod.c: Likewise.
50814         * sysdeps/posix/profil.c: Likewise.
50815         * sysdeps/posix/readdir_r.c: Likewise.
50816         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50817         * sysdeps/powerpc/bits/setjmp.h: Likewise.
50818         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
50819         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
50820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50821         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50822         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50823         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50825         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50826         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50827         * sysdeps/pthread/lio_listio.c: Likewise.
50828         * sysdeps/sparc/dl-procinfo.h: Likewise.
50829         * sysdeps/unix/i386/sysdep.S: Likewise.
50830         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
50831         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
50832         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50833         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
50834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50835         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
50836         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
50837         * sysdeps/unix/sysv/linux/speed.c: Likewise.
50838         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
50839         * sysdeps/wordsize-32/divdi3.c: Likewise.
50840         * time/sys/time.h: Likewise.
50841         * wcsmbs/Makefile: Likewise.
50843 2013-01-01  David S. Miller  <davem@davemloft.net>
50845         * po/fr.po: Update from translation team.
50847         * catgets/gencat.c: Update copyright year.
50848         * csu/version.c: Likewise.
50849         * debug/catchsegv.sh: Likewise.
50850         * debug/pcprofiledump.c: Likewise.
50851         * debug/xtrace.sh: Likewise.
50852         * elf/ldconfig.c: Likewise.
50853         * elf/ldd.bash.in: Likewise.
50854         * elf/pldd.c: Likewise.
50855         * elf/sotruss.ksh: Likewise.
50856         * elf/sprof.c: Likewise.
50857         * iconv/iconv_prog.c: Likewise.
50858         * iconv/iconvconfig.c: Likewise.
50859         * locale/programs/locale.c: Likewise.
50860         * locale/programs/localedef.c: Likewise.
50861         * login/programs/pt_chown.c: Likewise.
50862         * malloc/memusage.sh: Likewise.
50863         * malloc/memusagestat.c: Likewise.
50864         * malloc/mtrace.pl: Likewise.
50865         * nscd/nscd.c: Likewise.
50866         * nss/getent.c: Likewise.
50867         * nss/makedb.c: Likewise.
50868         * posix/getconf.c: Likewise.
50870 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50872         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50873         numbers.
50875 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50877         * math/bits/mathcalls.h (modf): Use __nonnull.
50879 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50881         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50882         (split): Use macro CN instead of the bare value.
50883         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50884         could be used.
50885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50886         instead of the bare value.
50887         (power1): Likewise.
50889 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50891         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50892         __ATAN_TWOM.
50893         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50895         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50896         their values.
50897         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50898         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50899         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50900         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50902 2012-12-28  Andreas Jaeger  <aj@suse.de>
50904         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50905         values are from Linux 3.7.
50907         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50908         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50910 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50912         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50913         TRUE case.
50915         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50916         (norm): Likewise.
50917         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50918         variables with preprocessor constants.
50919         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50920         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50921         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50923 2012-12-27  Bruno Haible  <bruno@clisp.org>
50925         [BZ #14317]
50926         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50927         only if needed.
50929 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50932         and use variable directly.
50933         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50935         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50936         MPONE.
50937         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50939         variable MPONE.
50940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50942         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50943         include directive.  Remove local variable MPONE.
50944         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50945         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50946         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50948 2012-12-25  David S. Miller  <davem@davemloft.net>
50950         * version.h (RELEASE): Set to "development".
50951         (VERSION): Set to "2.17.90".
50952         * NEWS: Add 2.18 section.
50954 2012-12-21  David S. Miller  <davem@davemloft.net>
50956         * po/hr.po: Update from translation team.
50958 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50960         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50962 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50964         * NEWS:  Mention new memcpy for MIPS.
50966 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50968         * manual/contrib.texi (Contributors): Spelling correction.
50970 2012-12-15  David S. Miller  <davem@davemloft.net>
50972         * po/ru.po: Update from translation team.
50974 2012-12-13  David S. Miller  <davem@davemloft.net>
50976         * NEWS: Mention IFUNC testsuite enhancements.
50978         * po/pl.po: Update from translation team.
50979         * po/bg.po: Likewise.
50981         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50982         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50984 2012-12-11  David S. Miller  <davem@davemloft.net>
50986         * po/sv.po: Update from translation team.
50988         * po/vi.po: Update from translation team.
50990         * po/cs.po: Update from translation team.
50992         * po/de.po: Update from translation team.
50993         * po/eo.po: Likewise.
50994         * po/nl.po: Likewise.
50996 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50998         [BZ #14246]
50999         * manual/argp.texi (Argp Helper Functions): Move node to follow
51000         Argp Parsing State.
51002         [BZ #14872]
51003         * manual/conf.texi (Limits on File System Capacity): Mention if
51004         terminating null is included in the max size.
51006 2012-12-10  Andreas Jaeger  <aj@suse.de>
51008         * po/cs.po: Update from translation team.
51010 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51012         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51013         void pointer and cast to uintptr_t.
51014         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51015         path.
51016         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51017         * sysdeps/s390/s390-64/memset.S: Likewise.
51019 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51021         [BZ #14833]
51022         * menual/message.texi (Message Translation): Fix typos.
51023         (Helper programs for gettext): Likewise.
51025 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51027         [BZ #14898]
51028         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51029         Change to -1.
51031 2012-12-07  David S. Miller  <davem@davemloft.net>
51033         * po/libc.pot: Update.
51035 2012-12-07  Richard Henderson  <rth@redhat.com>
51037         [BZ #10114]
51038         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51039         normal/normal case to before the switch.
51040         (_FP_DIV): Likewise.
51042 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51043             Mike Frysinger  <vapier@gentoo.org>
51045         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51046         check for __NR_fadvise64_64.
51048 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51050         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51051         0, not just to plain "0" as a statement.
51052         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51053         with cw.
51055 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51057         * NEWS: Use sourceware.org in Bugzilla URL.
51059 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51062         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51064         * stdio-common/tst-put-error.c (do_test): Add newline to the
51065         padded test to ensure flush.
51067 2012-12-05  Jeff Law  <law@redhat.com>
51069         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51071 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51073         * README: Don't refer to ports add-on as distributed separately.
51074         Mention AArch64 in list of systems supported in the ports add-on.
51076         * LICENSES: Add more non-FSF copyright and license notices.
51078         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51079         ((unused)).
51081         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51083         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51084         10000 as width of padded output.
51086 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51088         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51090         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51091         variable LX with __attribute__ ((unused)).
51092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51093         Likewise.
51094         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51096         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51097         with __attribute__ ((unused)).
51099 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51101         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51103 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51105         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51106         (CFLAGS-nldbl-acos.c): New variable.
51107         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51108         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51109         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51110         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51111         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51112         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51113         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51114         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51115         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51116         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51117         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51118         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51119         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51120         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51121         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51122         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51123         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51124         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51125         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51126         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51127         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51128         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51129         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51130         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51131         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51132         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51133         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51134         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51135         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51136         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51137         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51138         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51139         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51140         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51141         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51142         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51143         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51144         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51145         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51146         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51147         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51148         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51149         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51150         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51151         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51152         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51153         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51154         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51155         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51156         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51157         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51158         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51159         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51160         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51161         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51162         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51163         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51164         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51165         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51166         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51167         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51168         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51169         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51170         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51171         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51172         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51173         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51174         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51175         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51176         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51177         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51178         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51179         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51180         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51181         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51182         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51183         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51184         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51185         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51186         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51187         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51188         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51189         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51190         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51191         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51192         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51193         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51194         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51195         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51196         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51197         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51198         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51199         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51200         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51201         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51202         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51203         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51206         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51208         [BZ #14914]
51209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51210         whole low double instead of just low 47 bits when splitting values
51211         into two parts.
51213 2012-12-03  Allan McRae  <allan@archlinux.org>
51215         * manual/stdio.texi (Predefined Printf Handlers): Remove
51216         @hsep and @vsep usage.
51218 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51220         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51221         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51223 2012-12-03  Jeff Law  <law@redhat.com>
51225         * time/sys/time.h (settimeofday): Do not mark TV argument
51226         as __nonnull.
51228 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51230         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51231         when currently writing and seek to current position when not.
51232         * libio/Makefile (tests): Remove bug-fclose1.
51233         * libio/bug-fclose1.c: Delete.
51235 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51237         * manual/arith.texi (feenableexcept): Fix typo.
51238         (fedisableexcept): Likewise.
51240 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51242         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51243         second, differently-typed declaration, rather than a cast.
51245 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51247         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51248         * include/rpc/svc.h: ... here.
51250 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51252         [BZ #13013]
51253         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51254         depending n and resplen2 to catch cases where answer
51255         equals answerp2.
51257 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51259         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51260         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51262 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51264         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51266 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51268         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51270 2012-11-28  Jeff Law  <law@redhat.com>
51272         [BZ #13761]
51273         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51274         dataset_temporary.  Track alloca usage into alloca_used.
51275         If dataset is large allocate and release it via malloc/free.
51277 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51279         [BZ #14197]
51280         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51282 2012-11-28  David S. Miller  <davem@davemloft.net>
51284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51286 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51288         [BZ #14803]
51289         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51290         of pi/2 rounded to nearest to 64 bits.
51291         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51292         nearest to 64 bits.
51293         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51294         bits.
51296 2012-11-28  Jeff Law <law@redhat.com>
51297             Martin Osvald <mosvald@redhat.com>
51299         [BZ #14889]
51300         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51301         * sunrpc/svc.c: Include time.h.
51302         (__svc_accept_failed): New function.
51303         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51304         any reason other than EINTR, call __svc_accept_failed.
51305         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51306         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51308 2012-11-28  Andreas Schwab  <schwab@suse.de>
51310         * scripts/abilist.awk: Also handle indirect functions in .opd
51311         section.
51313 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51315         [BZ #13881]
51316         * sysdeps/x86/fpu/powl_helper.c: New file.
51317         * sysdeps/x86/fpu/Makefile: Likewise.
51318         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51319         (p3): New object.
51320         (__ieee754_powl): Use __powl_helper for finite arguments except
51321         integer exponents below 8.
51322         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51323         (p3): New object.
51324         (__ieee754_powl): Use __powl_helper for finite arguments except
51325         integer exponents below 8.
51326         * math/libm-test.inc (pow_test): Add more tests and enable some
51327         previously disabled tests.
51328         * sysdeps/i386/fpu/libm-test-ulps: Update.
51329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51331 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51332             Carlos O'Donell  <carlos_odonell@mentor.com>
51334         * nss/makedb.c (is_prime): Assert that input is odd and greater
51335         than 4.  Note that fact in a comment too.
51336         (next_prime): Add 4 to input.
51338 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51340         [BZ #11741]
51341         * libio/Makefile (tests): Add test case tst-fwrite-error.
51342         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
51343         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
51344         * libio/tst-fwrite-error.c: New test case.
51346 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
51348         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
51349         before casting to void *.
51350         * include/libc-internal.h (__pointer_type): New macro.
51351         (__integer_if_pointer_type_sub): Likewise.
51352         (__integer_if_pointer_type): Likewise.
51353         (cast_to_integer): Likewise.
51354         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
51355         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
51356         before casting to atomic64_t.
51357         (atomic_exchange_acq): Likewise.
51358         (__arch_exchange_and_add_body): Likewise.
51359         (__arch_add_body): Likewise.
51360         (atomic_add_negative): Likewise.
51361         (atomic_add_zero): Likewise.
51363 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
51365         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
51366         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
51367         (add_fdes): Likewise.
51368         (linear_search_fdes): Likewise.
51369         (binary_search_unencoded_fdes): Likewise.
51371 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
51373         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
51375 2012-11-24  Adam Conrad  <adconrad@0c3.net>
51377         * configure.in: Autodetect C++ header directories.
51378         * configure: Regenerated.
51380 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
51382         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
51384 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
51386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51388 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
51390         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
51391         LDBL_MANT_DIG == 106]: Disable some tests.
51392         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51393         Likewise.
51394         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
51395         Likewise.
51397         [BZ #14871]
51398         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
51399         input for small inputs.  Return +/- pi/2 for large inputs.
51400         * math/libm-test.inc (atan_test): Add more tests.
51402         * sysdeps/generic/unwind-dw2-fde-glibc.c
51403         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
51404         __attribute__ ((unused)).
51406         [BZ #14645]
51407         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
51408         x * y if x and y are nonzero and z is zero.
51410         [BZ #14811]
51411         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
51412         nonzero exponents with absolute value below 0x1p-117 to +/-
51413         0x1p-117.
51415         [BZ #14869]
51416         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
51417         up arguments below 2**-450, not just those below 2**-500.
51418         * math/libm-test.inc (hypot_test): Add another test.
51420         [BZ #14868]
51421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
51422         Return a+b for ratio over 2**120, not 2**60.
51423         * math/libm-test.inc (hypot_test): Add another test.
51425         * math/libm-test.inc (clog_test): Use
51426         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
51427         (clog10_test): Likewise.
51429         [BZ #6778]
51430         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
51432 2012-11-22  Andreas Schwab  <schwab@suse.de>
51434         * sysdeps/i386/fpu/libm-test-ulps: Update.
51436 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
51438         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
51439         printf output with newline.
51441 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
51443         [BZ #14865]
51444         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
51445         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
51446         -z nodlopen, -z initfirst and -z execstack support.
51447         * configure: Regenerated.
51449         * elf/elf.h (DF_1_NODIRECT): New macro.
51450         (DF_1_IGNMULDEF): Likewise.
51451         (DF_1_NOKSYMS): Likewise.
51452         (DF_1_NOHDR): Likewise.
51453         (DF_1_EDITED): Likewise.
51454         (DF_1_NORELOC): Likewise.
51455         (DF_1_SYMINTPOSE): Likewise.
51456         (DF_1_GLOBAUDIT): Likewise.
51457         (DF_1_SINGLETON): Likewise.
51458         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
51459         DT_1_SUPPORTED_MASK bits.
51460         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
51462 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
51464         * sysdeps/unix/make-syscalls.sh: Document prefixes.
51466 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
51468         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
51469         macro.
51471         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
51472         (sendmmsg): Move declarations...
51473         * socket/sys/socket.h: ... here.
51474         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
51475         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
51476         include it from...
51477         * socket/recvmmsg.c: ... this new file.
51478         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
51479         (sendmmsg): Rename to __sendmmsg, create weak alias and make
51480         definition of __sendmmsg hidden.
51481         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
51482         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
51483         Move ENOSYS stub into and include it from...
51484         * socket/sendmmsg.c: ... this new file.
51485         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
51486         (sysdep_routines): Move recvmmsg and sendmmsg...
51487         * socket/Makefile (routines): ... here.
51488         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
51489         (GLIBC_PRIVATE): Add __sendmmsg.
51490         * include/sys/socket.h (__sendmmsg): Add declarations.
51491         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
51492         sendmmsg.
51494 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
51496         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
51497         variable I1 with __attribute__ ((unused)).
51498         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51500 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51502         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
51503         DUMMY variables with __attribute__ ((unused)).
51505         * bits/byteswap.h: Include <bits/types.h>.
51506         (__bswap_64): Use __uint64_t instead of unsigned long long int.
51508 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51510         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
51511         string_t.  Do not manually set errno.
51512         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
51513         length with __strnlen.  Make sure to both set errno and return it on
51514         failure.
51516 2012-11-19  David S. Miller  <davem@davemloft.net>
51518         With help from Joseph Myers.
51519         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
51520         very large arguments properly.
51521         * math/libm-test.inc (atan_test): New tests.
51522         (atan2_test): New tests.
51523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51524         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51526 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
51528         [BZ #14856]
51529         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
51530         Define to 3.
51532         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
51533         [POSIX] (EADDRNOTAVAIL): Likewise.
51534         [POSIX] (EAFNOSUPPORT): Likewise.
51535         [POSIX] (EALREADY): Likewise.
51536         [POSIX] (ECONNABORTED): Likewise.
51537         [POSIX] (ECONNREFUSED): Likewise.
51538         [POSIX] (ECONNRESET): Likewise.
51539         [POSIX] (EDESTADDRREQ): Likewise.
51540         [POSIX] (EDQUOT): Likewise.
51541         [POSIX] (EHOSTUNREACH): Likewise.
51542         [POSIX] (EIDRM): Likewise.
51543         [POSIX] (EISCONN): Likewise.
51544         [POSIX] (ELOOP): Likewise.
51545         [POSIX] (EMULTIHOP): Likewise.
51546         [POSIX] (ENETDOWN): Likewise.
51547         [POSIX] (ENETUNREACH): Likewise.
51548         [POSIX] (ENOBUFS): Likewise.
51549         [POSIX] (ENODATA): Likewise.
51550         [POSIX] (ENOLINK): Likewise.
51551         [POSIX] (ENOMSG): Likewise.
51552         [POSIX] (ENOPROTOOPT): Likewise.
51553         [POSIX] (ENOSR): Likewise.
51554         [POSIX] (ENOSTR): Likewise.
51555         [POSIX] (ENOTCONN): Likewise.
51556         [POSIX] (ENOTSOCK): Likewise.
51557         [POSIX] (EOPNOTSUPP): Likewise.
51558         [POSIX] (EOVERFLOW): Likewise.
51559         [POSIX] (EPROTO): Likewise.
51560         [POSIX] (EPROTONOSUPPORT): Likewise.
51561         [POSIX] (EPROTOTYPE): Likewise.
51562         [POSIX] (ESTALE): Likewise.
51563         [POSIX] (ETIME): Likewise.
51564         [POSIX] (ETXTBSY): Likewise.
51565         [POSIX] (EWOULDBLOCK): Likewise.
51566         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
51567         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
51568         [POSIX] (SEEK_CUR): Likewise.
51569         [POSIX] (SEEK_END): Likewise.
51570         [POSIX || UNIX98] (mode_t): Do not require.
51571         [POSIX] (off_t): Likewise.
51572         [POSIX] (pid_t): Likewise.
51573         [POSIX] (sys/stat.h): Do not allow header.
51574         [POSIX] (unistd.h): Likewise.
51575         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
51576         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
51577         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
51578         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
51579         require.
51580         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
51581         sigevent): Specify elements.
51582         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
51583         entry.
51584         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
51585         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
51587         * conform/data/cpio.h-data [POSIX]: Disable whole file.
51588         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
51589         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
51590         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
51591         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
51592         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
51593         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
51594         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
51595         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
51596         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
51597         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
51598         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
51599         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
51600         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
51601         Likewise.
51602         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
51603         Likewise.
51604         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
51605         Likewise.
51606         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
51607         Likewise.
51608         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
51609         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
51610         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
51611         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
51613         Specify lower bound on value.
51614         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
51620         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
51621         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
51622         value.
51623         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
51624         as optional.
51625         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
51626         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
51627         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
51628         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
51629         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
51630         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
51631         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
51632         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
51633         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
51634         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
51635         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
51636         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
51637         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
51638         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
51639         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
51640         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
51641         entry.
51642         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
51643         optional.
51644         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
51645         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
51646         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
51647         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
51648         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
51649         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
51650         Likewise.
51651         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
51652         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
51653         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
51654         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
51655         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
51656         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
51657         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
51658         as optional.
51659         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
51660         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
51661         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
51662         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
51663         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
51664         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
51665         specify as optional.
51666         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
51667         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
51668         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
51669         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
51670         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
51671         [XPG3] (NL_LANGMAX): Likewise.
51672         [POSIX || XPG3] (NL_MSGMAX): Likewise.
51673         [POSIX || XPG3] (NL_NMAX): Likewise.
51674         [POSIX || XPG3] (NL_SETMAX): Likewise.
51675         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
51676         [XPG3] (NZERO): Likewise.
51677         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
51678         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
51679         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
51680         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
51681         (REG_ERANGE): Expect.
51682         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
51683         optional-constant.
51684         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
51685         Use (void) in prototype.
51686         [POSIX] (*_t): Allow.
51687         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
51688         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
51689         (WRDE_BADVAL): Expect.
51691         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
51692         expect.
51693         [XPG3 || XPG4] (O_RSYNC): Likewise.
51694         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
51695         Likewise.
51696         [XPG3 || XPG4] (pthread_sigmask): Likewise.
51697         [XPG3 || XPG4] (sigqueue): Likewise.
51698         [XPG3 || XPG4] (sigtimedwait): Likewise.
51699         [XPG3 || XPG4] (sigwaitinfo): Likewise.
51700         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
51701         [XPG3 || XPG4] (vsnprintf): Likewise.
51702         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
51703         Likewise.
51704         [XPG3 || XPG4] (blksize_t): Likewise.
51705         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
51706         Likewise.
51707         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
51708         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51709         [XPG3 || XPG4] (struct itimerspec): Likewise.
51710         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
51711         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
51712         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
51713         [XPG3 || XPG4] (clockid_t): Likewise.
51714         [XPG3 || XPG4] (timer_t): Likewise.
51715         [XPG3 || XPG4] (clock_getres): Likewise.
51716         [XPG3 || XPG4] (clock_gettime): Likewise.
51717         [XPG3 || XPG4] (clock_settime): Likewise.
51718         [XPG3 || XPG4] (nanosleep): Likewise.
51719         [XPG3 || XPG4] (timer_create): Likewise.
51720         [XPG3 || XPG4] (timer_delete): Likewise.
51721         [XPG3 || XPG4] (timer_gettime): Likewise.
51722         [XPG3 || XPG4] (timer_getoverrun): Likewise.
51723         [XPG3 || XPG4] (timer_settime): Likewise.
51724         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
51725         [XPG3 || XPG4] (getlogin_r): Likewise.
51726         [XPG3 || XPG4] (pread): Likewise.
51727         [XPG3 || XPG4] (pthread_atfork): Likewise.
51728         [XPG3 || XPG4] (pwrite): Likewise.
51730         [BZ #14835]
51731         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
51732         <bits/siginfo.h>.
51734 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
51736         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
51737         finalizing MALLSTREAM.
51739         * sysdeps/mach/hurd/syncfs.c: New file.
51741 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51743         [BZ #14719]
51744         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
51745         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
51746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
51747         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
51748         (_nss_dns_gethostbyname4_r): Likewise.
51749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
51750         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
51752 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
51754         [BZ #13763]
51755         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
51757 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
51759         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
51760         * elf/cache.c (print_entry): Print ",AArch64" for
51761         FLAG_AARCH64_LIB64
51763         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
51764         * elf/cache.c (print_entry): Print ",hard-float" for
51765         FLAG_ARM_LIBHF.
51767 2012-11-18  David S. Miller  <davem@davemloft.net>
51769         With help from Joseph Myers.
51770         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
51771         cutoff to 2**-13.
51772         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
51773         cutoff to 2**-25.
51774         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
51775         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
51776         small.
51777         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
51778         * math/libm-test.inc (y0_test): New tests.
51779         (y1_test): New tests.
51780         * sysdeps/i386/fpu/libm-test-ulps: Update.
51781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51784 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
51786         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
51787         64-bit targets.
51788         * configure: Regenerated.
51790 2012-11-17  David S. Miller  <davem@davemloft.net>
51792         [BZ #14811]
51793         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
51794         nonzero exponents with absolute value below 0x1p-128 to +/-
51795         0x1p-128.
51797 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
51799         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
51801         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
51803         * posix/getconf-speclist.c: New file.
51804         * posix/posix-envs.def: Likewise.
51805         * posix/confstr.c (START_ENV_GROUP): New macro.
51806         (END_ENV_GROUP): Likewise.
51807         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51808         (KNOWN_PRESENT_ENV_STRING): Likewise.
51809         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51810         (UNKNOWN_ENVIRONMENT): Likewise.
51811         (confstr): Include posix-envs.def instead of handling
51812         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
51813         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
51814         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
51815         (END_ENV_GROUP): Likewise.
51816         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51817         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
51818         (UNKNOWN_ENVIRONMENT): Likewise.
51819         (__sysconf): Include posix-envs.def instead of handling associated
51820         cases directly here.
51821         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
51822         preprocessing getconf-speclist.c rather than running getconf or
51823         generating empty file.
51825 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
51827         * scripts/check-local-headers.sh: Ignore 'mach' headers.
51829 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
51831         [BZ #14672]
51832         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
51834 2012-11-16  David S. Miller  <davem@davemloft.net>
51836         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
51837         smaller than LDBL_EPSILON/2.0L, just return xm1.
51839 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
51841         * elf/tst-array1.c (init): Set constructor priority to 1000.
51842         (fini): Set destructor priority to 1000.
51843         * elf/tst-array2dep.c: Likewise.
51845 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51847         [BZ #11741]
51848         * libio/fileops.c (_IO_new_file_write): Correctly return error.
51849         (_IO_new_file_xsputn): Also return EOF if none of the input
51850         data was written when overflow failed.
51851         * libio/iopadn.c (_IO_padn): Likewise.
51852         * libio/iowpadn.c (_IO_wpadn): Likewise.
51853         * stdio-common/tst-put-error.c: Add copyright notice.
51854         (do_test): Add case for printing padded string.
51855         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51856         _IO_padn returned error.
51857         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51858         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51859         return EOF.
51861 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51863         * libio/libioP.h: Add comment note that the references to C++
51864         bits are now obsolete.
51866 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51868         * math/libm-test.inc (check_complex): Use asprintf.
51870 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51872         * debug/pcprofiledump.c (print_version): Update copyright year.
51873         * malloc/memusagestat.c (print_version): Likewise.
51875 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51877         [BZ #14831]
51878         * elf/Makefile (tests): Add tst-audit8.
51879         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51880         ($(objpfx)tst-audit8.out): New target.
51881         (tst-audit8-ENV): New variable.
51882         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51883         audit if l_reloc_result is NULL.
51884         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51885         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51886         * elf/tst-audit8.c: New file.
51888 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51890         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51891         * misc/Makefile (CFLAGS-select.c): Define.
51892         * posix/Makefile (CFLAGS-pause.c): Define.
51894 2012-11-13  David S. Miller  <davem@davemloft.net>
51896         * crypt/Makefile: Move test targets after toplevel Rules
51897         inclusion.  Grab any necessary sysdep routines when linking.
51898         * crypt/md5.c (md5_process_block): Remove define, we will always
51899         name it __md5_process_block.
51900         (md5_finish_ctx): Update md5_process_block call.
51901         (md5_stream): Likewise.
51902         (md5_process_bytes): Likewise.
51903         (md5_process_block): Rename to __md5_process_block and move to ...
51904         * crypt/md5-block.c: ... here.
51905         * crypt/sha256.c (sha256_process_block): Move to ...
51906         * crypt/sha256-block.c: ... here.
51907         * crypt/sha512.c (sha512_process_block): Move to ...
51908         * crypt/sha512-block.c: ... here.
51909         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51910         path.
51911         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51912         * sysdeps/sparc/sparc64/multiarch/Makefile
51913         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51914         crypt subdir.
51915         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51916         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51917         multiarch changes.
51918         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51919         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51920         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51921         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51922         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51923         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51924         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51925         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51926         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51927         file.
51928         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51929         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51930         file.
51931         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51933 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51935         * timezone/tzselect.ksh: Update from tzcode git revision
51936         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51937         * timezone/zdump.c: Likewise.
51938         * timezone/zic.c: Likewise.
51939         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51940         in TZVERSION setting, not $(PKGVERSION).
51941         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51942         REPORT_BUGS_TO settings.
51944         [BZ #14838]
51945         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51946         macro.
51948 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51950         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51951         detection to immediately after _FP_ROUND().
51952         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51953         bits are 0.
51955 2012-11-11  David S. Miller  <davem@davemloft.net>
51957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51958         inttypes.h
51959         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51960         __close rather than their public counterparts.
51962 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51964         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51965         file.
51966         [UNIX98] (sem_timedwait): Do not expect.
51967         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51968         [XPG4 || UNIX98] (sockatmark): Do not expect.
51969         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51970         (clock_getcpuclockid): Do not expect.
51971         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51972         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51973         Do not expect.
51974         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51975         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51976         [UNIX98] (vwscanf): Likewise.
51977         [UNIX98] (vswscanf): Likewise.
51979 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51981         * timezone/version.h: Remove file.
51982         * timezone/README: Do not refer to version.h.
51983         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51984         $(objpfx)version.h.
51985         ($(objpfx)zdump.o): Likewise.
51986         ($(objpfx)version.h): New target.
51988         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51989         2012i.
51990         * timezone/README: Don't mention modification to tzselect.ksh.
51991         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51992         work on unmodified tzselect.ksh.  Substitute version numbers in
51993         tzselect.ksh.
51995         * Makefile (format-me): Remove.
51996         (INSTALL): Adjust indentation.  Use commands directly instead of
51997         using $(format-me).
51999         * aclocal.m4 (ACX_PKGVERSION): New macro.
52000         (ACX_BUGURL): Likewise.
52001         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52002         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52003         (REPORT_BUGS_TO): Likewise.
52004         * configure: Regenerated.
52005         * config.h.in (PKGVERSION): New macro.
52006         (REPORT_BUGS_TO): Likewise.
52007         * config.make.in (PKGVERSION): New variable.
52008         (PKGVERSION_TEXI): Likewise.
52009         (REPORT_BUGS_TO): Likewise.
52010         (REPORT_BUGS_TEXI): Likewise.
52011         * Makefile (format-me): Use -I$(common-objpfx)manual.
52012         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52013         ($(common-objpfx)manual/%): New target.
52014         (manual/%): Remove target.
52015         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52016         (print_version): Use PKGVERSION.
52017         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52018         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52019         and REPORT_BUGS_TO.
52020         ($(objpfx)xtrace): Likewise.
52021         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52022         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52023         (print_version): Use PKGVERSION.
52024         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52025         (do_version): Use PKGVERSION.
52026         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52027         REPORT_BUGS_TO.
52028         (common-ldd-rewrite): Likewise.
52029         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52030         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52031         (print_version): Use PKGVERSION.
52032         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52033         * elf/pldd.c (argp_program_bug_address): Remove variable.
52034         (more_help): New function.
52035         (argp): Use more_help.
52036         (print_version): Use PKGVERSION.
52037         * elf/sln.c (main): Use PKGVERSION.
52038         (usage): Use REPORT_BUGS_TO.
52039         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52040         (top level): Use PKGVERSION.
52041         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52042         (print_version): Use PKGVERSION.
52043         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52044         (print_version): Use PKGVERSION.
52045         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52046         (print_version): Use PKGVERSION.
52047         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52048         (print_version): Use PKGVERSION.
52049         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52050         (print_version): Use PKGVERSION.
52051         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52052         (print_version): Use PKGVERSION.
52053         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52054         and BUGURL.
52055         ($(objpfx)memusage): Likewise.
52056         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52057         (do_version): Use PKGVERSION.
52058         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52059         (print_version): Use PKGVERSION.
52060         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52061         ($PKGVERSION): New variable.
52062         ($REPORT_BUGS_TO): Likewise.
52063         (usage): Use $REPORT_BUGS_TO.
52064         (top level): Use $PKGVERSION.
52065         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52066         ($(objpfx)pkgvers.texi): New rule.
52067         ($(objpfx)stamp-pkgvers): Likewise.
52068         * manual/install.texi: Include pkgvers.texi.
52069         (--with-pkgversion): Document new configure option.
52070         (--with-bugurl): Likewise.
52071         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52072         than necessarily for this particular distribution.  Use
52073         REPORT_BUGS_TO for where to report bugs.
52074         * INSTALL: Regenerated.
52075         * manual/libc.texinfo: Include pkgvers.texi.
52076         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52077         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52078         (print_version): Use PKGVERSION.
52079         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52080         (print_version): Use PKGVERSION.
52081         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52082         (print_version): Use PKGVERSION.
52083         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52084         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52085         macro.
52086         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52087         (print_version): Use PKGVERSION.
52088         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52089         (print_version): Use PKGVERSION.
52090         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52091         and PKGVERSION.
52093         * timezone/checktab.awk: Update from tzcode 2012i.
52094         * timezone/ialloc.c: Likewise.
52095         * timezone/private.h: Likewise.
52096         * timezone/scheck.c: Likewise.
52097         * timezone/tzfile.h: Likewise.
52098         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52099         (TZVERSION): Hardcode tzcode version number.
52100         * timezone/zdump.c: Update from tzcode 2012i.
52101         * timezone/zic.c: Likewise.
52102         * timezone/version.h: New file.
52103         * timezone/README: Describe version.h.  Update upstream location.
52105         [BZ #14824]
52106         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52107         (mktemp): Enable declaration.
52108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52109         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52111         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52112         Likewise.
52113         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52114         Likewise.
52115         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52116         Likewise.
52117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52118         Likewise.
52119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52120         Likewise.
52121         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52122         Likewise.
52124         [BZ #14821]
52125         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52126         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52127         for copies of such integer values.
52128         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52129         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52131 2012-11-09  Andreas Jaeger  <aj@suse.de>
52133         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52134         definitions and declarations that are provided by
52135         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52137 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52139         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52140         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52141         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52142         definition.
52144 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52146         * elf/elf.h: Update comment before AArch64 relocations.
52148 2012-11-07  David S. Miller  <davem@davemloft.net>
52150         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52151         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52152         (__start_context): Declare.
52153         (__makecontext_ret): Delete.
52154         (__makecontext): Hook up __start_context instead of
52155         __makecontext_ret.
52156         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52157         (sysdep_routines): Add __start_context when in stdlib.
52159 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52161         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52162         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52163         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52164         hardcoded "nm".
52165         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52166         (READELF): New variable.  Use it instead of hardcoded "readelf".
52168 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52170         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52171         * sysdeps/x86/Makefile: Here.
52172         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52173         * sysdeps/x86/tst-xmmymm.sh: This.
52175 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52177         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52178         expectations.
52179         [UNIX98] (pthread_barrier_t): Do not expect.
52180         [UNIX98] (pthread_barrierattr_t): Likewise.
52181         [UNIX98] (pthread_spinlock_t): Likewise.
52182         [UNIX98] (pthread_barrier_destroy): Likewise.
52183         [UNIX98] (pthread_barrier_init): Likewise.
52184         [UNIX98] (pthread_barrier_wait): Likewise.
52185         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52186         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52187         [UNIX98] (pthread_barrierattr_init): Likewise.
52188         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52189         [UNIX98] (pthread_getcpuclockid): Likewise.
52190         [UNIX98] (pthread_mutex_timedlock): Likewise.
52191         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52192         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52193         [UNIX98] (pthread_sigmask): Likewise.
52194         [UNIX98] (pthread_spin_destroy): Likewise.
52195         [UNIX98] (pthread_spin_init): Likewise.
52196         [UNIX98] (pthread_spin_lock): Likewise.
52197         [UNIX98] (pthread_spin_trylock): Likewise.
52198         [UNIX98] (pthread_spin_unlock): Likewise.
52199         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52200         Do not expect.
52201         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52202         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52203         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52204         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52205         [XPG3 || XPG4] (pthread_key_t): Likewise.
52206         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52207         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52208         [XPG3 || XPG4] (pthread_once_t): Likewise.
52209         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52210         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52211         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52212         [XPG3 || XPG4] (pthread_t): Likewise.
52214         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52215         not expect.
52216         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52218         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52219         Change function return type to int.
52221         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52222         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52223         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52224         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52225         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52226         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52227         [!POSIX] (posix_madvise): Likewise.
52228         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52229         && !UNIX98].
52230         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52231         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52232         (mode_t): Likewise.
52233         (posix_mem_offset): Likewise.
52234         (posix_typed_mem_get_info): Likewise.
52235         (posix_typed_mem_open): Likewise.
52237         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52238         Change condition to [XOPEN2K8].
52240         * conform/conformtest.pl: Preprocess allow-header data with -x c
52241         instead of from stdin.
52242         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52243         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52244         [C99-based standards] (cerfc): Likewise.
52245         [C99-based standards] (cexp2): Likewise.
52246         [C99-based standards] (cexpm1): Likewise.
52247         [C99-based standards] (clog10): Likewise.
52248         [C99-based standards] (clog1p): Likewise.
52249         [C99-based standards] (clog2): Likewise.
52250         [C99-based standards] (clgamma): Likewise.
52251         [C99-based standards] (ctgamma): Likewise.
52252         [C99-based standards] (cerff): Likewise.
52253         [C99-based standards] (cerfcf): Likewise.
52254         [C99-based standards] (cexp2f): Likewise.
52255         [C99-based standards] (cexpm1f): Likewise.
52256         [C99-based standards] (clog10f): Likewise.
52257         [C99-based standards] (clog1pf): Likewise.
52258         [C99-based standards] (clog2f): Likewise.
52259         [C99-based standards] (clgammaf): Likewise.
52260         [C99-based standards] (ctgammaf): Likewise.
52261         [C99-based standards] (cerfl): Likewise.
52262         [C99-based standards] (cerfcl): Likewise.
52263         [C99-based standards] (cexp2l): Likewise.
52264         [C99-based standards] (cexpm1l): Likewise.
52265         [C99-based standards] (clog10l): Likewise.
52266         [C99-based standards] (clog1pl): Likewise.
52267         [C99-based standards] (clog2l): Likewise.
52268         [C99-based standards] (clgammal): Likewise.
52269         [C99-based standards] (ctgammal): Likewise.
52270         * conform/data/inttypes.h-data [C99-based standards]: Include
52271         stdint.h-data.  Remove all expectations for stdint.h contents.
52272         [C99-based standards] (PRI*): Do not allow.
52273         [C99-based standards] (SCN*): Likewise.
52274         [C99-based standards] (*_t): Likewise.
52275         [C99-based-standards] (PRId8): Expect macro.
52276         [C99-based-standards] (PRIi8): Likewise.
52277         [C99-based-standards] (PRIo8): Likewise.
52278         [C99-based-standards] (PRIu8): Likewise.
52279         [C99-based-standards] (PRIx8): Likewise.
52280         [C99-based-standards] (PRIX8): Likewise.
52281         [C99-based-standards] (SCNd8): Likewise.
52282         [C99-based-standards] (SCNi8): Likewise.
52283         [C99-based-standards] (SCNo8): Likewise.
52284         [C99-based-standards] (SCNu8): Likewise.
52285         [C99-based-standards] (SCNx8): Likewise.
52286         [C99-based-standards] (PRIdLEAST8): Likewise.
52287         [C99-based-standards] (PRIiLEAST8): Likewise.
52288         [C99-based-standards] (PRIoLEAST8): Likewise.
52289         [C99-based-standards] (PRIuLEAST8): Likewise.
52290         [C99-based-standards] (PRIxLEAST8): Likewise.
52291         [C99-based-standards] (PRIXLEAST8): Likewise.
52292         [C99-based-standards] (SCNdLEAST8): Likewise.
52293         [C99-based-standards] (SCNiLEAST8): Likewise.
52294         [C99-based-standards] (SCNoLEAST8): Likewise.
52295         [C99-based-standards] (SCNuLEAST8): Likewise.
52296         [C99-based-standards] (SCNxLEAST8): Likewise.
52297         [C99-based-standards] (PRIdFAST8): Likewise.
52298         [C99-based-standards] (PRIiFAST8): Likewise.
52299         [C99-based-standards] (PRIoFAST8): Likewise.
52300         [C99-based-standards] (PRIuFAST8): Likewise.
52301         [C99-based-standards] (PRIxFAST8): Likewise.
52302         [C99-based-standards] (PRIXFAST8): Likewise.
52303         [C99-based-standards] (SCNdFAST8): Likewise.
52304         [C99-based-standards] (SCNiFAST8): Likewise.
52305         [C99-based-standards] (SCNoFAST8): Likewise.
52306         [C99-based-standards] (SCNuFAST8): Likewise.
52307         [C99-based-standards] (SCNxFAST8): Likewise.
52308         [C99-based-standards] (PRId16): Likewise.
52309         [C99-based-standards] (PRIi16): Likewise.
52310         [C99-based-standards] (PRIo16): Likewise.
52311         [C99-based-standards] (PRIu16): Likewise.
52312         [C99-based-standards] (PRIx16): Likewise.
52313         [C99-based-standards] (PRIX16): Likewise.
52314         [C99-based-standards] (SCNd16): Likewise.
52315         [C99-based-standards] (SCNi16): Likewise.
52316         [C99-based-standards] (SCNo16): Likewise.
52317         [C99-based-standards] (SCNu16): Likewise.
52318         [C99-based-standards] (SCNx16): Likewise.
52319         [C99-based-standards] (PRIdLEAST16): Likewise.
52320         [C99-based-standards] (PRIiLEAST16): Likewise.
52321         [C99-based-standards] (PRIoLEAST16): Likewise.
52322         [C99-based-standards] (PRIuLEAST16): Likewise.
52323         [C99-based-standards] (PRIxLEAST16): Likewise.
52324         [C99-based-standards] (PRIXLEAST16): Likewise.
52325         [C99-based-standards] (SCNdLEAST16): Likewise.
52326         [C99-based-standards] (SCNiLEAST16): Likewise.
52327         [C99-based-standards] (SCNoLEAST16): Likewise.
52328         [C99-based-standards] (SCNuLEAST16): Likewise.
52329         [C99-based-standards] (SCNxLEAST16): Likewise.
52330         [C99-based-standards] (PRIdFAST16): Likewise.
52331         [C99-based-standards] (PRIiFAST16): Likewise.
52332         [C99-based-standards] (PRIoFAST16): Likewise.
52333         [C99-based-standards] (PRIuFAST16): Likewise.
52334         [C99-based-standards] (PRIxFAST16): Likewise.
52335         [C99-based-standards] (PRIXFAST16): Likewise.
52336         [C99-based-standards] (SCNdFAST16): Likewise.
52337         [C99-based-standards] (SCNiFAST16): Likewise.
52338         [C99-based-standards] (SCNoFAST16): Likewise.
52339         [C99-based-standards] (SCNuFAST16): Likewise.
52340         [C99-based-standards] (SCNxFAST16): Likewise.
52341         [C99-based-standards] (PRId32): Likewise.
52342         [C99-based-standards] (PRIi32): Likewise.
52343         [C99-based-standards] (PRIo32): Likewise.
52344         [C99-based-standards] (PRIu32): Likewise.
52345         [C99-based-standards] (PRIx32): Likewise.
52346         [C99-based-standards] (PRIX32): Likewise.
52347         [C99-based-standards] (SCNd32): Likewise.
52348         [C99-based-standards] (SCNi32): Likewise.
52349         [C99-based-standards] (SCNo32): Likewise.
52350         [C99-based-standards] (SCNu32): Likewise.
52351         [C99-based-standards] (SCNx32): Likewise.
52352         [C99-based-standards] (PRIdLEAST32): Likewise.
52353         [C99-based-standards] (PRIiLEAST32): Likewise.
52354         [C99-based-standards] (PRIoLEAST32): Likewise.
52355         [C99-based-standards] (PRIuLEAST32): Likewise.
52356         [C99-based-standards] (PRIxLEAST32): Likewise.
52357         [C99-based-standards] (PRIXLEAST32): Likewise.
52358         [C99-based-standards] (SCNdLEAST32): Likewise.
52359         [C99-based-standards] (SCNiLEAST32): Likewise.
52360         [C99-based-standards] (SCNoLEAST32): Likewise.
52361         [C99-based-standards] (SCNuLEAST32): Likewise.
52362         [C99-based-standards] (SCNxLEAST32): Likewise.
52363         [C99-based-standards] (PRIdFAST32): Likewise.
52364         [C99-based-standards] (PRIiFAST32): Likewise.
52365         [C99-based-standards] (PRIoFAST32): Likewise.
52366         [C99-based-standards] (PRIuFAST32): Likewise.
52367         [C99-based-standards] (PRIxFAST32): Likewise.
52368         [C99-based-standards] (PRIXFAST32): Likewise.
52369         [C99-based-standards] (SCNdFAST32): Likewise.
52370         [C99-based-standards] (SCNiFAST32): Likewise.
52371         [C99-based-standards] (SCNoFAST32): Likewise.
52372         [C99-based-standards] (SCNuFAST32): Likewise.
52373         [C99-based-standards] (SCNxFAST32): Likewise.
52374         [C99-based-standards] (PRId64): Likewise.
52375         [C99-based-standards] (PRIi64): Likewise.
52376         [C99-based-standards] (PRIo64): Likewise.
52377         [C99-based-standards] (PRIu64): Likewise.
52378         [C99-based-standards] (PRIx64): Likewise.
52379         [C99-based-standards] (PRIX64): Likewise.
52380         [C99-based-standards] (SCNd64): Likewise.
52381         [C99-based-standards] (SCNi64): Likewise.
52382         [C99-based-standards] (SCNo64): Likewise.
52383         [C99-based-standards] (SCNu64): Likewise.
52384         [C99-based-standards] (SCNx64): Likewise.
52385         [C99-based-standards] (PRIdLEAST64): Likewise.
52386         [C99-based-standards] (PRIiLEAST64): Likewise.
52387         [C99-based-standards] (PRIoLEAST64): Likewise.
52388         [C99-based-standards] (PRIuLEAST64): Likewise.
52389         [C99-based-standards] (PRIxLEAST64): Likewise.
52390         [C99-based-standards] (PRIXLEAST64): Likewise.
52391         [C99-based-standards] (SCNdLEAST64): Likewise.
52392         [C99-based-standards] (SCNiLEAST64): Likewise.
52393         [C99-based-standards] (SCNoLEAST64): Likewise.
52394         [C99-based-standards] (SCNuLEAST64): Likewise.
52395         [C99-based-standards] (SCNxLEAST64): Likewise.
52396         [C99-based-standards] (PRIdFAST64): Likewise.
52397         [C99-based-standards] (PRIiFAST64): Likewise.
52398         [C99-based-standards] (PRIoFAST64): Likewise.
52399         [C99-based-standards] (PRIuFAST64): Likewise.
52400         [C99-based-standards] (PRIxFAST64): Likewise.
52401         [C99-based-standards] (PRIXFAST64): Likewise.
52402         [C99-based-standards] (SCNdFAST64): Likewise.
52403         [C99-based-standards] (SCNiFAST64): Likewise.
52404         [C99-based-standards] (SCNoFAST64): Likewise.
52405         [C99-based-standards] (SCNuFAST64): Likewise.
52406         [C99-based-standards] (SCNxFAST64): Likewise.
52407         [C99-based-standards] (PRIdMAX): Likewise.
52408         [C99-based-standards] (PRIiMAX): Likewise.
52409         [C99-based-standards] (PRIoMAX): Likewise.
52410         [C99-based-standards] (PRIuMAX): Likewise.
52411         [C99-based-standards] (PRIxMAX): Likewise.
52412         [C99-based-standards] (PRIXMAX): Likewise.
52413         [C99-based-standards] (SCNdMAX): Likewise.
52414         [C99-based-standards] (SCNiMAX): Likewise.
52415         [C99-based-standards] (SCNoMAX): Likewise.
52416         [C99-based-standards] (SCNuMAX): Likewise.
52417         [C99-based-standards] (SCNxMAX): Likewise.
52418         [C99-based-standards] (PRIdPTR): Likewise.
52419         [C99-based-standards] (PRIiPTR): Likewise.
52420         [C99-based-standards] (PRIoPTR): Likewise.
52421         [C99-based-standards] (PRIuPTR): Likewise.
52422         [C99-based-standards] (PRIxPTR): Likewise.
52423         [C99-based-standards] (PRIXPTR): Likewise.
52424         [C99-based-standards] (SCNdPTR): Likewise.
52425         [C99-based-standards] (SCNiPTR): Likewise.
52426         [C99-based-standards] (SCNoPTR): Likewise.
52427         [C99-based-standards] (SCNuPTR): Likewise.
52428         [C99-based-standards] (SCNxPTR): Likewise.
52429         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
52430         allow.
52431         * conform/data/stdint.h-data: Update comments to clarify
52432         requirements.
52433         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
52434         type.
52435         [C99-based standards] (INT8_MAX): Likewise.
52436         [C99-based standards] (INT16_MIN): Likewise.
52437         [C99-based standards] (INT16_MAX): Likewise.
52438         [C99-based standards] (INT32_MIN): Likewise.
52439         [C99-based standards] (INT32_MAX): Likewise.
52440         [C99-based standards] (INT64_MIN): Likewise.
52441         [C99-based standards] (INT64_MAX): Likewise.
52442         [C99-based standards] (UINT8_MAX): Likewise.
52443         [C99-based standards] (UINT16_MAX): Likewise.
52444         [C99-based standards] (UINT32_MAX): Likewise.
52445         [C99-based standards] (UINT64_MAX): Likewise.
52446         [C99-based standards] (INT_LEAST8_MIN): Likewise.
52447         [C99-based standards] (INT_LEAST8_MAX): Likewise.
52448         [C99-based standards] (INT_LEAST16_MIN): Likewise.
52449         [C99-based standards] (INT_LEAST16_MAX): Likewise.
52450         [C99-based standards] (INT_LEAST32_MIN): Likewise.
52451         [C99-based standards] (INT_LEAST32_MAX): Likewise.
52452         [C99-based standards] (INT_LEAST64_MIN): Likewise.
52453         [C99-based standards] (INT_LEAST64_MAX): Likewise.
52454         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
52455         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
52456         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
52457         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
52458         [C99-based standards] (INT_FAST8_MIN): Likewise.
52459         [C99-based standards] (INT_FAST8_MAX): Likewise.
52460         [C99-based standards] (INT_FAST16_MIN): Likewise.
52461         [C99-based standards] (INT_FAST16_MAX): Likewise.
52462         [C99-based standards] (INT_FAST32_MIN): Likewise.
52463         [C99-based standards] (INT_FAST32_MAX): Likewise.
52464         [C99-based standards] (INT_FAST64_MIN): Likewise.
52465         [C99-based standards] (INT_FAST64_MAX): Likewise.
52466         [C99-based standards] (UINT_FAST8_MAX): Likewise.
52467         [C99-based standards] (UINT_FAST16_MAX): Likewise.
52468         [C99-based standards] (UINT_FAST32_MAX): Likewise.
52469         [C99-based standards] (UINT_FAST64_MAX): Likewise.
52470         [C99-based standards] (INTPTR_MIN): Likewise.
52471         [C99-based standards] (INTPTR_MAX): Likewise.
52472         [C99-based standards] (UINTPTR_MAX): Likewise.
52473         [C99-based standards] (INTMAX_MIN): Likewise.
52474         [C99-based standards] (INTMAX_MAX): Likewise.
52475         [C99-based standards] (UINTMAX_MAX): Likewise.
52476         [C99-based standards] (PTRDIFF_MIN): Likewise.
52477         [C99-based standards] (PTRDIFF_MAX): Likewise.
52478         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
52479         [C99-based standards] (SIZE_MAX): Likewise.
52480         [C99-based standards] (WCHAR_MAX): Likewise.
52481         [C99-based standards] (WINT_MAX): Likewise.
52482         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
52483         constraint on value.
52484         [C99-based standards] (WCHAR_MIN): Likewise.
52485         [C99-based standards] (WINT_MIN): Likewise.
52486         [C99-based standards] (*_t): Allow.
52487         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
52488         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
52489         Include math.h-data and complex.h-data.  Remove all expectations
52490         of math.h and complex.h contents.
52491         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
52492         at end of line.
52493         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
52494         (struct tm): Expect tag.
52495         [C99-based-standards] (wcstof): Expect function.
52496         [C99-based-standards] (wcstold): Likewise.
52497         [C99-based-standards] (wcstoll): Likewise.
52498         [C99-based-standards] (wcstoull): Likewise.
52499         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
52500         macro-int-constant.  Specify type.
52501         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
52502         constraint on value.
52503         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52504         Specify type.
52505         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
52506         Specify value.
52507         [ISO C standards]: Do not allow headers.
52508         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
52509         wcs[abcdefghijklmnopqrstuvwxyz]*.
52510         [ISO C standards] (*_t): Do not allow.
52511         * conform/data/wctype.h-data [C99-based standards] (iswblank):
52512         Expect function.
52513         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
52514         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
52515         Specify type.
52516         [ISO C standards]: Do not allow headers.
52517         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
52518         is[abcdefghijklmnopqrstuvwxyz]*.
52519         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
52520         to[abcdefghijklmnopqrstuvwxyz]*.
52521         [ISO C standards] (*_t): Do not allow.
52522         * conform/data/stdalign.h-data: New file.
52523         * conform/data/stdbool.h-data: Likewise.
52524         * conform/data/stdnoreturn.h-data: Likewise.
52526 2012-11-07  Roland McGrath  <roland@hack.frob.com>
52528         [BZ #14815]
52529         * manual/filesys.texi (Directory Entries): Typo fix.
52530         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
52532 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52534         * elf/elf.h (EM_AARCH64): New macro.
52535         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
52536         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
52537         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
52538         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
52539         (R_AARCH64_TLSDESC): Likewise.
52540         (NT_ARM_TLS): Likewise.
52541         (NT_ARM_HW_BREAK): Likewise.
52542         (NT_ARM_HW_WATCH): Likewise.
52544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52546         [BZ #14811]
52547         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
52548         (__ieee754_powl): Saturate nonzero exponents with absolute value
52549         below 0x1p-79 to +/- 0x1p-79.
52550         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
52551         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
52552         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
52553         nonzero exponents with absolute value below 0x1p-32 to +/-
52554         0x1p-32.
52555         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
52556         (__ieee754_powl): Saturate nonzero exponents with absolute value
52557         below 0x1p-79 to +/- 0x1p-79.
52558         * math/libm-test.inc (pow_test): Add more tests.
52560 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52562         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
52563         _dl_s390_cap_flags with kernel. Increase string length.
52564         (_dl_s390_platforms): Add z196 and zEC12.
52566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52568         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
52569         Change XOPEN21K to XOPEN2K.
52571 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
52573         * string/memmove.c: Use memcpy when possible.
52575 2012-11-06  Andreas Jaeger  <aj@suse.de>
52577         * po/eo.po: Update from translation team.
52579 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
52581         [BZ #14793]
52582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
52583         exponent and small x and y exponents, scale x or y up.  Increase
52584         by 2 the exponent used in scaling up.
52585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52587         * math/libm-test.inc (fma_test): Add more tests.
52588         (fma_test_towardzero): Likewise.
52589         (fma_test_downward): Likewise.
52590         (fma_test_upward): Likewise.
52592 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
52594         [BZ #14805]
52595         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
52596         fenv_t *.
52598         [BZ #14801]
52599         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
52600         namespace for names of struct fields.
52601         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
52602         fenv_t fields.
52603         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
52604         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
52606 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52608         [BZ #3665]
52609         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
52611 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52613         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
52614         PTR_DEMANGLE.
52616         [BZ #5246]
52617         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
52618         PTR_DEMANGLE.
52620 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
52622         [BZ #14797]
52623         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
52624         definitely overflow as x * y not x * y + z.
52625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52627         * math/libm-test.inc (fma_test): Add more tests.
52628         (fma_test_towardzero): Likewise.
52629         (fma_test_downward): Likewise.
52630         (fma_test_upward): Likewise.
52632 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
52634         [BZ #157]
52636         * include/stub-tag.h: Remove file.
52637         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
52638         '#include' of it.
52639         * manual/maint.texi (Porting): Don't reference it.
52640         * Makerules ($(objpfx)stubs): Likewise.
52641         * dirent/closedir.c: Don't include <stub-tag.h>.
52642         * dirent/dirfd.c: Likewise.
52643         * dirent/fdopendir.c: Likewise.
52644         * dirent/getdents.c: Likewise.
52645         * dirent/getdents64.c: Likewise.
52646         * dirent/opendir.c: Likewise.
52647         * dirent/readdir.c: Likewise.
52648         * dirent/readdir64.c: Likewise.
52649         * dirent/readdir64_r.c: Likewise.
52650         * dirent/readdir_r.c: Likewise.
52651         * dirent/rewinddir.c: Likewise.
52652         * dirent/seekdir.c: Likewise.
52653         * dirent/telldir.c: Likewise.
52654         * gmon/profil.c: Likewise.
52655         * grp/setgroups.c: Likewise.
52656         * inet/if_index.c: Likewise.
52657         * io/access.c: Likewise.
52658         * io/chdir.c: Likewise.
52659         * io/chmod.c: Likewise.
52660         * io/chown.c: Likewise.
52661         * io/close.c: Likewise.
52662         * io/dup.c: Likewise.
52663         * io/dup2.c: Likewise.
52664         * io/dup3.c: Likewise.
52665         * io/euidaccess.c: Likewise.
52666         * io/faccessat.c: Likewise.
52667         * io/fchdir.c: Likewise.
52668         * io/fchmod.c: Likewise.
52669         * io/fchmodat.c: Likewise.
52670         * io/fchown.c: Likewise.
52671         * io/fchownat.c: Likewise.
52672         * io/fcntl.c: Likewise.
52673         * io/flock.c: Likewise.
52674         * io/fstatfs.c: Likewise.
52675         * io/fstatfs64.c: Likewise.
52676         * io/fstatvfs.c: Likewise.
52677         * io/fstatvfs64.c: Likewise.
52678         * io/futimens.c: Likewise.
52679         * io/fxstat.c: Likewise.
52680         * io/fxstat64.c: Likewise.
52681         * io/fxstatat.c: Likewise.
52682         * io/fxstatat64.c: Likewise.
52683         * io/getcwd.c: Likewise.
52684         * io/isatty.c: Likewise.
52685         * io/lchmod.c: Likewise.
52686         * io/lchown.c: Likewise.
52687         * io/link.c: Likewise.
52688         * io/linkat.c: Likewise.
52689         * io/lseek.c: Likewise.
52690         * io/lseek64.c: Likewise.
52691         * io/lxstat64.c: Likewise.
52692         * io/mkdir.c: Likewise.
52693         * io/mkdirat.c: Likewise.
52694         * io/mkfifo.c: Likewise.
52695         * io/mkfifoat.c: Likewise.
52696         * io/open.c: Likewise.
52697         * io/open64.c: Likewise.
52698         * io/openat.c: Likewise.
52699         * io/openat64.c: Likewise.
52700         * io/pipe.c: Likewise.
52701         * io/pipe2.c: Likewise.
52702         * io/poll.c: Likewise.
52703         * io/posix_fadvise.c: Likewise.
52704         * io/posix_fadvise64.c: Likewise.
52705         * io/posix_fallocate.c: Likewise.
52706         * io/posix_fallocate64.c: Likewise.
52707         * io/read.c: Likewise.
52708         * io/readlink.c: Likewise.
52709         * io/readlinkat.c: Likewise.
52710         * io/rmdir.c: Likewise.
52711         * io/sendfile.c: Likewise.
52712         * io/sendfile64.c: Likewise.
52713         * io/statfs.c: Likewise.
52714         * io/statfs64.c: Likewise.
52715         * io/statvfs.c: Likewise.
52716         * io/statvfs64.c: Likewise.
52717         * io/symlink.c: Likewise.
52718         * io/symlinkat.c: Likewise.
52719         * io/ttyname.c: Likewise.
52720         * io/ttyname_r.c: Likewise.
52721         * io/umask.c: Likewise.
52722         * io/unlink.c: Likewise.
52723         * io/unlinkat.c: Likewise.
52724         * io/utime.c: Likewise.
52725         * io/utimensat.c: Likewise.
52726         * io/write.c: Likewise.
52727         * io/xmknod.c: Likewise.
52728         * io/xmknodat.c: Likewise.
52729         * io/xstat.c: Likewise.
52730         * io/xstat64.c: Likewise.
52731         * login/getpt.c: Likewise.
52732         * login/grantpt.c: Likewise.
52733         * login/unlockpt.c: Likewise.
52734         * math/e_acoshl.c: Likewise.
52735         * math/e_acosl.c: Likewise.
52736         * math/e_asinl.c: Likewise.
52737         * math/e_atan2l.c: Likewise.
52738         * math/e_atanhl.c: Likewise.
52739         * math/e_coshl.c: Likewise.
52740         * math/e_expl.c: Likewise.
52741         * math/e_fmodl.c: Likewise.
52742         * math/e_gammal_r.c: Likewise.
52743         * math/e_hypotl.c: Likewise.
52744         * math/e_j0l.c: Likewise.
52745         * math/e_j1l.c: Likewise.
52746         * math/e_jnl.c: Likewise.
52747         * math/e_lgammal_r.c: Likewise.
52748         * math/e_log10l.c: Likewise.
52749         * math/e_log2l.c: Likewise.
52750         * math/e_logl.c: Likewise.
52751         * math/e_powl.c: Likewise.
52752         * math/e_rem_pio2l.c: Likewise.
52753         * math/e_sinhl.c: Likewise.
52754         * math/e_sqrtl.c: Likewise.
52755         * math/fclrexcpt.c: Likewise.
52756         * math/fedisblxcpt.c: Likewise.
52757         * math/feenablxcpt.c: Likewise.
52758         * math/fegetenv.c: Likewise.
52759         * math/fegetexcept.c: Likewise.
52760         * math/fegetround.c: Likewise.
52761         * math/feholdexcpt.c: Likewise.
52762         * math/fesetenv.c: Likewise.
52763         * math/fesetround.c: Likewise.
52764         * math/feupdateenv.c: Likewise.
52765         * math/fgetexcptflg.c: Likewise.
52766         * math/fraiseexcpt.c: Likewise.
52767         * math/fsetexcptflg.c: Likewise.
52768         * math/ftestexcept.c: Likewise.
52769         * math/k_cosl.c: Likewise.
52770         * math/k_rem_pio2l.c: Likewise.
52771         * math/k_sinl.c: Likewise.
52772         * math/k_tanl.c: Likewise.
52773         * math/s_asinhl.c: Likewise.
52774         * math/s_atanl.c: Likewise.
52775         * math/s_cbrtl.c: Likewise.
52776         * math/s_erfl.c: Likewise.
52777         * math/s_expm1l.c: Likewise.
52778         * math/s_log1pl.c: Likewise.
52779         * math/s_tanhl.c: Likewise.
52780         * misc/acct.c: Likewise.
52781         * misc/brk.c: Likewise.
52782         * misc/chflags.c: Likewise.
52783         * misc/chroot.c: Likewise.
52784         * misc/fchflags.c: Likewise.
52785         * misc/fgetxattr.c: Likewise.
52786         * misc/flistxattr.c: Likewise.
52787         * misc/fremovexattr.c: Likewise.
52788         * misc/fsetxattr.c: Likewise.
52789         * misc/fsync.c: Likewise.
52790         * misc/ftruncate.c: Likewise.
52791         * misc/futimes.c: Likewise.
52792         * misc/futimesat.c: Likewise.
52793         * misc/getdomain.c: Likewise.
52794         * misc/getdtsz.c: Likewise.
52795         * misc/gethostid.c: Likewise.
52796         * misc/gethostname.c: Likewise.
52797         * misc/getloadavg.c: Likewise.
52798         * misc/getpagesize.c: Likewise.
52799         * misc/getsysstats.c: Likewise.
52800         * misc/getxattr.c: Likewise.
52801         * misc/gtty.c: Likewise.
52802         * misc/ioctl.c: Likewise.
52803         * misc/lgetxattr.c: Likewise.
52804         * misc/listxattr.c: Likewise.
52805         * misc/llistxattr.c: Likewise.
52806         * misc/lremovexattr.c: Likewise.
52807         * misc/lsetxattr.c: Likewise.
52808         * misc/lutimes.c: Likewise.
52809         * misc/madvise.c: Likewise.
52810         * misc/mincore.c: Likewise.
52811         * misc/mlock.c: Likewise.
52812         * misc/mlockall.c: Likewise.
52813         * misc/mmap.c: Likewise.
52814         * misc/mprotect.c: Likewise.
52815         * misc/msync.c: Likewise.
52816         * misc/munlock.c: Likewise.
52817         * misc/munlockall.c: Likewise.
52818         * misc/munmap.c: Likewise.
52819         * misc/preadv.c: Likewise.
52820         * misc/preadv64.c: Likewise.
52821         * misc/ptrace.c: Likewise.
52822         * misc/pwritev.c: Likewise.
52823         * misc/pwritev64.c: Likewise.
52824         * misc/readv.c: Likewise.
52825         * misc/reboot.c: Likewise.
52826         * misc/remap_file_pages.c: Likewise.
52827         * misc/removexattr.c: Likewise.
52828         * misc/revoke.c: Likewise.
52829         * misc/select.c: Likewise.
52830         * misc/setdomain.c: Likewise.
52831         * misc/setegid.c: Likewise.
52832         * misc/seteuid.c: Likewise.
52833         * misc/sethostid.c: Likewise.
52834         * misc/sethostname.c: Likewise.
52835         * misc/setregid.c: Likewise.
52836         * misc/setreuid.c: Likewise.
52837         * misc/setxattr.c: Likewise.
52838         * misc/sstk.c: Likewise.
52839         * misc/stty.c: Likewise.
52840         * misc/swapoff.c: Likewise.
52841         * misc/swapon.c: Likewise.
52842         * misc/sync.c: Likewise.
52843         * misc/syncfs.c: Likewise.
52844         * misc/syscall.c: Likewise.
52845         * misc/truncate.c: Likewise.
52846         * misc/ualarm.c: Likewise.
52847         * misc/usleep.c: Likewise.
52848         * misc/ustat.c: Likewise.
52849         * misc/utimes.c: Likewise.
52850         * misc/vhangup.c: Likewise.
52851         * misc/writev.c: Likewise.
52852         * posix/_exit.c: Likewise.
52853         * posix/alarm.c: Likewise.
52854         * posix/execve.c: Likewise.
52855         * posix/fexecve.c: Likewise.
52856         * posix/fork.c: Likewise.
52857         * posix/fpathconf.c: Likewise.
52858         * posix/getaddrinfo.c: Likewise.
52859         * posix/getegid.c: Likewise.
52860         * posix/geteuid.c: Likewise.
52861         * posix/getgid.c: Likewise.
52862         * posix/getgroups.c: Likewise.
52863         * posix/getlogin.c: Likewise.
52864         * posix/getlogin_r.c: Likewise.
52865         * posix/getpgid.c: Likewise.
52866         * posix/getpid.c: Likewise.
52867         * posix/getppid.c: Likewise.
52868         * posix/getresgid.c: Likewise.
52869         * posix/getresuid.c: Likewise.
52870         * posix/getsid.c: Likewise.
52871         * posix/getuid.c: Likewise.
52872         * posix/glob64.c: Likewise.
52873         * posix/nanosleep.c: Likewise.
52874         * posix/pathconf.c: Likewise.
52875         * posix/pause.c: Likewise.
52876         * posix/posix_madvise.c: Likewise.
52877         * posix/pread.c: Likewise.
52878         * posix/pread64.c: Likewise.
52879         * posix/pwrite.c: Likewise.
52880         * posix/pwrite64.c: Likewise.
52881         * posix/sched_getaffinity.c: Likewise.
52882         * posix/sched_getp.c: Likewise.
52883         * posix/sched_gets.c: Likewise.
52884         * posix/sched_primax.c: Likewise.
52885         * posix/sched_primin.c: Likewise.
52886         * posix/sched_rr_gi.c: Likewise.
52887         * posix/sched_setaffinity.c: Likewise.
52888         * posix/sched_setp.c: Likewise.
52889         * posix/sched_sets.c: Likewise.
52890         * posix/sched_yield.c: Likewise.
52891         * posix/setgid.c: Likewise.
52892         * posix/setlogin.c: Likewise.
52893         * posix/setpgid.c: Likewise.
52894         * posix/setresgid.c: Likewise.
52895         * posix/setresuid.c: Likewise.
52896         * posix/setsid.c: Likewise.
52897         * posix/setuid.c: Likewise.
52898         * posix/sleep.c: Likewise.
52899         * posix/spawni.c: Likewise.
52900         * posix/sysconf.c: Likewise.
52901         * posix/times.c: Likewise.
52902         * posix/wait.c: Likewise.
52903         * posix/wait3.c: Likewise.
52904         * posix/wait4.c: Likewise.
52905         * posix/waitpid.c: Likewise.
52906         * resolv/gai_sigqueue.c: Likewise.
52907         * resource/getpriority.c: Likewise.
52908         * resource/getrlimit.c: Likewise.
52909         * resource/getrusage.c: Likewise.
52910         * resource/nice.c: Likewise.
52911         * resource/setpriority.c: Likewise.
52912         * resource/setrlimit.c: Likewise.
52913         * resource/ulimit.c: Likewise.
52914         * rt/aio_cancel.c: Likewise.
52915         * rt/aio_fsync.c: Likewise.
52916         * rt/aio_read.c: Likewise.
52917         * rt/aio_sigqueue.c: Likewise.
52918         * rt/aio_suspend.c: Likewise.
52919         * rt/aio_write.c: Likewise.
52920         * rt/clock_getres.c: Likewise.
52921         * rt/clock_gettime.c: Likewise.
52922         * rt/clock_nanosleep.c: Likewise.
52923         * rt/clock_settime.c: Likewise.
52924         * rt/lio_listio.c: Likewise.
52925         * rt/mq_close.c: Likewise.
52926         * rt/mq_getattr.c: Likewise.
52927         * rt/mq_notify.c: Likewise.
52928         * rt/mq_open.c: Likewise.
52929         * rt/mq_receive.c: Likewise.
52930         * rt/mq_send.c: Likewise.
52931         * rt/mq_setattr.c: Likewise.
52932         * rt/mq_timedreceive.c: Likewise.
52933         * rt/mq_timedsend.c: Likewise.
52934         * rt/mq_unlink.c: Likewise.
52935         * rt/shm_open.c: Likewise.
52936         * rt/shm_unlink.c: Likewise.
52937         * rt/timer_create.c: Likewise.
52938         * rt/timer_delete.c: Likewise.
52939         * rt/timer_getoverr.c: Likewise.
52940         * rt/timer_gettime.c: Likewise.
52941         * rt/timer_settime.c: Likewise.
52942         * setjmp/__longjmp.c: Likewise.
52943         * setjmp/setjmp.c: Likewise.
52944         * signal/kill.c: Likewise.
52945         * signal/killpg.c: Likewise.
52946         * signal/raise.c: Likewise.
52947         * signal/sigaction.c: Likewise.
52948         * signal/sigaltstack.c: Likewise.
52949         * signal/sigblock.c: Likewise.
52950         * signal/sigignore.c: Likewise.
52951         * signal/sigintr.c: Likewise.
52952         * signal/signal.c: Likewise.
52953         * signal/sigpause.c: Likewise.
52954         * signal/sigpending.c: Likewise.
52955         * signal/sigqueue.c: Likewise.
52956         * signal/sigreturn.c: Likewise.
52957         * signal/sigset.c: Likewise.
52958         * signal/sigsetmask.c: Likewise.
52959         * signal/sigstack.c: Likewise.
52960         * signal/sigsuspend.c: Likewise.
52961         * signal/sigtimedwait.c: Likewise.
52962         * signal/sigvec.c: Likewise.
52963         * signal/sigwait.c: Likewise.
52964         * signal/sigwaitinfo.c: Likewise.
52965         * signal/sysv_signal.c: Likewise.
52966         * socket/accept.c: Likewise.
52967         * socket/accept4.c: Likewise.
52968         * socket/bind.c: Likewise.
52969         * socket/connect.c: Likewise.
52970         * socket/getpeername.c: Likewise.
52971         * socket/getsockname.c: Likewise.
52972         * socket/getsockopt.c: Likewise.
52973         * socket/isfdtype.c: Likewise.
52974         * socket/listen.c: Likewise.
52975         * socket/recv.c: Likewise.
52976         * socket/recvfrom.c: Likewise.
52977         * socket/recvmsg.c: Likewise.
52978         * socket/send.c: Likewise.
52979         * socket/sendmsg.c: Likewise.
52980         * socket/sendto.c: Likewise.
52981         * socket/setsockopt.c: Likewise.
52982         * socket/shutdown.c: Likewise.
52983         * socket/sockatmark.c: Likewise.
52984         * socket/socket.c: Likewise.
52985         * socket/socketpair.c: Likewise.
52986         * stdio-common/ctermid.c: Likewise.
52987         * stdio-common/cuserid.c: Likewise.
52988         * stdio-common/remove.c: Likewise.
52989         * stdio-common/rename.c: Likewise.
52990         * stdio-common/renameat.c: Likewise.
52991         * stdio-common/tempname.c: Likewise.
52992         * stdlib/getcontext.c: Likewise.
52993         * stdlib/makecontext.c: Likewise.
52994         * stdlib/setcontext.c: Likewise.
52995         * stdlib/swapcontext.c: Likewise.
52996         * stdlib/system.c: Likewise.
52997         * streams/fattach.c: Likewise.
52998         * streams/fdetach.c: Likewise.
52999         * streams/getmsg.c: Likewise.
53000         * streams/getpmsg.c: Likewise.
53001         * streams/putmsg.c: Likewise.
53002         * streams/putpmsg.c: Likewise.
53003         * sysdeps/unix/bsd/getpt.c: Likewise.
53004         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53005         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53006         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53008         Likewise.
53009         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53010         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53011         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53012         * sysvipc/msgctl.c: Likewise.
53013         * sysvipc/msgget.c: Likewise.
53014         * sysvipc/msgrcv.c: Likewise.
53015         * sysvipc/msgsnd.c: Likewise.
53016         * sysvipc/semctl.c: Likewise.
53017         * sysvipc/semget.c: Likewise.
53018         * sysvipc/semop.c: Likewise.
53019         * sysvipc/semtimedop.c: Likewise.
53020         * sysvipc/shmat.c: Likewise.
53021         * sysvipc/shmctl.c: Likewise.
53022         * sysvipc/shmdt.c: Likewise.
53023         * sysvipc/shmget.c: Likewise.
53024         * termios/tcdrain.c: Likewise.
53025         * termios/tcflow.c: Likewise.
53026         * termios/tcflush.c: Likewise.
53027         * termios/tcgetattr.c: Likewise.
53028         * termios/tcgetpgrp.c: Likewise.
53029         * termios/tcsendbrk.c: Likewise.
53030         * termios/tcsetattr.c: Likewise.
53031         * termios/tcsetpgrp.c: Likewise.
53032         * time/adjtime.c: Likewise.
53033         * time/clock.c: Likewise.
53034         * time/getitimer.c: Likewise.
53035         * time/gettimeofday.c: Likewise.
53036         * time/setitimer.c: Likewise.
53037         * time/settimeofday.c: Likewise.
53038         * time/stime.c: Likewise.
53039         * time/time.c: Likewise.
53041 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53043         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53044         /usr/old/bin.
53046         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53047         instead of spaces.
53048         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53050 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53052         [BZ #14796]
53053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53054         FE_TONEAREST before applying Dekker multiplication and Knuth
53055         addition.  Clear inexact exceptions and check for exact zero
53056         results afterwards.
53057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53058         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53060         * math/libm-test.inc (fma_test): Add more tests.
53061         (fma_test_towardzero): Likewise.
53062         (fma_test_downward): Likewise.
53063         (fma_test_upward): Likewise.
53064         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53065         function.
53066         (libc_fesetround): New macro.
53067         (libc_fesetroundf): Likewise.
53068         (libc_fesetroundl): Likewise.
53069         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53070         function.
53071         (libc_fesetround_387): Likewise.
53072         (libc_fesetroundf): New macro.
53073         (libc_fesetround): Likewise.
53074         (libc_fesetroundl): Likewise.
53075         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53076         function.
53077         (libc_fesetroundf): New macro.
53078         (libc_fesetround): Likewise.
53079         (libc_fesetroundl): Likewise.
53080         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53081         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53082         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53083         libm_hidden_ver.
53084         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53085         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53086         libm_hidden_def.
53087         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53088         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53089         libm_hidden_ver.
53090         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53091         libm_hidden_def.
53093         [BZ #3439]
53094         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53095         integer constant usable in #if and use that to give value to enum
53096         constant.
53097         (FE_DIVBYZERO): Likewise.
53098         (FE_UNDERFLOW): Likewise.
53099         (FE_OVERFLOW): Likewise.
53100         (FE_INVALID): Likewise.
53101         (FE_INVALID_SNAN): Likewise.
53102         (FE_INVALID_ISI): Likewise.
53103         (FE_INVALID_IDI): Likewise.
53104         (FE_INVALID_ZDZ): Likewise.
53105         (FE_INVALID_IMZ): Likewise.
53106         (FE_INVALID_COMPARE): Likewise.
53107         (FE_INVALID_SOFTWARE): Likewise.
53108         (FE_INVALID_SQRT): Likewise.
53109         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53110         (FE_TONEAREST): Likewise.
53111         (FE_TOWARDZERO): Likewise.
53112         (FE_UPWARD): Likewise.
53113         (FE_DOWNWARD): Likewise.
53114         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53115         (FE_DIVBYZERO): Likewise.
53116         (FE_OVERFLOW): Likewise.
53117         (FE_UNDERFLOW): Likewise.
53118         (FE_INEXACT): Likewise.
53119         (FE_TONEAREST): Likewise.
53120         (FE_DOWNWARD): Likewise.
53121         (FE_UPWARD): Likewise.
53122         (FE_TOWARDZERO): Likewise.
53123         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53124         (FE_UNDERFLOW): Likewise.
53125         (FE_OVERFLOW): Likewise.
53126         (FE_DIVBYZERO): Likewise.
53127         (FE_INVALID): Likewise.
53128         (FE_TONEAREST): Likewise.
53129         (FE_TOWARDZERO): Likewise.
53130         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53131         (FE_OVERFLOW): Likewise.
53132         (FE_UNDERFLOW): Likewise.
53133         (FE_DIVBYZERO): Likewise.
53134         (FE_INEXACT): Likewise.
53135         (FE_TONEAREST): Likewise.
53136         (FE_TOWARDZERO): Likewise.
53137         (FE_UPWARD): Likewise.
53138         (FE_DOWNWARD): Likewise.
53139         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53140         (FE_DIVBYZERO): Likewise.
53141         (FE_OVERFLOW): Likewise.
53142         (FE_UNDERFLOW): Likewise.
53143         (FE_INEXACT): Likewise.
53144         (FE_TONEAREST): Likewise.
53145         (FE_DOWNWARD): Likewise.
53146         (FE_UPWARD): Likewise.
53147         (FE_TOWARDZERO): Likewise.
53149 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53151         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53153 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53155         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53156         commands.  Quote $PWD.
53157         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53158         -x" by "export".
53159         (remove_newlines): Remove.
53161 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53163         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53164         * stdlib/stdlib.h (atof): Moved to ...
53165         * include/bits/stdlib-float.h: Here.  New file.
53166         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53167         * stdlib/bits/stdlib-float.h: New file.
53168         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53169         -mno-sse -mno-mmx.
53170         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53171         <xmmintrin.h>.
53173 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53175         * conform/conformtest.pl (@headers): Add fenv.h.
53176         * conform/data/fenv.h-data: New file.
53177         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53178         include of <math/fenv.h>.
53180         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53181         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53182         && !UNIX98].  Enables tests for XOPEN2K8.
53183         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53184         POSIX2008]: Likewise.
53186         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53187         (struct rusage): Do not expect type or its members.
53189         [BZ #3439]
53190         * math/math.h (FP_NAN): Define macro to integer constant usable in
53191         #if and use that to give value to enum constant.
53192         (FP_INFINITE): Likewise.
53193         (FP_ZERO): Likewise.
53194         (FP_SUBNORMAL): Likewise.
53195         (FP_NORMAL): Likewise.
53197 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53199         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53200         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53201         arguments.
53203 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53205         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53206         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53207         autoconf-time if not.
53208         * configure.in: Remove AC_PREREQ.
53210 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53212         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53213         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53214         of the internal implementation.
53216 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53218         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53219         except include of <misc/sys/syslog.h>.
53221 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53224         function returns with a NULL context exit with zero.
53226 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53228         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53230 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53232         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53233         (run_program_cmd): This.
53234         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53235         (tst_langinfo): New variable.  Use it.
53237 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53239         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53240         floating point opcodes.
53242 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53244         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53245         variable.
53247         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53249         * sysdeps/mach/hurd/powerpc: Remove directory.
53250         * sysdeps/mach/powerpc: Likewise.
53252 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53254         * scripts/check-local-headers.sh: Ignore c++ headers.
53256 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53258         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53259         __libc_cleanup_region_start argument.
53261 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53263         [BZ #14784]
53264         [BZ #14785]
53265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53266         x * y using scaling, not as x * y + z.
53267         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53268         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53269         * math/libm-test.inc (fma_test): Add more tests.
53270         (fma_test_towardzero): Likewise.
53271         (fma_test_downward): Likewise.
53272         (fma_test_upward): Likewise.
53274 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53276         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53278 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53280         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53281         New variable.
53283 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53285         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53287 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53290         Fix sort order.
53291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53292         Likewise.
53294 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53297         Fix the order of the list for glibc 2.17.
53298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53299         Likewise.
53301 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53305 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53307         [BZ #14610]
53308         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53309         for low part of x being zero before using __atanl (y).
53310         * math/libm-test.inc (atan2_test): Add another test.
53312         * manual/install.texi (Configuring and compiling): Document
53313         general use of test-wrapper and test-wrapper-env.
53314         * INSTALL: Regenerated.
53316         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53317         (__fma): Do not extract and scale down low bits on after-rounding
53318         systems when result rounded to normal precision would have normal
53319         exponent.
53320         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53321         (__fmal): Do not extract and scale down low bits on after-rounding
53322         systems when result rounded to normal precision would have normal
53323         exponent.
53324         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
53325         (__fmal): Do not extract and scale down low bits on after-rounding
53326         systems when result rounded to normal precision would have normal
53327         exponent.
53328         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
53329         macro.
53330         (fma_test): Add more tests.
53331         (fma_test_towardzero): Likewise.
53332         (fma_test_downward): Likewise.
53333         (fma_test_upward): Likewise.
53335 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
53337         * sysdeps/i386/tininess.h: Renamed to ...
53338         * sysdeps/x86/tininess.h: This.
53339         * sysdeps/x86_64/tininess.h: Removed.
53341 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53343         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
53344         input.  Use $(build-program-cmd).
53345         ($(objpfx)tst-array1-static.out): Likewise.
53346         ($(objpfx)tst-array2.out): Likewise.
53347         ($(objpfx)tst-array3.out): Likewise.
53348         ($(objpfx)tst-array4.out): Likewise.
53349         ($(objpfx)tst-array5.out): Likewise.
53350         ($(objpfx)tst-array5-static.out): Likewise.
53352 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
53354         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
53355         if defined.
53357         * nss/nsswitch.h (nss_interface_function): Provide new
53358         macro for use with NSS functions.
53359         * grp/initgroups.c: Use new macro.
53360         * nss/getXXbyYY.c: Likewise.
53361         * nss/getXXbyYY_r.c: Likewise.
53362         * nss/getXXent.c: Likewise.
53363         * nss/getXXent_r.c: Likewise.
53364         * sysdeps/posix/getaddrinfo.c: Likewise.
53366 2012-10-30  Andreas Jaeger  <aj@suse.de>
53368         * po/ru.po: Update Russion translation from translation project.
53370 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
53372         [BZ #14152]
53373         [BZ #14783]
53374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
53375         result and shift together with sticky bit instead of replicating
53376         round-to-nearest rounding.
53377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53378         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53379         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
53380         missing underflow exceptions.
53381         (fma_test_towardzero): Add more tests.
53382         (fma_test_downward): Likewise.
53383         (fma_test_upward): Likewise.
53385         [BZ #14047]
53386         * sysdeps/generic/tininess.h: New file.
53387         * sysdeps/i386/tininess.h: Likewise.
53388         * sysdeps/sh/tininess.h: Likewise.
53389         * sysdeps/x86_64/tininess.h: Likewise.
53390         * stdlib/tst-strtod-underflow.c: Likewise.
53391         * stdlib/tst-tininess.c: Likewise.
53392         * stdlib/strtod_l.c: Include <tininess.h>.
53393         (round_and_return): Do not set errno for exact underflow cases.
53394         Force an underflow exception when setting errno for underflow.
53395         Determine underflow based on rounding to normal precision if
53396         TININESS_AFTER_ROUNDING.
53397         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
53398         ERANGE for exact underflow cases.
53399         * stdlib/Makefile (tests): Add tst-tininess and
53400         tst-strtod-underflow.
53401         ($(objpfx)tst-tininess): Use $(link-libm).
53402         ($(objpfx)tst-strtod-underflow): Likewise.
53404 2012-10-30  Andreas Jaeger  <aj@suse.de>
53406         [BZ#14767]
53407         * elf/Makefile (tests): Remove conditional for have-initfini-array
53408         since this is now always required and the variable does not exist
53409         anymore.
53410         (tests-static): Likewise.
53411         (modules-names): Likewise.
53413         * po/eo.po: Add Esperanto translation from translation project.
53415         * elf/tst-array1.c (fini_array): Make writeable so that it can be
53416         merged with constructor/destructor.
53417         (init_array): Likewise.
53418         * elf/tst-array2dep.c (fini_array): Likewise.
53419         (init_array): Likewise.
53421 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
53423         * manual/message.texi: Delete @cartouche tags.
53425 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
53427         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
53428         EOPNOTSUPP.
53429         * sysdeps/mach/hurd/fsync.c: Likewise.
53431         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
53432         [_POSIX_REALTIME_SIGNALS]: Change condition to
53433         [_POSIX_REALTIME_SIGNALS > 0].
53435 2012-10-27  Andreas Jaeger  <aj@suse.de>
53437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
53438         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
53439         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
53440         [__WORDSIZE != 64]: Likewise.
53442 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
53444         *  iconvdata/tst-table.sh: Remove ${SHELL}.
53445         *  iconvdata/tst-tables.sh: Likewise.
53447 2012-10-25  David S. Miller  <davem@davemloft.net>
53449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53450         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
53451         of strtoull.
53453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
53454         ifunc-impl-list.c
53455         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53456         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
53457         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
53458         file.
53460 2012-10-25  Roland McGrath  <roland@hack.frob.com>
53462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53463         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
53464         __getdirentries.
53466 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53467             Jim Blandy  <jimb@codesourcery.com>
53469         * scripts/cross-test-ssh.sh: New file.
53470         * manual/install.texi (Configuring and compiling): Document use of
53471         cross-test-ssh.sh.
53472         * INSTALL: Regenerated.
53474 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
53476         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
53477         EOPNOTSUPP.
53479 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
53481         * Makeconfig (run-program-prefix): Fix comment.
53483 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53484             Jim Blandy  <jimb@codesourcery.com>
53486         * Makeconfig (test-wrapper): New variable,
53487         (test-wrapper-env): Likewise.
53488         [$(cross-compiling) = yes && $(test-wrapper) != ""]
53489         (run-built-tests): Define to yes.
53490         (run-program-prefix): Use $(test-wrapper).
53491         (built-program-cmd): Likewise.
53492         * Rules (make-test-out): Use $(test-wrapper-env) and
53493         $(host-built-program-cmd).
53494         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
53495         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
53496         tst-pathopt.sh.
53497         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
53498         $(test-wrapper-env) to tst-rtld-load-self.sh.
53499         ($(objpfx)order2.out): Use $(test-wrapper).
53500         ($(objpfx)tst-initorder.out): Likewise.
53501         ($(objpfx)tst-initorder2.out): Likewise.
53502         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
53503         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
53504         (test_wrapper_env): New variable.  Use it to run ld.so.
53505         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
53506         Use it to run ld.so.
53507         (test_wrapper_env): Likewise.
53508         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
53509         $(test-wrapper) to run-iconv-test.sh.
53510         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
53511         (ICONV): Use $test_wrapper.
53512         * posix/Makefile ($(objpfx)globtest.out): Pass
53513         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
53514         globtest.sh, not $(run-program-prefix).
53515         * posix/globtest.sh (run_via_rtld_prefix): New variable.
53516         (test_wrapper): Likewise.
53517         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
53518         set together with run_via_rtld_prefix.
53519         (run_program_prefix): Define in terms of test_wrapper and
53520         run_via_rtld_prefix.
53522 2012-10-24  Roland McGrath  <roland@hack.frob.com>
53524         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
53525         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
53526         Targets removed.
53528         [BZ #14743]
53529         * include/time.h: Remove librt_hidden_proto (clock_gettime).
53530         Declare __clock_getres, __clock_gettime, __clock_settime,
53531         __clock_nanosleep, and __clock_getcpuclockid.
53532         * rt/clock_gettime.c: Define __clock_gettime as an alias.
53533         Remove librt_hidden_def (clock_gettime).
53534         * sysdeps/unix/clock_gettime.c: Likewise.
53535         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
53536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
53537         * rt/clock_getres.c: Define __clock_getres as an alias.
53538         * sysdeps/posix/clock_getres.c: Likewise.
53539         * rt/clock_settime.c: Define __clock_settime as an alias.
53540         * sysdeps/unix/clock_settime.c: Likewise.
53541         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
53542         * sysdeps/unix/clock_nanosleep.c: Likewise.
53543         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
53544         * rt/clock-compat.c: New file.
53545         * rt/Makefile (librt-routines): Add clock-compat and move
53546         $(clock-routines) to ...
53547         (routines): ... here, new variable.
53548         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
53549         Don't add get_clockfreq here.
53550         * rt/Versions (libc: GLIBC_2.17): New version set.
53551         Add clock_* symbols here.
53552         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
53553         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
53554         (GLIBC_2.17): Add clock_* symbols.
53555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53559         Likewise.
53560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53561         Likewise.
53562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53566         * NEWS: Mention the move.
53568         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
53569         Use __open, __read, __close rather than their public counterparts.
53570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53571         (__get_clockfreq_via_cpuinfo): Likewise.
53572         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
53573         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
53575         * config.h.in (HAVE_IFUNC): New #undef.
53576         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
53577         was successful.
53578         * configure: Regenerated.
53580 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53582         * configure.in: Move READELF check to start of file.
53583         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
53584         libc_cv_asm_gnu_indirect_function in the process.
53585         * configure: Regenerated.
53587 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
53589         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
53590         send the output to /dev/null.
53591         (libc_cv_cc_with_libunwind): Likewise.
53592         (libc_cv_as_noexecstack): Likewise.
53593         * configure: Regenerate.
53595 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
53597         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
53599         * posix/globtest.sh (TMPDIR): Do not set.
53600         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
53601         (testout): Likewise.
53603 2012-10-24  Andreas Jaeger  <aj@suse.de>
53605         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
53606         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
53607         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
53608         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
53609         posix_fadvise64, posix_fallocate64.
53611         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
53612         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
53613         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
53614         Likewise.
53615         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
53616         Likewise.
53617         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
53619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
53620         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
53621         <bits/fcntl-linux.h>.
53622         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
53624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
53625         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
53626         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
53627         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
53628         [__WORDSIZE != 64]: Likewise.
53630 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53632         * Makeconfig (run-built-tests): New variable.
53633         * Rules [$(cross-compiling) = yes]: Change condition to
53634         [$(run-built-tests) = no].
53635         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
53636         to [$(run-built-tests) = yes].
53637         * elf/Makefile [$(cross-compiling) = no]: Likewise.
53638         * grp/Makefile [$(cross-compiling) = no]: Likewise.
53639         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
53640         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
53641         * intl/Makefile [$(cross-compiling) = no]: Likewise.
53642         * io/Makefile [$(cross-compiling) = no]: Likewise.
53643         * libio/Makefile [$(cross-compiling) = no]: Likewise.
53644         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
53645         * misc/Makefile [$(cross-compiling) = no]: Likewise.
53646         * posix/Makefile [$(cross-compiling) = no]: Likewise.
53647         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
53648         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
53649         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
53650         * string/Makefile [$(cross-compiling) = no]: Likewise.
53652         * posix/Makefile ($(objpfx)globtest.out): Pass
53653         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
53654         $(rtld-installed-name).
53655         * posix/globtest.sh (elf_objpfx): Remove variable.
53656         (rtld_installed_name): Likewise.
53657         (library_path): Likewise.
53658         (run_program_prefix): New variable.  Use for running globtest
53659         binary.
53661 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
53662             Joseph Myers  <joseph@codesourcery.com>
53664         * Makeconfig (host-built-program-cmd): New variable.
53665         * elf/Makefile (tst-stackguard1-ARGS): Use
53666         $(host-built-program-cmd).
53667         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
53668         (tst-spawn-ARGS): Likewise.
53669         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
53671 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
53672             Jim Blandy  <jimb@codesourcery.com>
53674         * Makeconfig (run-via-rtld-prefix): New variable.
53675         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
53676         (built-program-cmd): Likewise.
53678 2012-10-22  Andreas Jaeger  <aj@suse.de>
53680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
53681         __O_RSYNC if it exists, otherwise to O_SYNC.
53683 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
53684             Joseph Myers  <joseph@codesourcery.com>
53686         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
53687         /dev/null.
53688         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
53689         from /dev/null
53690         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
53691         /dev/null.
53693 2012-10-22  Andreas Jaeger  <aj@suse.de>
53695         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
53696         Define always.
53697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
53699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53700         bits/fcntl-linux.h.
53702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
53703         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
53705         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
53706         to __O_LARGEFILE.
53707         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
53708         to __O_LARGEFILE.
53710 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
53711             Joseph Myers  <joseph@codesourcery.com>
53713         * config.make.in (NM): New variable.
53715 2012-10-21  Andreas Jaeger  <aj@suse.de>
53717         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
53718         definitions and declarations that are provided by
53719         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53721 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53723         [BZ #14683]
53724         * elf/Makefile (tests-static): Add tst-leaks1-static.
53725         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
53726         ($(objpfx)tst-leaks1-static): New rule.
53727         ($(objpfx)tst-leaks1-static-mem): Likewise.
53728         (tst-leaks1-static-ENV): New macro.
53729         * elf/dl-open.c (dl_open_worker): Check the main application
53730         only if SHARED is defined.
53731         * elf/tst-leaks1-static.c: New file.
53733 2012-10-20  Andreas Jaeger  <aj@suse.de>
53735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
53736         generic values for Linux.
53737         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
53738         and declarations that are provided by <bits/fcntl-linux.h> and
53739         include <bits/fcntl-linux.h>.
53740         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53743 2012-10-20  Roland McGrath  <roland@hack.frob.com>
53745         * io/fcntl.h: Move include of <bits/types.h> to the top and
53746         include it unconditionally.
53748 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
53750         * wcsmbs/Makefile (tests-ifunc): New variable.
53751         (tests): Add $(tests-ifunc).
53752         * wcsmbs/test-wcschr-ifunc.c: New file.
53753         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
53754         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
53755         * wcsmbs/test-wcslen-ifunc.c: Likewise.
53756         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
53757         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
53759         * string/Makefile (tests-ifunc): New variable.
53760         (tests): Add $(tests-ifunc).
53761         * string/test-memccpy.c (TEST_NAME): New macro.
53762         * string/test-memchr.c (TEST_NAME): Likewise.
53763         * string/test-memcmp.c (TEST_NAME): Likewise.
53764         * string/test-memcpy.c (TEST_NAME): Likewise.
53765         * string/test-memmem.c (TEST_NAME): Likewise.
53766         * string/test-memmove.c (TEST_NAME): Likewise.
53767         * string/test-memset.c (TEST_NAME): Likewise.
53768         * string/test-rawmemchr.c (TEST_NAME): Likewise.
53769         * string/test-stpcpy.c (TEST_NAME): Likewise.
53770         * string/test-stpncpy.c (TEST_NAME): Likewise.
53771         * string/test-strcasecmp.c (TEST_NAME): Likewise.
53772         * string/test-strcasestr.c (TEST_NAME): Likewise.
53773         * string/test-strcat.c (TEST_NAME): Likewise.
53774         * string/test-strchr.c (TEST_NAME): Likewise.
53775         * string/test-strcmp.c(TEST_NAME): Likewise.
53776         * string/test-strcpy.c (TEST_NAME): Likewise.
53777         * string/test-strcspn.c (TEST_NAME): Likewise.
53778         * string/test-strlen.c (TEST_NAME): Likewise.
53779         * string/test-strncasecmp.c (TEST_NAME): Likewise.
53780         * string/test-strncmp.c (TEST_NAME): Likewise.
53781         * string/test-strncpy.c (TEST_NAME): Likewise.
53782         * string/test-strnlen.c (TEST_NAME): Likewise.
53783         * string/test-strpbrk.c (TEST_NAME): Likewise.
53784         * string/test-strrchr.c (TEST_NAME): Likewise.
53785         * string/test-strspn.c (TEST_NAME): Likewise.
53786         * string/test-strstr.c (TEST_NAME): Likewise.
53787         * string/test-bcopy-ifunc.c: New file.
53788         * string/test-bzero-ifunc.c: Likewise.
53789         * string/test-memccpy-ifunc.c: Likewise.
53790         * string/test-memchr-ifunc.c: Likewise.
53791         * string/test-memcmp-ifunc.c: Likewise.
53792         * string/test-memcpy-ifunc.c: Likewise.
53793         * string/test-memmem-ifunc.c: Likewise.
53794         * string/test-memmove-ifunc.c: Likewise.
53795         * string/test-mempcpy-ifunc.c: Likewise.
53796         * string/test-memset-ifunc.c: Likewise.
53797         * string/test-rawmemchr-ifunc.c: Likewise.
53798         * string/test-stpcpy-ifunc.c: Likewise.
53799         * string/test-stpncpy-ifunc.c: Likewise.
53800         * string/test-strcasecmp-ifunc.c: Likewise.
53801         * string/test-strcasestr-ifunc.c: Likewise.
53802         * string/test-strcat-ifunc.c: Likewise.
53803         * string/test-strchr-ifunc.c: Likewise.
53804         * string/test-strchrnul-ifunc.c: Likewise.
53805         * string/test-strcmp-ifunc.c: Likewise.
53806         * string/test-strcpy-ifunc.c: Likewise.
53807         * string/test-strcspn-ifunc.c: Likewise.
53808         * string/test-strlen-ifunc.c: Likewise.
53809         * string/test-strncasecmp-ifunc.c: Likewise.
53810         * string/test-strncat-ifunc.c: Likewise.
53811         * string/test-strncmp-ifunc.c: Likewise.
53812         * string/test-strncpy-ifunc.c: Likewise.
53813         * string/test-strnlen-ifunc.c: Likewise.
53814         * string/test-strpbrk-ifunc.c: Likewise.
53815         * string/test-strrchr-ifunc.c: Likewise.
53816         * string/test-strspn-ifunc.c: Likewise.
53817         * string/test-strstr-ifunc.c: Likewise.
53819         * debug/Makefile (tests-ifunc): New variable.
53820         (tests): Add $(tests-ifunc).
53821         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
53822         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
53823         * debug/test-stpcpy_chk-ifunc.c: New file.
53824         * debug/test-strcpy_chk-ifunc.c: Likewise.
53826 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53828         [BZ #13601]
53829         * elf/dl-load.c (open_verify): Retry read if the entire ELF
53830         header is not read in.
53832 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
53834         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
53835         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
53836         directly.  Pass built executable to script as
53837         $(built-program-cmd).
53838         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
53839         $testprogram without using LD_LIBRARY_PATH and $ldso.
53841         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
53842         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
53843         $(rtld-installed-name).
53844         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
53845         (rtld_installed_name): Likewise.
53846         (library_path): Likewise.
53847         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
53848         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
53849         $(run-program-prefix) to tst-tables.sh.
53850         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
53851         it to run tst-table-from and tst-table-to.
53852         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53853         Pass it to tst-table.sh.
53854         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53855         $(run-program-prefix) to tst-gettext.sh.
53856         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53857         tst-translit.sh.
53858         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53859         tst-gettext2.sh.
53860         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53861         to run tst-gettext.
53862         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53863         to run tst-gettext2.
53864         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53865         to run tst-translit.
53866         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53867         $(run-program-prefix) to tst-mtrace.sh.
53868         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53869         to run tst-mtrace.
53870         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53871         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53872         $(rtld-installed-name).
53873         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53874         (rtld_installed_name): Likewise.
53875         (run_program_prefix): New variable.  Use it to run wordexp-test.
53877         * Makeconfig (ARCH): Remove all definitions.
53878         (machine): Likewise.
53879         [ARCH]: Remove conditional code.
53880         [!objdir]: Give error.
53881         [!objdir] (objpfx): Remove.
53882         [!objdir] (common-objpfx): Likewise.
53883         [!objdir] (common-objdir): Likewise.
53884         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53885         AC_CONFIG_FILES call.
53886         * configure: Regenerated.
53888         [BZ #13888]
53889         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53890         or TMPDIR.
53891         (testout): Likewise.
53893         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53894         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53895         $(rtld-installed-name).
53896         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53897         (rtld_installed_name): Likwise.
53898         (runit): Remove function.
53899         (run_getconf): New variable,  Use it for running getconf binary.
53901 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53903         [BZ #14716]
53904         * string/test-memmem.c (check_result): New function.
53905         (do_one_test): Use it.
53906         (check1): New function.
53907         (test_main): Use it.
53909 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53911         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53913 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53915         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53916         (_G_LSEEK64): Likewise.
53917         (_G_MMAP64): Likewise.
53918         (_G_FSTAT64): Likewise.
53919         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53920         (_G_LSEEK64): Likewise.
53921         (_G_MMAP64): Likewise.
53922         (_G_FSTAT64): Likewise.
53923         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53924         unconditional.  Call __mmap64 directly.
53925         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53926         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53927         __lseek64 directly.
53928         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53929         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53930         __mmap64 directly.
53931         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53932         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53933         __lseek64 directly.
53934         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53935         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53936         __lseek64 directly.
53937         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53938         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53939         __lseek64 directly.
53940         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53941         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53942         __fxstat64 directly.
53943         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53944         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53945         unconditional.
53946         (freopen64) [!_G_OPEN64]: Remove conditional code.
53947         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53948         unconditional.
53949         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53950         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53951         unconditional.
53952         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53953         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53954         unconditional.
53955         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53956         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53957         unconditional.
53958         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53959         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53960         unconditional.
53961         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53962         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53963         unconditional.
53964         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53965         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53966         unconditional.
53967         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53969 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53971         [BZ #12140]
53972         * manual/memory.texi (Malloc Tunable Parameters): Add note
53973         about free list pointers overwriting some perturb bytes.
53974         Wording suggested by Roland McGrath.
53976 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53978         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53979         (lgamma_test): Likewise.
53980         (tgamma_test): Likewise.
53982 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53984         [BZ #14700]
53985         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53986         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53988 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53990         * NEWS: Mention BZ #14716.
53991         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53992         when removing AVAILABLE1_USES_J macro.
53994 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53996         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53997         (__bswap_64): __uint64_t for unsigned 64-bit int.
53999 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54001         * include/string.h (memmem): Declare libc hidden alias.
54002         * string/memmem.c (memmem): Define libc hidden alias.
54003         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54004         __read, __close instead of open, read, close.
54006 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54009         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54010         global and hidden.
54011         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54012         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54013         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54014         Likewise.
54015         (__rawmemchr_sse2): Likewise.
54016         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54017         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54018         (__strchr_sse2): Likewise.
54019         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54020         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54021         (__strcasecmp_sse2): Likewise.
54022         (__strncasecmp_sse2): Likewise.
54023         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54024         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54025         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54026         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54027         (__strrchr_sse2): Likewise.
54028         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54029         ifunc-impl-list.c.
54030         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54031         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54032         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54033         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54034         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54035         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54036         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54037         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54038         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54039         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54040         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54041         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54042         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54043         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54044         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54045         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54046         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54047         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54048         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54049         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54050         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54051         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54052         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54053         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54054         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54055         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54056         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54057         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54058         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54059         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54061         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54062         global and hidden.
54063         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54064         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54065         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54066         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54067         Likewise.
54068         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54069         Likewise.
54070         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54071         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54072         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54073         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54074         ifunc-impl-list.c.
54075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54076         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54077         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54078         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54079         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54080         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54081         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54082         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54083         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54084         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54085         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54086         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54087         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54088         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54089         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54090         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54091         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54092         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54093         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54094         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54095         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54096         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54097         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54098         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54100         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54101         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54102         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54103         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54104         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54105         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54106         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54107         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54108         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54109         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54110         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54111         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54112         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54113         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54114         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54115         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54117         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54118         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54119         * include/ifunc-impl-list.h: New file.
54120         * misc/ifunc-impl-list.c: Likewise.
54121         * misc/Makefile (routines): Add ifunc-impl-list.
54122         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54123         * string/test-string.h: Include <ifunc-impl-list.h>.
54124         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54125         TEST_NAME]: New variables.
54126         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54127         are defined.
54128         (test_init): Call __libc_ifunc_impl_list to initialize
54129         func_list if TEST_IFUNC and TEST_NAME are defined.
54131         * string/Makefile (strop-tests): Add bcopy and bzero.
54132         * string/test-bcopy.c: New file.
54133         * string/test-bzero.c: Likewise.
54134         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54135         defined.
54136         * string/test-memset.c: Support bzero test if TEST_BZERO is
54137         defined.
54138         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54139         __libc_memmove.
54140         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54141         __libc_memset.
54142         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54143         of memset.
54145 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54147         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54148         * configure: Regenerated.
54150         * Makeconfig (+link-static-before-libc): Don't include
54151         $(link-static-libc).
54153         * libio/libio.h (_IO_pos_t): Remove.
54155 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54157         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54158         McGrath.
54160 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54162         * crypt/crypt-entry.c: Include fips-private.h.
54163         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54164         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54165         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54166         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54168 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54170         * crypt/crypt-private.h: Include stdbool.h.
54171         (_ufc_setup_salt_r): Return bool.
54172         * crypt/crypt-entry.c: Include errno.h.
54173         (__crypt_r): Return NULL with EINVAL for bad salt.
54174         * crypt/crypt_util.c (bad_for_salt): New.
54175         (_ufc_setup_salt_r): Check that salt is long enough and within
54176         the specified alphabet.
54177         * crypt/badsalttest.c: New file.
54178         * crypt/Makefile (tests): Add it.
54179         ($(objpfx)badsalttest): New.
54181 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54183         * NEWS: Add entry for BZ #14602.
54185 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54187         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54188         type-generic.
54189         * math/libm-test.inc: Update comment listing what functions and
54190         macros are tested.
54191         (isgreater_test): New function.
54192         (isgreaterequal_test): Likewise.
54193         (isless_test): Likewise.
54194         (islessequal_test): Likewise.
54195         (islessgreater_test): Likewise.
54196         (isunordered_test): Likewise.
54197         (main): Call the new functions.
54199 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54201         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54202         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54203         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54204         * sysdeps/i386/configure: Regenerated.
54205         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54206         * sysdeps/mach/configure: Regenerated.
54207         * sysdeps/mach/hurd/configure: Regenerated.
54208         * sysdeps/powerpc/configure: Regenerated.
54209         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54210         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54211         * sysdeps/s390/s390-32/configure: Regenerated.
54212         * sysdeps/s390/s390-64/configure: Regenerated.
54213         * sysdeps/sh/configure: Regenerated.
54214         * sysdeps/sparc/configure: Regenerated.
54215         * sysdeps/unix/sysv/linux/configure: Regenerated.
54216         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54217         * sysdeps/x86_64/configure: Regenerated.
54219         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54220         defined.  Don't check if MAP is NULL.
54222 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54224         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54225         (_G_stat64): Likewise.
54226         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54227         (_G_stat64): Likewise.
54228         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54229         instead of struct _G_stat64.
54230         * libio/fileops.c (mmap_remap_check): Likewise.
54231         (decide_maybe_mmap): Likewise.
54232         (_IO_new_file_seekoff): Likewise.
54233         (_IO_file_stat): Likewise.
54234         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54235         _G_off64_t.
54236         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54237         instead of struct _G_stat64.
54238         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54240 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54242         [BZ #14602]
54243         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54244         Replace with ...
54245         (CHECK_EOL): New macro.
54246         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54247         CHECK_EOL.
54248         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54249         Replace with CHECK_EOL.
54250         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54251         Replace with CHECK_EOL.
54253 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54255         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54256         type-generic.
54257         * math/libm-test.inc: Update comment listing what functions and
54258         macros are tested.
54259         (finite_test): New function.
54260         (isinf_test): Likewise.
54261         (isnan_test): Likewise.
54262         (fpclassify_test): Test subnormal input.
54263         (isfinite_test): Likewise.
54264         (isnormal_test): Likewise.
54265         (main): Call the new functions.
54267 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54269         [BZ #14660]
54270         * Makerules (%.dynsym): Force C locale when running
54271         $(OBJDUMP) --dynamic-syms.
54273 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54275         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54276         <stdint.h>.
54278 2012-10-06  David S. Miller  <davem@davemloft.net>
54280         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54281         upper 32-bits of the length value in %o2 since we use branch-on-register
54282         tests which consider the entire 64-bit register.
54284 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54286         * string/test-strstr.c (check2): Add a test for page boundary.
54288 2012-10-05  David S. Miller  <davem@davemloft.net>
54290         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54291         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54292         file.
54293         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54294         sysdep_routines.
54295         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54296         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54297         and bzero when HWCAP_SPARC_CRYPTO is present.
54299 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54301         [BZ #14602]
54302         * string/test-strstr.c (check2): New function.
54303         (test_main): Call check2.
54305         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54306         and bug-strchr1.
54307         * string/bug-strcasestr1.c (do_test): Moved to ...
54308         * string/test-strcasestr.c (check1): Here.  New function.
54309         (do_one_test): Break out result checking code into ...
54310         (check_result): This.  New function.
54311         (do_one_test): Call check_result.
54312         (test_main): Call check1.
54313         * string/bug-strchr1.c (do_test): Moved to ...
54314         * string/test-strchr.c (check1): Here.  New function.
54315         (do_one_test): Break out result checking code into ...
54316         (check_result): This.  New function.
54317         (do_one_test): Call check_result.
54318         (test_main): Call check1.
54319         * string/bug-strstr1.c (main): Moved to ...
54320         * string/test-strstr.c (check1): Here.  New function.
54321         (do_one_test): Break out result checking code into ...
54322         (check_result): This.  New function.
54323         (do_one_test): Call check_result.
54324         (test_main): Call check1.
54325         * string/bug-strcasestr1.c: Removed.
54326         * string/bug-strchr1.c: Likewise.
54327         * string/bug-strstr1.c: Likewise.
54329         * elf/Makefile (dl-routines): Add hwcaps.
54330         * elf/dl-support.c (_dl_important_hwcaps): Removed.
54331         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
54332         (_dl_important_hwcaps): Moved to ...
54333         * elf/dl-hwcaps.c: Here.  New file.
54334         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
54336         [BZ #14557]
54337         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
54338         if IS_IN_rtld isn't defined.
54340         * elf/dl-support.c (_dl_sysinfo_map): New.
54341         Include "get-dynamic-info.h" and "setup-vdso.h".
54342         (_dl_non_dynamic_init): Call setup_vdso.
54343         * elf/dynamic-link.h: Don't include <assert.h>.
54344         (elf_get_dynamic_info): Moved to ...
54345         * elf/get-dynamic-info.h: Here.  New file.
54346         * elf/dynamic-link.h: Include "get-dynamic-info.h".
54347         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
54348         * elf/setup-vdso.h: Here.  New file.
54349         * elf/rtld.c: Include "setup-vdso.h".
54350         (dl_main): Call setup_vdso.
54352 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
54354         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
54355         creal in comment listing functions tested.  List finite, isinf,
54356         isnan, isless, islessequal, isgreater, isgreaterequal,
54357         islessgreater, isunordered, lgamma_r and pow10 as functions and
54358         macros not tested.  Mention which functions not tested are aliases
54359         for other functions.  Fix typo.  Note that signs of NaNs are not
54360         tested.
54362         * scripts/config.guess: Update from config.git.
54363         * scripts/config.sub: Likewise.
54365 2012-10-04  Roland McGrath  <roland@hack.frob.com>
54367         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
54368         * misc/madvise.c (madvise): Renamed to __madvise.
54369         Make madvise a weak alias.
54370         * include/sys/mman.h: Declare __madvise.
54371         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
54372         * sysdeps/unix/syscalls.list
54373         (madvise): Make __madvise the strong name, and madvise a weak alias.
54374         * sysdeps/unix/sysv/linux/syscalls.list
54375         (madvise, mmap): Remove redundant entries.
54376         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
54377         * malloc/malloc.c (mtrim): Likewise.
54378         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
54380 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54382         * sysdeps/mach/hurd/dl-cache.c: File removed.
54383         * config.h.in (USE_LDCONFIG): New #undef.
54384         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
54385         * configure: Regenerated.
54386         * elf/Makefile (dl-routines): Add dl-cache only under
54387         [$(use-ldconfig) = yes].
54388         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
54389         cache on [USE_LDCONFIG].
54390         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
54391         [USE_LDCONFIG].
54392         * elf/rtld.c (dl_main): Likewise.
54394 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
54396         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
54397         _SC_LEVEL4_CACHE_LINESIZE.
54399 2012-10-03  Roland McGrath  <roland@hack.frob.com>
54401         * sysdeps/unix/bsd/confstr.h: File removed.
54403 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
54405         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
54406         sys/sdt-config.h.
54408 2012-10-02  Roland McGrath  <roland@hack.frob.com>
54410         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
54411         Make 'mapoff' field ElfW(Off) rather than off_t.
54413 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
54415         * nscd/Makefile: Remove nscd-cflags and all its users.
54416         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
54417         (CFLAGS-nonlib): Add compiler flags for nscd modules.
54419         [BZ #10631]
54420         * malloc.c (malloc_printerr): Clarify error message.
54422 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
54424         [BZ #14648]
54425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54426         Set bit_FMA_Usable if FMA is supported.
54427         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
54428         macro.
54429         (bit_FMA4_Usable): Updated.
54430         (index_FMA_Usable): New macro.
54431         (CPUID_FMA): Likewise.
54432         (HAS_FMA): Defined with bit_FMA_Usable.
54434 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54436         * bits/types.h (__swblk_t): Type removed.
54437         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
54438         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
54439         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54440         (__SWBLK_T_TYPE): Likewise.
54441         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54442         (__SWBLK_T_TYPE): Likewise.
54443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54444         (__SWBLK_T_TYPE): Likewise.
54445         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54446         (__SWBLK_T_TYPE): Likewise.
54448 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
54449             Honza Horak <hhorak@redhat.com>
54451         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
54452         (xdr_mapname): Use YPMAXMAP as maxsize.
54453         (xdr_peername): Use YPMAXPEER as maxsize.
54454         (xdr_keydat): Use YPAXRECORD as maxsize.
54455         (xdr_valdat): Use YPMAXRECORD as maxsize.
54457 2012-10-01  Roland McGrath  <roland@hack.frob.com>
54459         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
54461         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
54462         * csu/init-first.c: ... here.
54463         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
54464         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
54465         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
54466         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
54467         * sysdeps/i386/init-first.c: File removed.
54468         * sysdeps/sh/init-first.c: File removed.
54470 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
54472         [BZ #14645]
54473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
54474         if x * y might underflow to zero and z is zero.
54475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54477         * math/libm-test.inc (min_subnorm_value): New variable.
54478         (fma_test): Add more tests.
54479         (fma_test_towardzero): Likewise.
54480         (fma_test_downward): Likewise.
54481         (fma_test_upward): Likewise.
54482         (initialize): Set min_subnorm_value.
54484 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
54486         [BZ #14638]
54487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
54488         0 + 0.
54489         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
54490         mode for addition resulting in exact zero.
54491         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
54492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
54493         exact 0 + 0.
54494         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54496         * math/libm-test.inc (fma_test): Add more tests.
54497         (fma_test_towardzero): New function.
54498         (fma_test_downward): Likewise.
54499         (fma_test_upward): Likewise.
54500         (main): Call the new functions.
54502 2012-09-28  David S. Miller  <davem@davemloft.net>
54504         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
54506 2012-09-28  Roland McGrath  <roland@hack.frob.com>
54508         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
54509         instead of SIGALRM.
54511         * sysdeps/gnu/_G_config.h: Moved to ...
54512         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
54513         * sysdeps/mach/hurd/_G_config.h: Moved to ...
54514         * sysdeps/generic/_G_config.h: ... here.
54516         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
54518         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
54520         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
54521         Conditionalize target on [libnss_test1.so-version].
54523         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
54525         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
54526         (elfobjdir): Move out of conditionals.
54528         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
54529         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
54530         (__nss_lookup_function): Conditionalize label remove_from_tree on
54531         [!DO_STATIC_NSS || SHARED], matching its only use.
54533 2012-09-28  David S. Miller  <davem@davemloft.net>
54535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
54536         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
54537         file.
54538         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54539         sysdep_routines.
54540         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54541         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
54542         when HWCAP_SPARC_CRYPTO is present.
54544 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54546         * io/tst-mknodat.c: Create a FIFO instead of a socket.
54548 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
54550         [BZ #6530]
54551         * stdio-common/vfprintf.c (process_string_arg): Revert
54552         2000-07-22 change.
54554 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
54556         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
54557         for testcase.
54558         * stdio-common/tst-sprintf.c: Include <locale.h>
54559         (main): Test sprintf's handling of incomplete multibyte
54560         characters.
54562 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
54564         * elf/dl-runtime.c (VERSYMIDX): Removed.
54565         * elf/dl-version.c (VERSYMIDX): Likewise.
54566         * elf/do-rel.h (VERSYMIDX): Likewise.
54567         (VALIDX): Likewise.
54568         * elf/dynamic-link.h (VERSYMIDX): Likewise.
54569         * elf/rtld.c (VALIDX): Likewise.
54570         (ADDRIDX): Likewise.
54571         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
54572         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
54573         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
54574         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
54575         (VALIDX): Likewise.
54576         (ADDRIDX): Likewise.
54578 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54580         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
54582 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
54584         [BZ #11438]
54585         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
54586         to global scope.
54587         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
54588         addresses are in the same scope as 192.0.2/24.
54589         * posix/gai.conf: Document new scope table defaults.
54591 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54593         [BZ #5298]
54594         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
54595         for ftell.  Compute offsets from write pointers instead.
54596         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54598 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54600         [BZ #14543]
54601         * libio/Makefile (tests): New test case tst-fseek.
54602         * libio/tst-fseek.c: New test case to verify that fseek/ftell
54603         combination works in wide mode.
54604         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
54605         state when the external buffer state changes.
54607 2012-09-27  David S. Miller  <davem@davemloft.net>
54609         [BZ #14376]
54610         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
54611         pass reloc->r_addend in as the 'high' argument to
54612         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
54614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54616 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
54618         * rt/tst-aio2.c: Include <pthread.h>.
54619         * rt/tst-aio3.c: Likewise.
54621 2012-09-27  Steve Ellcey  <sellcey@mips.com>
54623         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
54625 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
54627         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
54628         contents on [SHARED].
54630 2012-09-26  Marek Polacek  <polacek@redhat.com>
54632         [BZ #14530]
54633         [BZ #13741]
54634         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
54635         for C++ and GCC <4.3 as well as for non GCC compilers.
54637 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54641 2012-09-25  Roland McGrath  <roland@hack.frob.com>
54643         * Makefile.in (all, install): Declare with .PHONY.
54644         Reported by Michael Hope <michael.hope@linaro.org>.
54646 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54648         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
54649         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
54650         system header.
54651         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
54652         Likewise.
54653         (sydep_routines): Add the new and the internal functions.
54654         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
54655         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
54656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
54657         (GLIBC_2.17): Add the new function.
54658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54659         (GLIBC_2.17): Likewise.
54660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
54661         (GLIBC_2.17): Likewise.
54662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
54663         (GLIBC_2.17): Likewise.
54664         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
54666 2012-09-25  Alan Modra  <amodra@gmail.com>
54668         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
54669         Add release barrier before setting once_control to say
54670         initialisation is done.  Add hints on lwarx.  Use macro in
54671         place of isync.
54672         (clear_once_control): Add release barrier.
54674 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54676         [BZ #13629]
54677         * math/s_clog.c (__clog): Handle more values close to |z| = 1
54678         specially.
54679         * math/s_clog10.c (__clog10): Likewise.
54680         * math/s_clog10f.c (__clog10f): Likewise.
54681         * math/s_clog10l.c (__clog10l): Likewise.
54682         * math/s_clogf.c (__clogf): Likewise.
54683         * math/s_clogl.c (__clogl): Likewise.
54684         * math/Makefile (libm-calls): Add x2y2m1.
54685         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
54686         (__x2y2m1): Likewise.
54687         (__x2y2m1l): Likewise.
54688         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
54689         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
54690         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
54692         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
54693         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
54694         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
54695         * sysdeps/i386/fpu/libm-test-ulps: Update.
54696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54698         [BZ #14621]
54699         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
54700         int as type of variable DEPTH.
54701         (glob): Use size_t instead of int as type of variables NEWCOUNT
54702         and OLD_PATHC.
54704 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54706         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54707         Add s_sincosf-sse2.
54708         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
54709         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
54710         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
54711         macros for using routine as __sincosf_ia32.
54712         Use macro for function declaration and weak_alias.
54713         * sysdeps/i386/fpu/libm-test-ulps: Update.
54715         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
54716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54718         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
54719         subnormal argument.
54720         * math/s_cexpf.c (__cexpf): Likewise.
54721         * math/s_csinf.c (__csinf): Likewise.
54722         * math/s_csinhf.c (__csinhf): Likewise.
54723         * math/s_ctanf.c (__ctanf): Likewise.
54724         * math/s_ctanhf.c (__ctanhf): Likewise.
54725         * math/s_ccosh.c (__ccoshf): Likewise.
54726         * math/s_cexp.c (__cexpl): Likewise.
54727         * math/s_csin.c (__csin): Likewise.
54728         * math/s_csinh.c (__csinh): Likewise.
54729         * math/s_ctan.c (__ctan): Likewise.
54730         * math/s_ctanh.c (ctanh): Likewise.
54731         * math/s_ccoshl.c (__ccoshl): Likewise.
54732         * math/s_cexpl.c (__cexpl): Likewise.
54733         * math/s_csinl.c (__csinl): Likewise.
54734         * math/s_csinhl.c (__csinhl): Likewise.
54735         * math/s_ctanl.c (__ctanl): Likewise.
54736         * math/s_ctanhl.c (__ctanhl): Likewise.
54738 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
54740         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
54741         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
54742         (_IO_off_t): Define to __off_t, not _G_off_t.
54743         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
54744         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
54745         (_IO_wint_t): Define to wint_t, not _G_wint_t.
54746         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
54747         type of __dummy and __dummy2 fields.
54748         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
54749         (_G_ssize_t): Likewise.
54750         (_G_off_t): Likewise.
54751         (_G_pid_t): Likewise.
54752         (_G_uid_t): Likewise.
54753         (_G_wchar_t): Likewise.
54754         (_G_wint_t): Likewise.
54755         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
54756         (_G_ssize_t): Likewise.
54757         (_G_off_t): Likewise.
54758         (_G_pid_t): Likewise.
54759         (_G_uid_t): Likewise.
54760         (_G_wchar_t): Likewise.
54761         (_G_wint_t): Likewise.
54762         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
54763         (_G_ssize_t): Likewise.
54764         (_G_off_t): Likewise.
54765         (_G_pid_t): Likewise.
54766         (_G_uid_t): Likewise.
54767         (_G_wchar_t): Likewise.
54768         (_G_wint_t): Likewise.
54770 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54772         * malloc/arena.c: Include malloc-sysdep.h.
54773         (shrink_heap): Use check_may_shrink_heap to decide if madvise
54774         is sufficient to shrink the heap or an unmap is needed.
54775         * sysdeps/generic/malloc-sysdep.h: New file.  Define
54776         new function check_may_shrink_heap.
54777         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
54778         new function check_may_shrink_heap.
54780 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54782         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
54783         comments.
54785 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
54787         * catgets/test-gencat.sh: Add "set -e".
54788         * elf/tst-pathopt.sh: Likewise.
54789         * grp/tst_fgetgrent.sh: Likewise.
54790         * iconvdata/run-iconv-test.sh: Likewise.
54791         * intl/tst-gettext.sh: Likewise.
54792         * intl/tst-gettext2.sh: Likewise.
54793         * intl/tst-gettext4.sh: Likewise.
54794         * intl/tst-gettext6.sh: Likewise.
54795         * intl/tst-translit.sh: Likewise.
54796         * io/ftwtest-sh: Likewise.
54797         * libio/test-freopen.sh: Likewise.
54798         * malloc/tst-mtrace.sh: Likewise.
54799         * posix/globtest.sh: Likewise.
54800         * posix/tst-getconf.sh: Likewise.
54801         * posix/wordexp-tst.sh: Likewise.
54802         * stdio-common/tst-printf.sh: Likewise.
54803         * stdio-common/tst-unbputc.sh: Likewise.
54804         * stdlib/tst-fmtmsg.sh: Likewise.
54805         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54806         * catgets/Makefile: Do not specify -e option when running
54807         testsuite shell scripts.
54808         * elf/Makefile: Likewise.
54809         * grp/Makefile: Likewise.
54810         * iconvdata/Makefile: Likewise.
54811         * intl/Makefile: Likewise.
54812         * io/Makefile: Likewise.
54813         * libio/Makefile: Likewise.
54814         * malloc/Makefile: Likewise.
54815         * posix/Makefile: Likewise.
54816         * stdio-common/Makefile: Likewise.
54817         * stdlib/Makefile: Likewise.
54818         * sysdeps/x86_64/Makefile: Likewise.
54820         * io/ftwtest-sh: Add copyright header.
54821         * posix/globtest.sh: Likewise.
54822         * posix/tst-getconf.sh: Likewise.
54823         * posix/wordexp-tst.sh: Likewise.
54824         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
54826 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
54828         [BZ #13679]
54829         * Makeconfig (+link): Defined as $(+link-static) if
54830         $(build-shared) isn't yes.
54831         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
54832         isn't yes.
54833         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
54835         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
54837         [BZ #14562]
54838         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
54839         new chunk size with MALLOC_ALIGN_MASK.
54841 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
54843         [BZ #5044]
54844         * stdio-common/printf_fphex.c: Include <stdbool.h> and
54845         <rounding-mode.h>.
54846         (__printf_fphex): Determine rounding using get_rounding_mode and
54847         round_away.
54848         * stdio-common/tst-printf-round.c (struct hex_test): New
54849         structure.
54850         (hex_tests): New variable.
54851         (test_hex_in_one_mode): New function.
54852         (do_test): Also run tests for hex float output.
54854 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54856         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54857         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54858         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54859         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54860         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54861         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54862         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54863         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54865 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54867         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54868         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54869         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54870         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54872 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54874         [BZ #14579]
54875         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54876         mode only.
54877         * elf/tst-rtld-load-self.sh: New test.
54878         * elf/Makefile: Run it.
54880 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54882         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54883         (tst-writev-ENV): Remove.
54884         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54886 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54888         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54890 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54892         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54893         unconditional.
54894         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54895         Likewise.
54896         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54897         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54898         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54899         Likewise.
54901 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54903         [BZ #14587]
54904         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54905         * config.make.in (have-cpp-asm-debuginfo): Removed.
54906         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54907         * configure: Regenerated.
54909 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54911         [BZ #5044]
54912         * stdio-common/printf_fp.c: Include <stdbool.h> and
54913         <rounding-mode.h>.
54914         (___printf_fp): Determine rounding using get_rounding_mode and
54915         round_away.
54916         * stdio-common/tst-printf-round.c: New file.
54917         * stdio-common/Makefile (tests): Add tst-printf-round.
54918         (link-libm): New variable.
54919         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54921 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54923         [BZ #14576]
54924         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54925         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54926         Likewise.
54927         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54928         Likewise.
54930 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54932         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54933         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54934         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54935         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54937 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54939         [BZ #14518]
54940         * include/rounding-mode.h: New file.
54941         * sysdeps/generic/get-rounding-mode.h: Likewise.
54942         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54943         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54944         (MAX_VALUE): New macro.
54945         (MIN_VALUE): Likewise.
54946         (overflow_value): New function.
54947         (underflow_value): Likewise.
54948         (round_and_return): Use overflow_value and underflow_value to
54949         determine return values in overflow and underflow cases.  Use
54950         round_away to determine rounding depending on rounding mode.
54951         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54952         determine return values in overflow and underflow cases.
54953         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54954         (struct test_results): New structure.
54955         (struct test): Use struct test_results to store expected results
54956         for all rounding modes.
54957         (TEST): Include expected results for all rounding modes.
54958         (test_in_one_mode): New function.
54959         (do_test): Use test_in_one_mode to compute and check results.
54960         Check results for all rounding modes.
54961         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54962         $(link-libm).
54964 2012-12-09  Allan McRae  <allan@archlinux.org>
54966         * sysdeps/i386/fpu/libm-test-ulps: Update
54968 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54970         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54971         (_G_int32_t): Likewise.
54972         (_G_uint16_t): Likewise.
54973         (_G_uint32_t): Likewise.
54974         (_G_HAVE_BOOL): Likewise.
54975         (_G_HAVE_ATEXIT): Likewise.
54976         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54977         (_G_HAVE_IO_FILE_OPEN): Likewise.
54978         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54979         (_G_int32_t): Likewise.
54980         (_G_uint16_t): Likewise.
54981         (_G_uint32_t): Likewise.
54982         (_G_HAVE_BOOL): Likewise.
54983         (_G_HAVE_ATEXIT): Likewise.
54984         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54985         (_G_HAVE_IO_FILE_OPEN): Likewise.
54986         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54987         (_G_int32_t): Likewise.
54988         (_G_uint16_t): Likewise.
54989         (_G_uint32_t): Likewise.
54990         (_G_HAVE_BOOL): Likewise.
54991         (_G_HAVE_ATEXIT): Likewise.
54992         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54993         (_G_HAVE_IO_FILE_OPEN): Likewise.
54995 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54997         * csu/libc-tls.c: Update copyright years.
54999 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55001         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55002         [!_G_USING_THUNKS]: Remove conditional code.
55003         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55004         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55006         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55007         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55008         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55009         (_G_VTABLE_LABEL_PREFIX): Likewise.
55010         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55011         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55012         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55013         (_G_VTABLE_LABEL_PREFIX): Likewise.
55014         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55015         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55016         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55017         (_G_VTABLE_LABEL_PREFIX): Likewise.
55018         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55020 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55022         * libio/Makefile: Include ../Makeconfig before tests.
55023         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55024         only if $(build-shared) is yes.
55026         * iconv/gconv_db.c: Update copyright years.
55028 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55030         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55031         unwind info if defined PIC. Fix special cases description.
55032         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55034         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55035         DP_HI_MASK entry.
55036         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55038 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55040         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55042         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55043         is NULL.
55045         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55046         (LDLIBS-tst-chk4): This.
55047         (LDFLAGS-tst-chk5): Renamed to ...
55048         (LDLIBS-tst-chk5): This.
55049         (LDFLAGS-tst-chk6): Renamed to ...
55050         (LDLIBS-tst-chk6): This.
55051         (LDFLAGS-tst-lfschk4): Renamed to ...
55052         (LDLIBS-tst-lfschk4): This.
55053         (LDFLAGS-tst-lfschk5): Renamed to ...
55054         (LDLIBS-tst-lfschk5): This.
55055         (LDFLAGS-tst-lfschk6): Renamed to ...
55056         (LDLIBS-tst-lfschk6): This.
55058         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55059         on $(common-objpfx)soversions.mk.
55061 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55063         [BZ #10014]
55064         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55065         example host name.
55067 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55069         * malloc/arena.c (arena_get_retry): New function that gets
55070         another arena for the caller to try its request on.
55071         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55072         current arena cannot fulfill the request.
55073         (__libc_memalign): Likewise.
55074         (__libc_memalign): Likewise.
55075         (__libc_pvalloc): Likewise.
55076         (__libc_calloc): Likewise.
55078 2012-09-05  John Tobey  <john.tobey@gmail.com>
55080         [BZ #13542]
55081         * manual/arith.texi (Operations on Complex): Fix description
55082         of carg branch cut.
55084 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55086         [BZ #10014]
55087         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55088         host name.
55090         [BZ #10038]
55091         * manual/memory.texi (Memory): Make order of menu items match
55092         order of sections.
55094 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55096         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55097         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55098         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55100 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55102         * csu/libc-tls.c (static_dtv): Renamed to ...
55103         (_dl_static_dtv): This.  Make it global.
55104         (_dl_initial_dtv): Removed.
55105         (__libc_setup_tls): Updated.
55106         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55107         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55108         DL_INITIAL_DTV.
55110 2012-09-06  Petr Machata  <pmachata@redhat.com>
55112         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55113         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55114         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55115         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55117 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55119         [BZ #14545]
55120         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55121         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55122         freeing dtv[-1].
55124 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55126         [BZ #14544]
55127         * Makeconfig (link-static-before-libc): Replace $(+prector)
55128         with $(+prectorT).
55129         (link-static-after-libc): Replace $(+postctor) with
55130         $(+postctorT).
55131         (link-bounded): Replace $(+prector)/$(+postctor) with
55132         $(+prectorT)/$(+postctorT).
55133         (+prectorT): New macro.
55134         (+postctorT): Likewise.
55136 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55138         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55139         (round_str): Handle values above the maximum for IBM long double
55140         as inexact.
55141         * stdlib/tst-strtod-round.c (tests): Regenerated.
55143 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55145         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55146         assembler flag.
55147         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55148         zarch_nohighgprs around the zarch optimized routines.
55149         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55150         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55152         for zarch.
55154 2012-09-05  David S. Miller  <davem@davemloft.net>
55156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55158         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55159         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55160         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55161         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55162         entries.
55164 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55166         * malloc/arena.c: Fold copyright years.
55167         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55169 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55171         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55173 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55175         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55177 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55179         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55180         change internal state upon failure.
55182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55184         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55185         * malloc/memusage.c (mmap): Likewise.
55186         (mmap64, mremap): Likewise.  Adjust name in comment.
55188 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55190         * libio/fileops.c: Fix typos in comments.
55191         * libio/oldfileops.c: Likewise.
55192         * libio/wfileops.c: Likewise.
55194 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55196         [BZ #1349]
55197         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55198         (tst-malloc-usable-ENV): Set environment for test case.
55199         * malloc/hooks.c (malloc_check_get_size): New function to get
55200         requested size.
55201         * malloc/malloc.c (musable): Use malloc_check_get_size.
55202         * malloc/tst-malloc-usable.c: New test case.
55204 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55206         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55208 2012-09-05  Allan McRae  <allan@archlinux.org>
55210         [BZ #13966]
55211         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55212         determine header location.
55213         * configure: Regenerated.
55215 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55217         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55218         float format.
55219         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55220         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55221         format.
55222         (test): Regenerate.
55224 2012-09-04  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55227         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55228         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55230 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55232         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55233         failures.
55235         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55237 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55239         [BZ #9914]
55240         * libio/iogetdelim.c: Include <limits.h>.
55241         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55242         + len + 1 would overflow.
55244 2012-09-03  Andreas Jaeger  <aj@suse.de>
55246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55247         * sysdeps/i386/fpu/libm-test-ulps: Update.
55249 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55251         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55252         Add s_sinf-sse2, s_conf-sse2.
55254         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55255         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55256         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55257         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55259         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55260         for using routine as __sinf_ia32.
55261         Use macro for function declaration and weak_alias.
55262         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55263         for using routine as __cosf_ia32.
55264         Use macro for function declaration and weak_alias.
55266         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55267         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55269         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55270         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55273         * math/libm-test.inc (cos_test): Add more test cases.
55274         (sin_test): Likewise.
55275         (sincos_test): Likewise.
55277 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55280         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55281         hidden.
55282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55284 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55286         [BZ #14538]
55287         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55288         first element of the GOT.
55289         (elf_machine_load_address): Return the difference between
55290         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55292 2012-09-01  Allan McRae  <allan@archlinux.org>
55294         [BZ #13412]
55295         * configure.in (AWK): Require gawk version 3.0 or later.
55296         * configure: Regenerated.
55298 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55300         * sysdeps/unix/sysv/linux/kernel-features.h
55301         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55302         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55303         [__NR_clock_getres]: Make code unconditional.
55304         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55305         (clock_getcpuclockid): Remove code left unreachable by removal of
55306         conditionals.
55307         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55308         code unconditional.
55309         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55310         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55311         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55312         Make code unconditional.
55313         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55314         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55315         * sysdeps/unix/sysv/linux/clock_settime.c
55316         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55317         conditional code.
55318         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55319         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55321 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55323         [BZ #14476]
55324         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
55325         scripts/test-installation.pl.
55327         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
55328         and $ld_so_version if it is set.
55330 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55332         [BZ #14516]
55333         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
55334         failure if reading from procfs failed.
55335         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
55337 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55339         * sysdeps/unix/sysv/linux/kernel-features.h
55340         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
55341         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55342         Remove conditional code.
55343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55344         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
55345         Remove conditional code.
55346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55347         * sysdeps/unix/sysv/linux/i386/fxstat.c
55348         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55349         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55350         * sysdeps/unix/sysv/linux/i386/fxstatat.c
55351         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55352         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55353         * sysdeps/unix/sysv/linux/i386/lxstat.c
55354         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
55355         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55356         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
55357         Remove conditional code.
55358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55359         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
55360         Remove conditional code.
55361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
55363         <kernel-features.h>.
55364         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
55365         Remove.
55366         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
55367         Remove conditional code.
55368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
55369         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
55370         Remove conditional.
55372 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
55374         [BZ #5400]
55375         * NEWS: Add fixed bug number.
55377 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
55379         [BZ #14519]
55380         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
55381         underflowing exponent in case of negative sign.
55382         * stdlib/tst-strtod-round-data: Add more tests.
55383         * stdlib/tst-strtod-round.c (tests): Regenerated.
55385         [BZ #3479]
55386         * stdlib/strtod_l.c (NDIG): Remove.
55387         (HEXNDIG): Likewise.
55388         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
55389         smallest representable value.
55390         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
55391         lie within an exact representation of 1/2 ulp of the result.
55392         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
55393         unconditionally.
55394         (TENS_P9_IDX): Define unconditionally.
55395         (TENS_P9_SIZE): Likewise.
55396         (TENS_P10_IDX): Likewise.
55397         (TENS_P10_SIZE): Likewise.
55398         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
55399         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
55400         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
55401         entries for 10^2^13 and 10^2^14.
55402         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
55403         (TENS_P13_IDX): Define.
55404         (TENS_P13_SIZE): Likewise.
55405         (TENS_P14_IDX): Likewise.
55406         (TENS_P14_SIZE): Likewise.
55407         (_fpioconst_pow10): Change array size to
55408         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
55409         unconditional.
55410         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
55411         1024]: Add entries for 10^2^13 and 10^2^14.
55412         [LAST_POW10 > _LAST_POW10]: Remove #error.
55413         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
55414         (_fpioconst_pow10): Change array size to
55415         FPIOCONST_POW10_ARRAY_SIZE.
55416         * stdlib/gen-fpioconst.c: New file.
55417         * stdlib/gen-tst-strtod-round.c: Likewise.
55418         * stdlib/tst-strtod-round-data: Likewise.
55419         * stdlib/tst-strtod-round.c: Likewise.
55420         * stdlib/Makefile (tests): Add tst-strtod-round.
55422         [BZ #14459]
55423         * stdlib/strtod_l.c: Include <stdint.h>.
55424         (NDEBUG): Do not define.
55425         (round_and_return): Change EXPONENT parameter to type intmax_t.
55426         Rearrange calculations to avoid internal overflow possibilities.
55427         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
55428         Rearrange calculations to avoid internal overflow possibilities.
55429         Assert that number fits inside MPNSIZE limbs.
55430         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
55431         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
55432         calculations and add assertions to avoid internal overflow
55433         possibilities.  Add casts to avoid signed/unsigned operations.
55434         * stdlib/tst-strtod-overflow.c: New file.
55435         * stdlib/Makefile (tests): Add tst-strtod-overflow.
55437 2012-08-25  Marek Polacek  <polacek@redhat.com>
55439         * time/time.h: Fix some typos in comments.
55441 2012-08-23  Roland McGrath  <roland@hack.frob.com>
55443         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
55444         * posix/tst-rfc3484-2.c: Likewise.
55445         * posix/tst-rfc3484-3.c: Likewise.
55447 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
55449         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
55450         (EF_ARM_ABI_FLOAT_HARD): Likewise.
55452 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
55454         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
55455         #include of fxstatat64.c.
55457 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55459         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
55460         * shadow/getspent_r.c: Likewise.
55461         * shadow/getspnam.c: Likewise.
55462         * shadow/getspnam_r.c: Likewise.
55463         * gshadow/getsgent.c: Likewise.
55464         * gshadow/getsgent_r.c: Likewise.
55465         * gshadow/getsgnam.c: Likewise.
55466         * gshadow/getsgnam_r.c: Likewise.
55467         * inet/getnetbyad.c: Likewise.
55468         * inet/getnetbyad_r.c: Likewise.
55469         * inet/getnetbynm.c: Likewise.
55470         * inet/getnetbynm_r.c: Likewise.
55471         * inet/getnetent.c: Likewise.
55472         * inet/getnetent_r.c: Likewise.
55473         * inet/getproto.c: Likewise.
55474         * inet/getproto_r.c: Likewise.
55475         * inet/getprtent.c: Likewise.
55476         * inet/getprtent_r.c: Likewise.
55477         * inet/getprtname.c: Likewise.
55478         * inet/getprtname_r.c: Likewise.
55479         * inet/getrpcbyname.c: Likewise.
55480         * inet/getrpcbyname_r.c: Likewise.
55481         * inet/getrpcbynumber.c: Likewise.
55482         * inet/getrpcbynumber_r.c: Likewise.
55483         * inet/getrpcent.c: Likewise.
55484         * inet/getrpcent_r.c: Likewise.
55485         * inet/getaliasent.c: Likewise.
55486         * inet/getaliasent_r.c: Likewise.
55487         * inet/getaliasname.c: Likewise.
55488         * inet/getaliasname_r.c: Likewise.
55489         * nscd/getgrgid_r.c: Likewise.
55490         * nscd/getgrnam_r.c: Likewise.
55491         * nscd/gethstbyad_r.c: Likewise.
55492         * nscd/gethstbynm3_r.c: Likewise.
55493         * nscd/getpwnam_r.c: Likewise.
55494         * nscd/getpwuid_r.c: Likewise.
55495         * nscd/getsrvbynm_r.c: Likewise.
55496         * nscd/getsrvbypt_r.c: Likewise.
55497         * nscd/gai.c: Likewise.
55499         * configure.in (build_nscd): New substituted variable, set
55500         by --disable-build-nscd and defaults to $use_nscd.
55501         * configure: Regenerated.
55502         * config.make.in (build-nscd): New substituted variable.
55503         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
55504         Change conditional to require [$(build-nscd) = yes] as well.
55505         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
55507         [BZ# 13696]
55508         * configure.in (use_nscd): New substituted variable, set by
55509         --disable-nscd.  If enabled, define USE_NSCD.
55510         * configure: Regenerated.
55511         * config.h.in: Add USE_NSCD.
55512         * config.make.in (use-nscd): New substituted variable.
55513         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
55514         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
55515         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
55516         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
55517         (CFLAGS-getgrnam_r.c): Likewise.
55518         (CFLAGS-initgroups.c): Likewise.
55519         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
55520         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
55521         Variables removed.
55522         * inet/getnetgrent_r.c
55523         (nscd_setnetgrent): New function, broken out of ...
55524         (setnetgrent): ... here.  Call it.
55525         (innetgr): Conditionalize nscd bits on [USE_NSCD].
55526         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
55527         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
55528         * nscd/Makefile (routines, aux): Move definitions after include of
55529         Makeconfig.  Conditionalize on [$(use-nscd) != no].
55530         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
55531         Conditionalize on [USE_NSCD].
55532         (is_nscd, nscd_init_cb): Likewise.
55533         (nss_load_library): Conditionalize init callback on [USE_NSCD].
55534         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
55535         * nss/nss_db/db-init.c: Likewise.
55536         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
55537         [USE_NSCD].
55538         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
55539         (make_request): Use it.
55540         (cache_valid_p): New function.
55541         (__check_pf): Use it.
55542         * NEWS: Add item for --disable-nscd.
55544 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
55546         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
55547         to support sed >= 4.2.1-20-ga9bf076.
55548         * configure: Regenerated.
55550 2012-08-22  Roland McGrath  <roland@hack.frob.com>
55552         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
55553         Conditionalize whole body on [IREL].
55555 2012-08-22  Jeff Law <law@redhat.com>
55557         [BZ #14505]
55558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
55559         if the family is PF_UNSPEC.
55561 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
55563         * Makerules (lib-version): Rename from V.
55564         (install-lib-nosubdir): Change V to lib-version.
55566 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
55568         [BZ #14252]
55569         * powerpc32/power6/wcschr.c: New file.
55570         * powerpc32/power6/wcscpy.c: New file.
55571         * powerpc32/power6/wcsrchr.c: New file.
55572         * powerpc64/power6/wcschr.c: New file.
55573         * powerpc64/power6/wcscpy.c: New file.
55574         * powerpc64/power6/wcsrchr.c: New file.
55576 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55578         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
55579         (two_way_short_needle): Use it.
55580         * string/strstr.c (AVAILABLE1_USES_J): Define.
55581         * string/strcasestr.c: Likewise.
55583         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
55584         array references.
55585         * string/strcasestr.c (TOLOWER): Make side-effect safe.
55587         [BZ #11607]
55588         * NEWS: Add an entry.
55589         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
55590         define their defaults.
55591         (two_way_short_needle): Detect end-of-string on-the-fly.
55592         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
55593         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
55594         * string/bug-strcasestr1.c: New test.
55595         * string/Makefile: Run it.
55597 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
55599         [BZ #11607]
55600         * string/str-two-way.h (two_way_short_needle): Optimize matching of
55601         the first character.
55603 2012-08-21  Roland McGrath  <roland@hack.frob.com>
55605         * csu/elf-init.c (__libc_csu_irel): Function removed.
55606         * csu/libc-start.c (apply_irel): New function.
55607         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
55609 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
55611         * sysdeps/unix/sysv/linux/kernel-features.h
55612         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
55613         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55614         <kernel-features.h>.
55615         [__NR_fadvise64_64]: Make code unconditional.
55616         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
55617         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55618         !__NR_fadvise64_64)]: Likewise.
55619         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
55620         !__NR_fadvise64_64))]: Likewise.
55621         [__NR_fadvise64]: Make code unconditional.
55622         [!__NR_fadvise64]: Remove conditional code.
55623         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
55624         <kernel-features.h>.
55625         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55626         unconditional.
55627         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55628         conditional code.
55629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
55630         not include <kernel-features.h>.
55631         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55632         unconditional.
55633         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55634         conditional code.
55635         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
55636         include <kernel-features.h>.
55637         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
55638         unconditional.
55639         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
55640         conditional code.
55642 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55644         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
55645         slight instruction rearrangements per scrollpipe analysis.
55646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55648 2012-08-20  Roland McGrath  <roland@hack.frob.com>
55650         * manual/syslog.texi (syslog; vsyslog, closelog):
55651         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
55652         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
55654         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
55655         DSOCAPS to match condition on defining it.
55657 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
55659         * sysdeps/unix/sysv/linux/kernel-features.h
55660         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
55661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
55662         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55663         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
55665         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55666         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
55668         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
55669         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
55671         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
55672         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
55674         * sysdeps/unix/sysv/linux/kernel-features.h
55675         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
55676         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
55677         unconditional.
55678         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55679         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
55680         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55681         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55682         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
55683         Make code unconditional.
55684         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55685         (__mmap64) [!__NR_mmap2]: Likewise.
55686         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
55687         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
55688         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55689         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
55690         [__NR_mmap2]: Make code unconditional.
55691         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
55692         (__mmap64) [!__NR_mmap2]: Likewise.
55694 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55696         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
55698 2012-08-18  Andreas Jaeger  <aj@suse.de>
55700         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
55702 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55704         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
55705         * include/unistd.h (__have_sock_cloexec): Likewise.
55706         (__have_pipe2): Likewise.
55707         (__have_dup3): Likewise.
55709 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
55711         [BZ #9685]
55712         * include/unistd.h (__have_pipe2): Change define into an extern int.
55713         (__have_dup3): Likewise.
55714         * socket/have_sock_cloexec.c: Include fcntl.h.
55715         (__have_pipe2): New variable.
55716         (__have_dup3): Likewise.
55718 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
55720         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
55722 2012-08-17  Marek Polacek  <polacek@redhat.com>
55724         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
55725         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
55727 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55729         * configure.in: Add AC_SUBST for sysheaders.
55730         * configure: Regenerated.
55731         * config.make.in (sysheaders): New substituted variable.
55733         * sysdeps/unix/mkfifo.c: Moved ...
55734         * sysdeps/posix/mkfifo.c: ... here.
55735         * sysdeps/unix/mkfifoat.c: Moved ...
55736         * sysdeps/posix/mkfifoat.c: ... here.
55738         * sysdeps/unix/utime.c: Moved ...
55739         * sysdeps/posix/utime.c: ... here.
55741         * sysdeps/unix/time.c: Moved ...
55742         * sysdeps/posix/time.c: ... here.
55743         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
55744         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
55746         * sysdeps/unix/nice.c: Moved ...
55747         * sysdeps/posix/nice.c: ... here.
55749         * sysdeps/unix/alarm.c: Moved ...
55750         * sysdeps/posix/alarm.c: ... here.
55752         * intl/Makefile ($(codeset_mo)): Depend on the input file.
55754 2012-08-17  Jeff Law <law@redhat.com>
55756         * intl/Makefile (codeset_mo): New variable.
55757         ($(codeset_mo)): New target.
55758         (tst-codeset.out): Depend on that.  Remove explicit rule.
55759         (tst-gettext3.out, tst-gettext5.out): Likewise.
55760         (LOCPATH-ENV, tst-codeset-ENV): New variables.
55761         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
55762         * intl/tst-codeset.sh: Remove.
55763         * intl/tst-gettext3.sh: Likewise.
55764         * intl/tst-gettext5.sh: Likewise.
55766 2012-08-17  Roland McGrath  <roland@hack.frob.com>
55768         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
55769         * sysdeps/unix/syscalls.list: ... here.
55771         * sysdeps/posix/getaddrinfo.c
55772         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
55773         (gaiconf_init, gaiconf_reload): Use them.
55774         [!_STATBUF_ST_NSEC]
55775         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
55776         Define using time_t rather than struct timespec.
55778         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
55779         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
55780         Macros removed.
55781         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
55782         [!NO_THREADS].
55783         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
55784         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
55785         Likewise.
55787         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
55788         __libc_cleanup_push argument.
55790         * bits/param.h: New file.
55791         * misc/sys/param.h: New file.
55792         * include/sys/param.h: New file.
55793         * misc/Makefile (headers): Add bits/param.h.
55794         * sysdeps/generic/sys/param.h: File removed.
55795         * sysdeps/unix/sysv/linux/bits/param.h: New file.
55796         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
55797         * sysdeps/mach/hurd/bits/param.h: New file.
55798         * sysdeps/mach/hurd/sys/param.h: File removed.
55800         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
55801         last change.
55803         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
55804         [_IO_MTSAFE_IO].
55805         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
55806         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
55807         New macros.
55809         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
55810         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
55811         rather than -D_IO_MTSAFE_IO conditionally.
55812         * stdio-common/Makefile (CPPFLAGS): Likewise.
55813         * wcsmbs/Makefile (CPPFLAGS): Likewise.
55814         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
55815         Use $(libio-mtsafe).
55816         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
55817         of -D_IO_MTSAFE_IO.
55818         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
55819         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
55820         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
55821         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
55822         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
55823         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
55824         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
55825         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
55826         (CFLAGS-fread_u_chk.c): Likewise.
55827         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
55828         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
55829         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
55830         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
55831         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
55832         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
55833         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
55834         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
55835         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
55837         * libio/Makefile: Test [$(libc-reentrant) = yes]
55838         instead of [$(filter %REENTRANT, $(defines)) nonempty].
55840         * Makeconfig
55841         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
55842         * sysdeps/pthread/configure: File removed.
55843         * sysdeps/pthread/Makeconfig: New file.
55844         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
55845         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
55847 2012-08-16  Gary Benson  <gbenson@redhat.com>
55849         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
55850         unmapping the first object in a namespace.
55852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55854         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55855         (__internal_setnetgrent): ... this.  Add internal_function to
55856         definition.  Add libc_hidden_def.
55857         (setnetgrent): Update caller.
55858         (internal_endnetgrent): Renamed to ...
55859         (__internal_endnetgrent): ... this.  Add internal_function to
55860         definition.  Add libc_hidden_def.
55861         (endnetgrent): Update caller.
55862         (internal_getnetgrent_r): Renamed to ...
55863         (__internal_getnetgrent_r): ... this.  Add internal_function to
55864         definition.  Add libc_hidden_def.
55865         (__getnetgrent_r): Update caller.
55866         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55868 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55870         * stdlib/longlong.h: Update from GCC.
55872 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55874         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55875         on _QL, which is set by umul_ppmm but never used.
55876         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55877         variables, which are set by GMP macros but never used.
55878         * stdio-common/_itowa.c (_itowa): Likewise.
55879         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55880         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55882 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55884         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55885         struct La_sh_regs is not constant.
55886         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55887         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55888         and struct La_sparc64_regs are not constant.
55890 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55892         * sysdeps/unix/sysv/linux/kernel-features.h
55893         (__ASSUME_POSIX_TIMERS): Remove.
55894         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55895         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55896         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55897         Make code unconditional.
55898         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55899         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55900         Make code unconditional.
55901         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55902         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55903         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55904         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55905         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55906         Make code unconditional.
55907         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55908         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55909         (__libc_missing_posix_timers): Remove.
55911 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55913         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55914         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55916         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55918         * elf/dl-sym.c: Include <stdlib.h>.
55920         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55921         constants, which avoids warnings in 32-bit builds.
55923         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55924         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55926         * misc/lseek.c: File moved to ...
55927         * io/lseek.c: ... here.
55929         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55931         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55932         shifting LEN more than 31 bits at once.
55934 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55936         [BZ #14195]
55937         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55938         segmentation fault for a case of two empty input strings.
55939         * string/test-strncasecmp.c (check1): Renamed to...
55940         (bz12205): ...this.
55941         (bz14195): Add new testcase for two empty input strings and N > 0.
55942         (test_main): Call new testcase, adapt for renamed function.
55944 2012-08-15  Andreas Jaeger  <aj@suse.de>
55946         [BZ #14090]
55947         * crypt/md5test2.c: New test, based on test supplied by Serge
55948         Belyshev <belyshev@depni.sinp.msu.ru>.
55949         * crypt/Makefile (xtests): Add md5test-giant..
55950         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55952 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55954         [BZ #14090]
55955         * crypt/md5.c (md5_process_block): Don't assume the buffer
55956         length is less than 2**32.
55957         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55958         length is less than 2**64.
55960 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55962         * string/str-two-way.h: Include <sys/param.h>.
55963         (MAX): Macro removed.
55965         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55966         Move #define and #undef of memmove to just before and after
55967         including <string.h>.
55969         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55970         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55971         and after including <string.h>.  Move declarations of
55972         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55973         to before #include "string/memmove.c".
55975         * include/dirent.h: Declare __getdirentries.
55977         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55978         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55980 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55982         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55983         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55984         * sysdeps/i386/configure: Regenerated.
55985         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55986         STABS_CURRENT_FILE, and STABS_FUN.
55987         (END): Remove call to STABS_FUN_END.
55988         (STABS_CURRENT_FILE1): Delete.
55989         (STABS_CURRENT_FILE): Likewise.
55990         (STABS_FUN): Likewise.
55991         (STABS_FUN_END): Likewise.
55992         (STABS_FUN2): Likewise.
55993         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55994         * sysdeps/x86_64/configure: Regenerated.
55996 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55998         * elf/dl-open.c: Include <atomic.h>.
55999         * elf/dl-lookup.c: Likewise.
56001 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56003         * sysdeps/unix/sysv/linux/kernel-features.h
56004         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56005         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56006         unconditionally.
56007         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56008         unconditionally.
56009         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56010         condition on __ASSUME_CLONE_THREAD_FLAGS.
56012 2012-08-14  Andreas Jaeger  <aj@suse.de>
56014         * sysdeps/i386/fpu/libm-test-ulps: Update.
56016 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56018         * include/atomic.h (atomic_exchange_and_add): Split into ...
56019         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56020         New atomic macros.
56022 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56026 2012-08-13  Jeff Law <law@redhat.com>
56028         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56029         null byte in the output string.
56031 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56033         * sysdeps/unix/sysv/linux/kernel-features.h
56034         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56035         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56036         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56037         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56038         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56039         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56040         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56042 2012-08-09  Jeff Law <law@redhat.com>
56044         [BZ #13939]
56045         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56046         When avoid_arena is set, don't retry in the that arena.  Pick the
56047         next one, whatever it might be.
56048         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56049         (arena_lock): Pass in new parameter to arena_get2.
56050         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56051         arena_get2.
56052         (__libc_malloc): Unify retrying after main arena failure with
56053         __libc_memalign version.
56054         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56056 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56058         [BZ #14166]
56059         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56060         to __redirect_strstr.
56061         (__strstr_sse42): Use typeof __redirect_strstr.
56062         (__strstr_ia32): Likewise.
56063         (__libc_strstr): New prototype.
56064         (strstr): Renamed to ...
56065         (__libc_strstr): This.
56066         (strstr): New strong alias of __libc_strstr.
56067         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56068         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56069         __redirect_time.
56070         Include <time.h>.
56071         (__libc_time): New prototype.
56072         (time_ifunc): Replace time with __libc_time.
56073         (time): New strong alias and hidden definition of __libc_time.
56074         (__GI_time): Remove strong alias.
56075         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56076         Include <stddef.h>.
56077         (memmove): Redefined to __redirect_memmove.
56078         (__memmove_sse2): Use typeof __redirect_memmove.
56079         (__memmove_ssse3): Likewise.
56080         (__memmove_ssse3_back): Likewise.
56081         (__libc_memmove): New prototype.
56082         (memmove): Renamed to ...
56083         (__libc_memmove): This.
56084         (memmove): New strong alias of __libc_memmove.
56086 2012-08-08  Mark Salter  <msalter@redhat.com>
56088         * elf/elf.h
56089         (R_MN10300_TLS_GD): Define.
56090         (R_MN10300_TLS_LD): Likewise.
56091         (R_MN10300_TLS_LDO): Likewise.
56092         (R_MN10300_TLS_GOTIE): Likewise.
56093         (R_MN10300_TLS_IE): Likewise.
56094         (R_MN10300_TLS_LE): Likewise.
56095         (R_MN10300_TLS_DTPMOD): Likewise.
56096         (R_MN10300_TLS_DTPOFF): Likewise.
56097         (R_MN10300_TLS_TPOFF): Likewise.
56098         (R_MN10300_SYM_DIFF): Likewise.
56099         (R_MN10300_ALIGN): Likewise.
56100         (R_MN10300_NUM): Update.
56102 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56105         Remove.
56107 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56109         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56111         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56112         sysdeps/unix -> sysdeps/posix move.
56113         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56115 2012-08-07      Allan McRae     <allan@archlinux.org>
56117         [BZ #14303]
56118         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56119         (SUNOS_CPP): Likewise.
56120         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56121         not found.
56122         (open_input): Call CPP using execvp.
56124 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56126         * sysdeps/unix/sysv/linux/kernel-features.h
56127         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56128         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56129         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56130         (__ASSUME_WAITID_SYSCALL): Likewise.
56131         * sysdeps/unix/sysv/linux/dl-execstack.c
56132         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56133         code unconditional.
56134         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56135         conditional code.
56136         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56137         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56138         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56139         code.
56140         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56141         unconditional.
56142         [__ASSUME_WAITID_SYSCALL]: Likewise.
56143         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56145 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56147         * sysdeps/unix/closedir.c: Renamed to ...
56148         * sysdeps/posix/closedir.c: ... here.
56149         * sysdeps/unix/dirfd.c: Renamed to ...
56150         * sysdeps/posix/dirfd.c: ... here.
56151         * sysdeps/unix/dirstream.h: Renamed to ...
56152         * sysdeps/posix/dirstream.h: ... here.
56153         * sysdeps/unix/fdopendir.c: Renamed to ...
56154         * sysdeps/posix/fdopendir.c: ... here.
56155         * sysdeps/unix/opendir.c: Renamed to ...
56156         * sysdeps/posix/opendir.c: ... here.
56157         * sysdeps/unix/readdir.c: Renamed to ...
56158         * sysdeps/posix/readdir.c: ... here.
56159         * sysdeps/unix/readdir_r.c: Renamed to ...
56160         * sysdeps/posix/readdir_r.c: ... here.
56161         * sysdeps/unix/rewinddir.c: Renamed to ...
56162         * sysdeps/posix/rewinddir.c: ... here.
56163         * sysdeps/unix/seekdir.c: Renamed to ...
56164         * sysdeps/posix/seekdir.c: ... here.
56165         * sysdeps/unix/telldir.c: Renamed to ...
56166         * sysdeps/posix/telldir.c: ... here.
56167         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56168         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56169         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56170         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56172         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56173         * bits/fcntl.h: ... here.
56175         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56176         not 0.
56177         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56178         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56179         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56180         (struct flock): Move l_start, l_len to the beginning.
56181         Use __pid_t for l_pid.
56182         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56183         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56184         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56185         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56186         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56187         [__USE_LARGEFILE64] (struct flock64): New type.
56188         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56190         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56191         * bits/dirent.h: ... here.
56193         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56194         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56196 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56199         Change from 2.6.0 to 2.6.16.
56200         * sysdeps/unix/sysv/linux/configure: Regenerated.
56201         * sysdeps/unix/sysv/linux/kernel-features.h
56202         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56203         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56204         version.
56205         (__ASSUME_UTIMES): Likewise.
56206         (__ASSUME_CLONE_STOPPED): Remove.
56207         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56208         architectures, not kernel version.
56209         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56210         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56211         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56212         (__ASSUME_WAITID_SYSCALL): Likewise.
56213         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56214         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56215         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56216         refer to older versions.
56218 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56220         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56221         Define alphasort64 as an alias.
56222         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56223         Define versionsort64 as an alias.
56224         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56225         Define scandir64 as an alias.
56226         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56227         Define scandirat64 as an alias.
56228         * dirent/alphasort64.c (alphasort64):
56229         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56230         * dirent/versionsort64.c: Likewise.
56231         * dirent/scandir64.c: Likewise.
56232         * dirent/scandirat64.c: Likewise.
56233         * sysdeps/wordsize-64/alphasort.c: File removed.
56234         * sysdeps/wordsize-64/alphasort64.c: File removed.
56235         * sysdeps/wordsize-64/scandir.c: File removed.
56236         * sysdeps/wordsize-64/scandir64.c: File removed.
56237         * sysdeps/wordsize-64/scandirat.c: File removed.
56238         * sysdeps/wordsize-64/scandirat64.c: File removed.
56239         * sysdeps/wordsize-64/versionsort.c: File removed.
56240         * sysdeps/wordsize-64/versionsort64.c: File removed.
56241         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56242         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56243         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56244         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56245         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56246         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56247         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56248         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56250         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56251         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56252         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56253         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56254         [defined __arch64__ || defined __sparcv9]
56255         (__INO_T_MATCHES_INO64_T): New macro.
56256         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56257         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56258         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56259         * sysdeps/unix/sysv/linux/bits/dirent.h
56260         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56261         (_DIRENT_MATCHES_DIRENT64): New macro.
56263         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56264         Define lockf64 as an alias.
56265         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56266         Define fseeko64 as an alias.
56267         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56268         Define ftello64 as an alias.
56269         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56270         Define _IO_fgetpos64 and fgetpos64 as aliases.
56271         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56272         Define _IO_fsetpos64 and fsetpos64 as aliases.
56273         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56274         Conditionalize body on this.
56275         * libio/fseeko64.c: Likewise.
56276         * libio/ftello64.c: Likewise.
56277         * libio/iofgetpos64.c: Likewise.
56278         * libio/iofsetpos64.c: Likewise.
56279         * sysdeps/wordsize-64/lockf.c: File removed.
56280         * sysdeps/wordsize-64/lockf64.c: File removed.
56281         * sysdeps/wordsize-64/fseeko.c: File removed.
56282         * sysdeps/wordsize-64/fseeko64.c: File removed.
56283         * sysdeps/wordsize-64/ftello.c: File removed.
56284         * sysdeps/wordsize-64/ftello64.c: File removed.
56285         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56286         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56287         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56288         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56289         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56290         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56291         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56292         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56293         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56294         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56297         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56300         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56302         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56303         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56304         [defined __arch64__ || defined __sparcv9]
56305         (__OFF_T_MATCHES_OFF64_T): New macro.
56306         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56307         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56309         (__OFF_T_MATCHES_OFF64_T): New macro.
56311 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56313         * stdlib/secure-getenv.c (__secure_getenv): Replace
56314         GLIBC_2_16 with GLIBC_2_17.
56316 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56319         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56321 2012-08-03  David S. Miller  <davem@davemloft.net>
56323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56325 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
56328         Remove.
56329         (__ASSUME_CORRECT_SI_PID): Likewise.
56330         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
56331         (__ASSUME_TMPFS_NAME): Likewise.
56332         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
56333         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
56334         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
56335         (HAVE_AUX_SECURE): Make definition unconditional.
56336         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
56337         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
56339 2012-08-03  Roland McGrath  <roland@hack.frob.com>
56341         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
56342         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
56343         * sysdeps/mach/hurd/eloop-threshold.h: New file.
56344         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56345         __eloop_threshold instead of SYMLOOP_MAX.
56347         * sysdeps/generic/eloop-threshold.h: New file.
56348         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
56349         of MAXSYMLINKS.
56350         * elf/chroot_canon.c (chroot_canon): Likewise.
56352 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
56354         [BZ #13717]
56355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56356         Change to 2.6.0 everywhere.
56357         * sysdeps/unix/sysv/linux/configure: Regenerated.
56358         * sysdeps/unix/sysv/linux/kernel-features.h
56359         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
56360         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
56361         kernel versions.
56362         (__ASSUME_POSIX_TIMERS): Define unconditionally.
56363         (__ASSUME_FUTEX_REQUEUE): Remove.
56364         (__ASSUME_STATFS64): Define unconditionally.
56365         (__ASSUME_AT_SECURE): Likewise.
56366         (__ASSUME_CORRECT_SI_PID): Likewise.
56367         (__ASSUME_TGKILL): Define without depending on kernel version for
56368         i386.
56369         (__ASSUME_UTIMES): Likewise.
56370         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56371         kernel version.
56372         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
56373         (__ASSUME_TMPFS_NAME): Likewise.
56374         * README: Update reference to Linux kernel versions.
56376 2012-08-02  Marek Polacek  <polacek@redhat.com>
56378         [BZ# 14150]
56379         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
56380         libc_cv_asm_type_prefix with %.
56381         * configure: Regenerated.
56382         * include/libc-symbols.h: Remove comment about
56383         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56384         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
56385         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
56386         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
56387         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
56388         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
56389         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
56390         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
56391         * elf/tst-unique2mod1.c: Likewise.
56392         * elf/tst-unique1mod2.c: Likewise.
56393         * elf/tst-unique1mod1.c: Likewise.
56394         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
56395         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
56396         Replace ASM_TYPE_DIRECTIVE with .type.
56397         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56398         * sysdeps/i386/sysdep.h: Likewise.
56399         * sysdeps/x86_64/sysdep.h: Likewise.
56400         * sysdeps/sh/sysdep.h: Likewise.
56401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56402         Do not define ASM_TYPE_DIRECTIVE.
56403         * sysdeps/powerpc/sysdep.h: Likewise.
56404         * sysdeps/powerpc/powerpc32/sysdep.h:
56405         Replace ASM_TYPE_DIRECTIVE with .type.
56406         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56407         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56408         * sysdeps/i386/fpu/e_powf.S: Likewise.
56409         * sysdeps/i386/fpu/e_expl.S: Likewise.
56410         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56411         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56412         * sysdeps/i386/fpu/e_pow.S: Likewise.
56413         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56414         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56415         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56416         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56417         * sysdeps/i386/fpu/e_log2.S: Likewise.
56418         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56419         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56420         * sysdeps/i386/fpu/e_powl.S: Likewise.
56421         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56422         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56423         * sysdeps/i386/fpu/e_logl.S: Likewise.
56424         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56425         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56426         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56427         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56428         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56429         * sysdeps/i386/fpu/e_log.S: Likewise.
56430         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56431         * sysdeps/i386/fpu/e_logf.S: Likewise.
56432         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56433         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56434         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56435         * sysdeps/i386/fpu/e_log10.S: Likewise.
56436         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56437         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56438         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56439         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56440         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56441         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
56442         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56443         * sysdeps/i386/i686/strtok.S: Likewise.
56444         * sysdeps/i386/i386-mcount.S: Likewise.
56445         * sysdeps/i386/strtok.S: Likewise.
56446         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
56447         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56448         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56449         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56450         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
56451         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56452         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56453         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56454         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56455         * sysdeps/x86_64/_mcount.S: Likewise.
56456         * sysdeps/x86_64/strtok.S: Likewise.
56457         * sysdeps/sh/_mcount.S: Likewise.
56459 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56461         * libio/iofopen.c: Include <fcntl.h>.
56462         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
56463         (_IO_fopen64, fopen64): Define as aliases.
56464         * libio/iofopen64.c: Include <fcntl.h>.
56465         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
56466         Conditionalize body on this.
56467         * sysdeps/wordsize-64/iofopen.c: File removed.
56468         * sysdeps/wordsize-64/iofopen64.c: File removed.
56470 2012-08-01  Marek Polacek  <polacek@redhat.com>
56472         * libc/Makeconfig: Use elf in place of binfmt-subdir.
56473         Use dlfcn directly instead of a variable.
56474         (binfmt-subdir): Do not define.
56475         (dlfcn): Likewise.
56477 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
56479         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
56480         Remove all definitions.
56481         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
56482         <kernel-features.h>.
56483         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56484         (miss_F_GETOWN_EX): Remove all definitions.
56485         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
56486         macro definition.
56487         [!__ASSUME_FCNTL64]: Remove conditional code.
56488         [__ASSUME_FCNTL64]: Make code unconditional.
56489         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
56490         <kernel-features.h>.
56491         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
56492         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
56493         (lockf64) [__NR_fcntl64]: Make code unconditional.
56494         (lockf64) [__ASSUME_FCNTL64]: Likewise.
56496         * sysdeps/unix/sysv/linux/kernel-features.h
56497         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
56498         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
56499         Make code unconditional.
56500         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56501         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
56503         [__NR_vfork]: Make code unconditional.
56504         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56505         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
56507         [__NR_vfork]: Make code unconditional.
56508         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
56509         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
56511 2012-08-01  Roland McGrath  <roland@hack.frob.com>
56513         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56514         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
56516         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56517         Define mkstemp64 as an alias.
56518         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56519         Define mkstemps64 as an alias.
56520         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56521         Define mkostemp64 as an alias.
56522         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
56523         Define mkostemps64 as an alias.
56524         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
56525         Conditionalize body on this.
56526         * misc/mkostemp64.c: Likewise.
56527         * misc/mkostemps64.c: Likewise.
56528         * misc/mkstemps64.c: Likewise.
56529         * sysdeps/wordsize-64/mkstemp64.c: File removed.
56530         * sysdeps/wordsize-64/mkostemp64.c: File removed.
56531         * sysdeps/wordsize-64/mkostemp.c: File removed.
56532         * sysdeps/wordsize-64/mkstemp.c: File removed.
56533         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
56534         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
56535         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
56536         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
56538         [BZ #14138]
56539         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
56540         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
56541         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
56542         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
56544         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
56545         compat_symbol macros from <shlib-compat.h> rather than the underlying
56546         default_symbol_version and symbol_version macros, so that DEFAULT
56547         lines in shlib-versions are respected.
56548         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
56550 2012-08-01  Florian Weimer  <fweimer@redhat.com>
56552         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
56553         Declare with warn_unused_result.
56554         (setgid, setregid, setegid, setresgid): Likewise.
56555         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
56556         Likewise.
56557         * WUR-REPORT: Remove set*id functions.
56559 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
56561         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
56563 2012-07-31  Roland McGrath  <roland@hack.frob.com>
56565         [BZ #10191]
56566         * include/sys/socket.h (__libc_accept, __libc_accept4):
56567         Add attribute_hidden.
56568         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
56570         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
56571         use of PTR_MANGLE.
56572         * inet/getnetgrent_r.c (setup): Likewise.
56574         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
56576 2012-07-31  David S. Miller  <davem@davemloft.net>
56578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56580 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
56582         [BZ #13629]
56583         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
56584         value between 1.0 and 2.0 and smaller part has absolute value less
56585         than 1.0.
56586         * math/s_clog10.c (__clog10): Likewise.
56587         * math/s_clog10f.c (__clog10f): Likewise.
56588         * math/s_clog10l.c (__clog10l): Likewise.
56589         * math/s_clogf.c (__clogf): Likewise.
56590         * math/s_clogl.c (__clogl): Likewise.
56591         * math/libm-test.inc (clog_test): Add more tests.
56592         (clog10_test): Likewise.
56593         * sysdeps/i386/fpu/libm-test-ulps: Update.
56594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56596 2012-07-31  Florian Weimer  <fweimer@redhat.com>
56598         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
56599         Exit with zero in case no suitable GID is found, and write a
56600         message to standard error.
56602 2012-07-30  Roland McGrath  <roland@hack.frob.com>
56604         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
56605         rather than to 1.
56606         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
56607         (MAXPATHLEN): Removed.
56608         (NOGROUP, NODEV): New macros.
56609         (setbit, clrbit, isset, isclr): New macros.
56610         (howmany, roundup, powerof2): New macros.
56611         (DEV_BSIZE): New macro.
56613         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
56614         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
56616         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
56617         definition on [!__NO_LONG_DOUBLE_MATH].
56619         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
56620         PTR_MANGLE and PTR_DEMANGLE.
56622         * socket/accept4.c (accept4): Rename to __libc_accept4.
56623         Define accept4 as a weak alias.
56625         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
56626         on [_DIRENT_HAVE_D_TYPE].
56627         * io/ftw.c (ftw_dir): Likewise.
56629         * io/xmknod.c (__xmknod): Don't check PATH for being null.
56631         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
56633         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
56634         Use the BSD numbers rather than the arbitrary ones we had.
56635         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
56636         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
56637         (SIGXCPU, SIGXFSZ): New macros.
56638         (_NSIG): Now 32.
56640         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
56641         initializer on [_LIBC_REENTRANT].
56643         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
56644         definitions inside [_POSIX_MAPPED_FILES].
56646         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
56648         * dirent/opendir.c: Include <fcntl.h>.
56650         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
56651         (__libc_getspecific): Likewise.
56652         (__libc_key_create): Likewise.
56654         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
56655         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
56656         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
56657         (tmpfile64): Define as alias.
56658         * sysdeps/wordsize-64/tmpfile.c: File removed.
56659         * sysdeps/wordsize-64/tmpfile64.c: File removed.
56660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
56661         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
56663         * stdio-common/vfscanf.c: Include <stdbool.h>.
56664         * nss/makedb.c: Likewise.
56665         * stdio-common/_i18n_number.h: Likewise.
56666         * argp/argp-help.c: Likewise.
56667         * posix/wordexp.c: Likewise.
56668         * sysdeps/posix/spawni.c: Likewise.
56669         * nss/nss_files/files-initgroups.c: Likewise.
56670         * stdio-common/reg-modifier.c: Include <stdlib.h>.
56671         * nss/nss_files/files-initgroups.c: Likewise.
56672         * nss/nss_db/db-netgrp.c: Likewise.
56673         * nss/nss_db/db-initgroups.c: Likewise.
56674         * io/fchmodat.c: Include <sys/stat.h>.
56676         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
56677         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
56679         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
56680         [HAVE_MMAP].
56682         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
56683         Add multiple inclusion protection.
56685 2012-07-27  David S. Miller  <davem@davemloft.net>
56687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56689 2012-07-27  Gary Benson  <gbenson@redhat.com>
56691         [BZ #14298]
56692         * elf/rtld.c: Include <stap-probe.h>.
56693         (dl_main): Added static probes "init_start" and "init_complete".
56694         * elf/dl-load.c: Include <stap-probe.h>.
56695         (lose): Take new parameter "nsid".
56696         Added static probe "map_failed".
56697         (_dl_map_object_from_fd): Pass namespace id to lose.
56698         Added static probe "map_start".
56699         (open_verify): Pass namespace id to lose.
56700         * elf/dl-open.c: Include <stap-probe.h>.
56701         (dl_open_worker) Added static probes "map_complete", "reloc_start"
56702         and "reloc_complete".
56703         * elf/dl-close.c: Include <stap-probe.h>.
56704         (_dl_close_worker): Added static probes "unmap_start" and
56705         "unmap_complete".
56706         * elf/rtld-debugger-interface.txt: New file documenting the above.
56708 2012-07-26  Roland McGrath  <roland@hack.frob.com>
56710         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
56711         rather than a string variable.
56712         * sunrpc/rpc_main.c (h_output): Likewise.
56713         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
56715 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
56717         * inet/check_native.c: New file.
56719 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
56721         [BZ #13629]
56722         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
56723         if larger part has absolute value 1.0.
56724         * math/s_clog10.c (__clog10): Likewise.
56725         * math/s_clog10f.c (__clog10f): Likewise.
56726         * math/s_clog10l.c (__clog10l): Likewise.
56727         * math/s_clogf.c (__clogf): Likewise.
56728         * math/s_clogl.c (__clogl): Likewise.
56729         * math/libm-test.inc (clog_test): Add more tests.
56730         (clog10_test): Likewise.
56731         * sysdeps/i386/fpu/libm-test-ulps: Update.
56732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56734         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
56735         (pltexit): Likewise.
56736         (La_regs): Likewise.
56737         (La_retval): Likewise.
56738         (int_retval): Likewise.
56739         Update #error for removed macros to refer only to definitions in
56740         tst-audit.h.
56741         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
56742         macro.
56743         (pltexit): Likewise.
56744         (La_regs): Likewise.
56745         (La_retval): Likewise.
56746         (int_retval): Likewise.
56747         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
56748         macro.
56749         (pltexit): Likewise.
56750         (La_regs): Likewise.
56751         (La_retval): Likewise.
56752         (int_retval): Likewise.
56753         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
56754         macro.
56755         (pltexit): Likewise.
56756         (La_regs): Likewise.
56757         (La_retval): Likewise.
56758         (int_retval): Likewise.
56759         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
56760         macro.
56761         (pltexit): Likewise.
56762         (La_regs): Likewise.
56763         (La_retval): Likewise.
56764         (int_retval): Likewise.
56765         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
56766         macro.
56767         (pltexit): Likewise.
56768         (La_regs): Likewise.
56769         (La_retval): Likewise.
56770         (int_retval): Likewise.
56771         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
56772         macro.
56773         (pltexit): Likewise.
56774         (La_regs): Likewise.
56775         (La_retval): Likewise.
56776         (int_retval): Likewise.
56777         * sysdeps/generic/tst-audit.h: Update comment to refer only to
56778         macro definitions in tst-audit.h.
56779         * sysdeps/i386/tst-audit.h: New file.
56780         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
56781         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
56782         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
56783         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
56784         * sysdeps/sh/tst-audit.h: Likewise.
56785         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
56786         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
56787         * sysdeps/x86_64/tst-audit.h: Likewise.
56789 2012-07-26  Andreas Jaeger  <aj@suse.de>
56791         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
56792         ptrace.
56794         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
56795         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
56796         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
56797         PTRACE_O_MASK.
56798         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
56799         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
56800         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
56802         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
56803         value.
56805         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
56806         _sigsys.
56807         (si_call_addr, si_syscall, si_arch): Define new macro.
56808         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
56809         _sigsys.
56810         (si_call_addr, si_syscall, si_arch): Define new marcro.
56811         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
56812         _sigsys.
56813         (si_call_addr, si_syscall, si_arch): Define new macro.
56814         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
56815         _sigsys.
56816         (si_call_addr, si_syscall, si_arch): Define new macro.
56818 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56820         [BZ #13717]
56821         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56822         Change to 2.4.21 where previously 2.4.1.
56823         * sysdeps/unix/sysv/linux/configure: Regenerated.
56824         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
56825         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
56826         Linux kernel version.
56827         (__ASSUME_STD_AUXV): Remove.
56828         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
56829         kernel version.
56830         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
56831         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
56832         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
56833         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
56834         (__ASSUME_NETLINK_SUPPORT): Likewise.
56835         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
56836         (__no_netlink_support): Remove conditional definition.
56837         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
56838         Remove.
56839         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56840         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
56841         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
56842         (if_nameindex_ioctl): Remove.
56843         (if_nameindex_netlink): Do not handle __no_netlink_support.
56844         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56845         code.
56846         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
56847         Remove conditional code.
56848         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
56849         code.
56850         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
56851         unconditional.
56852         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56853         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56854         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56855         Remove.
56856         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56857         [!__ASSUME_STD_AUXV]: Remove conditional code.
56858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56859         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56860         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56862         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56863         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56864         code.
56865         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56867         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56868         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56869         conditional code.
56870         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56872         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56873         code.
56874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56875         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56876         conditional code.
56877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56878         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56879         code unconditional.
56880         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56881         conditional code.
56882         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56883         unconditional.
56884         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56885         conditional code.
56886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56887         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56888         unconditional.
56889         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56890         conditional code.
56891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56892         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56893         code unconditional.
56894         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56895         conditional code.
56896         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56897         unconditional.
56898         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56899         conditional code.
56900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56901         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56902         code unconditional.
56903         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56904         conditional code.
56905         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56906         unconditional.
56907         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56908         conditional code.
56910 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56912         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56913         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56914         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56915         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56916         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56917         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56918         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56919         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56920         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56921         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56922         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56923         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56924         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56925         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56926         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56927         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56928         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56929         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56930         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56931         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56932         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56933         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56934         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56936 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56938         * Versions.def: Add GLIBC_2.17.
56939         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56940         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56941         Introduce __libc_secure_getenv.
56942         * stdlib/Versions (2.17): Add secure_getenv
56943         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56944         * stdlib/secure-getenv.c: Rename __secure_getenv to
56945         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56946         symbol __secure_getenv for GLIBC_2.0.
56947         * stdlib/tst-secure-getenv.c: New.
56948         * stdlib/Makefile (tests): Add testcase.
56949         * manual/startup.texi (Environment Access): Document
56950         secure_getenv.
56951         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56952         __libc_secure_getenv.
56953         * inet/ruserpass.c (ruserpass): Likewise.
56954         * malloc/mtrace.c (mtrace): Likewise.
56955         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56956         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56957         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56958         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56959         HAVE_SECURE_GETENV.
56960         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56961         __secure_getenv to __libc_secure_getenv.
56962         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56964         Likewise.
56965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56966         Likewise.
56967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56975 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56977         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56978         (struct La_i86_retval): Likewise.
56979         (struct La_x86_64_regs): Likewise.
56980         (struct La_x86_64_retval): Likewise.
56981         (struct La_x32_regs): Likewise.
56982         (struct La_x32_retval): Likewise.
56983         (struct La_ppc32_regs): Likewise.
56984         (struct La_ppc32_retval): Likewise.
56985         (struct La_ppc64_regs): Likewise.
56986         (struct La_ppc64_retval): Likewise.
56987         (struct La_sh_regs): Likewise.
56988         (struct La_sh_retval): Likewise.
56989         (struct La_s390_32_regs): Likewise.
56990         (struct La_s390_32_retval): Likewise.
56991         (struct La_s390_64_regs): Likewise.
56992         (struct La_s390_64_retval): Likewise.
56993         (struct La_sparc32_regs): Likewise.
56994         (struct La_sparc32_retval): Likewise.
56995         (struct La_sparc64_regs): Likewise.
56996         (struct La_sparc64_retval): Likewise.
56997         (struct audit_ifaces): Remove architecture-specific pltenter and
56998         pltexit members.
56999         * sysdeps/i386/ldsodefs.h: New file.
57000         * sysdeps/powerpc/ldsodefs.h: Likewise.
57001         * sysdeps/s390/ldsodefs.h: Likewise.
57002         * sysdeps/sh/ldsodefs.h: Likewise.
57003         * sysdeps/sparc/ldsodefs.h: Likewise.
57004         * sysdeps/x86_64/ldsodefs.h: Likewise.
57006 2012-07-25  Marek Polacek  <polacek@redhat.com>
57008         [BZ #6808]
57009         * math/libm-test.inc (yn_test): Add another test.
57010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57011         to ERANGE when the result is +-Inf.
57012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57013         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57014         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57015         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57017 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57019         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57020         equal to 0.
57021         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57022         clock_t.
57023         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57025 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57027         * configure.in <sysdeps resolving>: Correct printing
57028         Implies_before.
57029         * configure: Regenerate.
57031 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57033         * math/w_ilogb.c: Include <limits.h>.
57034         * math/w_ilogbl.c: Likewise.
57036 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57038         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57039         va_copy.  Document allowing for unavailable va_copy only as
57040         pre-C99 compatibility.
57041         * manual/string.texi (Copying and Concatenation): Use va_copy
57042         instead of __va_copy in concat example.
57044 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57046         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57047         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57048         it if not null.
57050         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57051         with O_NOLINK passed to __file_name_lookup.
57053         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57054         with O_NOLINK passed to __file_name_lookup.
57056         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57057         negative N or less than NGIDS.
57059         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57060         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57061         enough.  Use memcpy instead of strncpy.
57063 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57065         * elf/Makefile (check-data): Remove.
57066         (localplt.data): New vpath directive.
57067         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57068         instead of $(check-data).
57069         * scripts/data/localplt-generic.data: Move to ...
57070         * sysdeps/generic/localplt.data: ... here.
57071         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57072         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57073         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57075         ... here.
57076         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57078         ... here.
57079         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57081         ... here.
57082         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57084         ... here.
57085         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57087         ... here.
57088         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57090         ... here.
57092 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57094         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57095         PPC32 and PPC64 files.
57096         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57097         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57099 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57101         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57102         __makecontext_ret to ...
57103         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57104         ... here and call exit if uc_link is NULL.  New file.
57105         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57106         __makecontext_ret.S.
57107         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57108         __makecontext_ret to ...
57109         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57110         ... here and call exit if uc_link is NULL.  New file.
57111         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57112         __makecontext_ret.S.
57114 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57116         * elf/elf.h (R_390_IRELATIVE): New definition.
57117         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57118         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57119         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57121         (elf_machine_lazy_rel): Likewise.
57122         * sysdeps/s390/dl-irel.h: New file.
57123         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57124         * sysdeps/s390/s390-64/memset.S: New asm code.
57125         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57126         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57127         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57128         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57129         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57130         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57132         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57133         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57134         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57135         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57136         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57137         * sysdeps/s390/s390-32/memset.S: New asm code.
57138         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57140 2012-07-17  Marek Polacek  <polacek@redhat.com>
57142         [BZ #14349]
57143         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57144         * sysdeps/s390/s390-64/configure.in: Likewise.
57145         * sysdeps/sparc/configure.in: Likewise.
57146         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57147         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57148         * sysdeps/i386/configure.in: Likewise.
57149         * sysdeps/x86_64/configure.in: Likewise.
57150         * sysdeps/sh/configure.in: Likewise.
57151         * sysdeps/s390/s390-32/configure: Regenerated.
57152         * sysdeps/s390/s390-64/configure: Likewise.
57153         * sysdeps/x86_64/configure: Likewise.
57154         * sysdeps/sh/configure: Likewise.
57155         * sysdeps/powerpc/powerpc64/configure: Likewise.
57156         * sysdeps/powerpc/powerpc32/configure: Likewise.
57157         * sysdeps/sparc/configure: Likwise.
57158         * sysdeps/i386/configure: Likewise.
57160         * elf/dl-open.c: Comment fixes.
57162 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57164         * Makefile [CXX] (check-data): Remove.
57165         [CXX] (c++-types.data): New vpath directive.
57166         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57167         vpath.  Do not allow for C++ type data being missing.
57168         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57169         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57170         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57171         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57172         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57173         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57174         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57176         ... here.
57177         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57179         ... here.
57180         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57182         ... here.
57183         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57185         ... here.
57186         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57188         ... here.
57189         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57191         ... here.
57192         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57194         ... here.
57195         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57198         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57199         definitions to architecture-specific files.
57200         (TLS_IE): Likewise.
57201         (TLS_LD): Likewise.
57202         (TLS_GD): Likewise.
57203         * sysdeps/i386/tls-macros.h: New file.
57204         * sysdeps/powerpc/tls-macros.h: Likewise.
57205         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57206         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57207         * sysdeps/sh/tls-macros.h: Likewise.
57208         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57209         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57210         * sysdeps/x86_64/tls-macros.h: Likewise.
57212 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57214         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57215         zero value for regular exit case.
57217         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57218         (__start_context): Preserve zero value for regular exit case.
57220 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57221             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57223         * manual/setjmp.texi (setcontext): Clarify normal process
57224         termination when uc_link is the null pointer.
57225         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57226         exit call.
57228 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57230         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57231         preprocessor.  Test for each exception mask separately.
57233 2012-07-16  Andreas Jaeger  <aj@suse.de>
57235         * po/ru.po: Update from translation team.
57237 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57239         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57240         equal to 0.
57241         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57242         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57243         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57244         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57245         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57247 2012-07-13  Andreas Jaeger  <aj@suse.de>
57249         * po/fr.po: Update from translation team.
57251 2012-07-12  Marek Polacek  <polacek@redhat.com>
57253         [BZ #14173]
57254         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57255         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57256         loop condition.
57258 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57260         [BZ #13717]
57261         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57262         Change to 2.4.1 where previously 2.4.0.
57263         * sysdeps/unix/sysv/linux/configure: Regenerated.
57264         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57265         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57266         version.
57267         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57268         (__ASSUME_AT_CLKTCK): Remove.
57269         (__ASSUME_AT_PAGESIZE): Likewise.
57270         (__ASSUME_AT_XID): Likewise.
57271         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57272         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57273         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57274         unconditionally.
57275         (HAVE_AUX_PAGESIZE): Likewise.
57276         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57277         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57278         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57280 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57282         [BZ #14307]
57283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57284         the temporary buffer used to invoke __gethostbyname2_r,
57285         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57286         host_data / struct gaih_addrtuple.
57287         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57288         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57289         header file nss/nsswitch.h.
57290         * nss/nsswitch.h (global scope): Add definition of implementation
57291         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57292         resolv/nss_dns/dns-host.c).
57294 2012-07-11  Andreas Jaeger  <aj@suse.de>
57296         * po/fr.po: Update from translation team.
57298         * po/sv.po: Update from translation team
57299         * po/fr.po: Another update from translation team.
57301 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57303         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57304         for subnormals or multiply small sinh result by itself.
57305         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57308 2012-07-11  David S. Miller  <davem@davemloft.net>
57310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57312 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57314         [BZ #14347]
57315         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57316         (INTERNAL_MARK): Shift it here.
57318 2012-07-10  Marek Polacek  <polacek@redhat.com>
57320         [BZ #14151]
57321         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57322         libc_cv_asm_global_directive with .globl.
57323         * configure: Regenerated.
57324         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
57325         with .globl.
57326         * sysdeps/i386/configure: Regenerated.
57327         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
57328         with .globl.
57329         * sysdeps/x86_64/configure: Regenerated.
57330         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
57331         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
57332         * elf/tst-unique2mod2.c: Likewise.
57333         * elf/tst-unique2mod1.c: Likewise.
57334         * elf/tst-unique1mod2.c: Likewise.
57335         * elf/tst-unique1mod1.c: Likewise.
57336         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57337         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57338         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57339         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57340         * sysdeps/mach/sysdep.h: Likewise.
57341         * sysdeps/i386/sysdep.h: Likewise.
57342         * sysdeps/i386/i386-mcount.S: Likewise.
57343         * sysdeps/x86_64/_mcount.S: Likewise.
57344         * sysdeps/x86_64/sysdep.h: Likewise.
57345         * sysdeps/sh/_mcount.S: Likewise.
57346         * sysdeps/sh/sysdep.h: Likewise.
57347         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
57348         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
57349         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
57350         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57351         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
57352         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
57353         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
57354         * locale/localeinfo.h: Likewise.
57355         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
57356         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
57358 2012-07-09  Roland McGrath  <roland@hack.frob.com>
57360         [BZ #14336]
57361         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
57362         system".
57363         * manual/message.texi (The Uniforum approach): Likewise.
57364         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
57365         (glibc iconv Implementation): Likewise.
57367 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
57369         [BZ #14337]
57370         * math/s_clog.c (__clog): Avoid scaling a value down where that
57371         could result in underflow.
57372         * math/s_clog10.c (__clog10): Likewise.
57373         * math/s_clog10f.c (__clog10f): Likewise.
57374         * math/s_clog10l.c (__clog10l): Likewise.
57375         * math/s_clogf.c (__clogf): Likewise.
57376         * math/s_clogl.c (__clogl): Likewise.
57377         * math/libm-test.inc (clog_test): Add more tests.
57378         (clog10_test): Likewise.
57379         * sysdeps/i386/fpu/libm-test-ulps: Update.
57380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57382 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
57384         [BZ #14283]
57385         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
57386         by 7 not 8 to examine high bit of fractional part.
57388         [BZ #14042]
57389         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
57390         for call to __mcount_internal.
57391         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
57392         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
57393         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
57395 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
57397         [BZ #14154]
57398         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
57399         approximation for values within 0x1p-13f of an odd multiple of
57400         pi/4.
57401         * math/libm-test.inc (tan_test): Do not allow spurious underflow
57402         exception.  Add more tests.
57403         * sysdeps/i386/fpu/libm-test-ulps: Update.
57405         [BZ #6778]
57406         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
57407         inputs and return -1 for them.  Do not check for +Inf in case not
57408         reachable for +Inf.
57409         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57410         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
57411         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57412         and return -1 for them.  Do not check for +Inf in case not
57413         reachable for +Inf.
57414         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
57415         define.
57416         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
57417         and return -1 for them.  Do not check for +Inf in case not
57418         reachable for +Inf.
57419         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
57420         spurious underflow.
57421         * sysdeps/i386/fpu/libm-test-ulps: Update.
57422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57424 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
57426         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
57428 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
57430         [BZ #14157]
57431         [BZ #14331]
57432         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
57433         could result in spurious underflow.  Scale down values above
57434         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
57435         * math/s_csqrtf.c (__csqrtf): Likewise.
57436         * math/s_csqrtl.c (__csqrtl): Likewise.
57437         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
57438         spurious underflow.
57439         * sysdeps/i386/fpu/libm-test-ulps: Update.
57440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57442 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
57444         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
57445         xopen-msg.sed.
57446         * catgets/xopen-msg.awk: New file.
57447         * catgets/xopen-msg.sed: Removed.
57449         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
57450         po2text.sed.
57451         * intl/po2test.awk: New file.
57452         * intl/po2test.sed: Removed.
57454 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
57456         [BZ #14328]
57457         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
57458         or multiply small sinh result by itself.
57459         * math/s_ctanf.c (__ctanf): Likewise.
57460         * math/s_ctanh.c (__ctanh): Likewise.
57461         * math/s_ctanhf.c (__ctanhf): Likewise.
57462         * math/s_ctanhl.c (__ctanhl): Likewise.
57463         * math/s_ctanl.c (__ctanl): Likewise.
57464         * math/libm-test.inc (ctan_test_tonearest): New function.
57465         (ctan_test_towardzero): Likewise.
57466         (ctan_test_downward): Likewise.
57467         (ctan_test_upward): Likewise.
57468         (ctanh_test_tonearest): Likewise.
57469         (ctanh_test_towardzero): Likewise.
57470         (ctanh_test_downward): Likewise.
57471         (ctanh_test_upward): Likewise.
57472         (main): Call these new functions.
57473         * sysdeps/i386/fpu/libm-test-ulps: Update.
57474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57476 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
57478         * .gitignore: Delete /ports entry.
57480 2012-07-03  Andreas Jaeger  <aj@suse.de>
57482         * po/bg.po: Update from translation team.
57483         * po/cs.po: Likewise.
57484         * po/de.po: Likewise.
57485         * po/hr.po: Likewise.
57486         * po/nl.pl: Likewise.
57487         * po/pl.po: Likewise.
57488         * po/vi.po: Likewise.
57490 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
57492         * Makeconfig [!+link] (+link-before-libc): New variable.
57493         [!+link] (+link-after-libc): Likewise.
57494         [!+link] (+link-tests): Likewise.
57495         [!+link] (+link): Define in terms of $(+link-before-libc) and
57496         $(+link-after-libc).
57497         [!+link-static] (+link-static-before-libc): New variable.
57498         [!+link-static] (+link-static-after-libc): Likewise.
57499         [!+link-static] (+link-static-tests): Likewise.
57500         [!+link-static] (+link-static): Define in terms of
57501         $(+link-static-before-libc) and $(+link-static-after-libc).
57502         [build-shared] (link-libc-before-gnulib): New variable.
57503         [build-shared] (link-libc-tests): Likewise.
57504         [build-shared] (link-libc): Define in terms of
57505         $(link-libc-before-gnulib).
57506         [!build-shared] (link-libc-tests): New variable.
57507         (link-libc-static-tests): New variable.
57508         [!gnulib] (gnulib-arch): New variable.
57509         [!gnulib] (gnulib-tests): Likewise.
57510         [!gnulib] (static-gnulib-arch): Likewise.
57511         [!gnulib] (static-gnulib-tests): Likewise.
57512         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
57513         Define with "=" instead of ":=".
57514         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
57515         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
57516         * Rules (binaries-all-notests): New variable.
57517         (binaries-all-tests): Likewise.
57518         (binaries-static-notests): Likewise.
57519         (binaries-static-tests): Likewise.
57520         (binaries-all): Define using $(binaries-all-notests) and
57521         $(binaries-all-tests).
57522         (binaries-static): Define using $(binaries-static-notests) and
57523         $(binaries-static-tests).
57524         (binaries-shared-tests): New variable.
57525         (binaries-shared-notests): Likewise.
57526         (binaries-shared): Remove variable.
57527         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
57528         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
57529         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
57530         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
57531         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
57532         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
57533         * elf/Makefile (sln-modules): New variable.
57534         (extra-objs): Add $(sln-modules:=.o).
57535         (ldconfig-modules): Add static-stubs.
57536         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
57537         * elf/static-stubs.c: New file.
57539         [BZ #14283]
57540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
57541         by 7 not 8 to examine high bit of fractional part.  Use volatile
57542         variables when splitting into final array of floats if
57543         __FLT_EVAL_METHOD__ != 0.
57544         * math/libm-test.inc (cos_test): Add another test.
57545         (sin_test): Likewise.
57546         * sysdeps/i386/fpu/libm-test-ulps: Update.
57548         [BZ #14273]
57549         * math/libm-test.inc (cosh_test): Add more tests.
57551         * version.h (RELEASE): Set to "development".
57552         (VERSION): Set to "2.16.90".
57554 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
57556         * NEWS: Update copyright. Remove last-updated date.
57557         Mention math library bug fixes and timezone data changes.
57558         * README: Mention GNU/Hurd, x32, and HPPA support status.
57560 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
57562         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
57564 2012-06-27  Andreas Jaeger  <aj@suse.de>
57566         * manual/contrib.texi (Contributors): Add Samuel Thibault.
57568 2012-06-25  Andreas Jaeger  <aj@suse.de>
57570         * sysdeps/s390/fpu/libm-test-ulps: Update.
57572 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
57573             Thomas Schwinge  <thomas@codesourcery.com>
57575         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
57576         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
57577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
57578         fanotify_mark.
57580 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
57582         * sysdeps/mach/start.c: Remove file.
57583         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
57584         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
57585         * sysdeps/sh/init-first.c: Likewise.
57587         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
57588         registers for frame unwinding purposes, add CFI directives.
57589         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57590         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
57591         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
57592         Likewise.
57594         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
57595         __fortify_fail returning.
57596         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
57598         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
57599         sysdeps/sh/____longjmp_chk.S.
57600         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
57601         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
57602         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
57603         (gen-as-const-headers): Append sigaltstack-offsets.sym.
57605         * sysdeps/sh/abort-instr.h: New file.
57606         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
57607         process in case exit returns.
57609         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
57610         initialize the GOT register before use.
57612         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
57613         calculation of ARGC > 4.
57615         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
57616         meaningful names to some local labels.
57618 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57619             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57621         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
57622         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
57623         (__arch_compare_and_exchange_val_16_acq): Likewise.
57624         (__arch_compare_and_exchange_val_32_acq): Likewise.
57625         (atomic_exchange_and_add): Fix gUSA sequence.
57626         (atomic_add): Likewise.
57627         (atomic_add_negative): Likewise.
57628         (atomic_add_zero): Likewise.
57629         (atomic_bit_test_set): Likewise.
57631 2012-06-22  Andreas Schwab  <schwab@redhat.com>
57633         [BZ #13579]
57634         * include/link.h (struct link_map): Add l_free_initfini.
57635         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
57636         l_initfini.
57637         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
57638         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
57639         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
57640         set.
57642 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
57644         * configure.in: Use AC_LANG_SOURCE.
57645         * configure: Regenerate.
57647 2012-06-22  Roland McGrath  <roland@hack.frob.com>
57649         * configure.in (libc_cv_localstatedir): New substituted variable.
57650         * configure: Regenerated.
57651         * config.make.in (localstatedir): New variable, substituted from
57652         libc_cv_localstatedir.
57653         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
57654         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
57655         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
57656         * sysdeps/gnu/configure: Regenerated.
57658 2012-06-21  Jeff Law  <law@redhat.com>
57660         [BZ #14277]
57661         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
57662         free.  Simplify list management for _LIBC case.
57664 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
57666         [BZ #14273]
57667         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
57668         Clear sign bit of 64-bit integer value before comparing against
57669         overflow value.
57671         * sysdeps/mach/configure: Regenerated.
57673 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
57675         [BZ #14278]
57676         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
57678 2012-06-21  Jeff Law  <law@redhat.com>
57680         [BZ #13882]
57681         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
57682         uint16_t for elements in the "seen" array to avoid char overflows.
57683         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57684         * elf/dl-open.c (dl_open_worker): Likewise.
57686 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
57688         * scripts/list-sources.sh: Scan PORTS for translations.
57689         * po/libc.pot: Regenerated.
57691 2012-06-21  Andreas Jaeger  <aj@suse.de>
57693         [BZ #12194]
57694         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
57695         warning.
57696         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
57697         * bits/byteswap-16.h (__bswap_16): Likewise.
57698         * bits/byteswap.h (__bswap_constant_16): Likewise.
57700 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
57702         [BZ #14117]
57703         * sysdeps/i386/fpu_control.h: Removed.
57704         * sysdeps/x86_64/fpu_control.h: Moved to ...
57705         * sysdeps/x86/fpu_control.h: Here.
57707         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
57708         (_FPU_SETCW): Likewise.
57710 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
57712         [BZ #14117]
57713         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
57714         * sysdeps/x86/fpu/bits/mathinline.h: This.
57715         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
57717         [BZ #14050]
57718         [BZ #14117]
57719         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
57720         functions if __x86_64__ is defined.
57722 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
57724         * string/endian.h: Add !__ASSEMBLER__ condition for including
57725         conversion interfaces.
57727 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
57729         [BZ #14241]
57730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
57731         of ABS(x) in calculating zero to negative powers other than odd
57732         integers.
57733         * math/libm-test.inc (pow_test): Add more tests.
57735 2012-06-15  Andreas Jaeger  <aj@suse.de>
57737         * manual/contrib.texi (Contributors): Update entry of Liubov
57738         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
57739         Machado Filho.
57741 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
57743         * string/string.h: Add __wur to GNU version of strerror_r.
57745 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
57747         [BZ #14229]
57748         * string/Makefile (tests): Add tst-strtok_r.
57749         * string/tst-strtok_r.c: New file.
57750         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
57751         RAX_LP/RDX_LP on SAVE_PTR.
57753 2012-06-14  Roland McGrath  <roland@hack.frob.com>
57755         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
57757 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
57759         * libm_test.inc (csqrt_test): Allow more spurious underflow
57760         exceptions.
57761         (j0_test): Likewise.
57762         (j1_test): Likewise.
57763         (y0_test): Likewise.
57764         (y1_test): Likewise.
57766 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
57768         * po/Makefile (libc.pot): Use UTF-8 charset.
57770 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
57772         [BZ #14210]
57773         Suppress sign-conversion warning from FD_SET.
57774         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
57775         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
57776         not unsigned long int.
57777         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
57779 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
57781         [BZ #14050]
57782         [BZ #14117]
57783         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
57784         __extern_always_inline instead of __extern_inline.
57785         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
57786         (__signbit): Likewise.
57787         (__signbitl): Support C++ namespace.
57788         (lrintf): New inline function.
57789         (lrint): Likewise.
57790         (llrintf): Likewise.
57791         (llrint): Likewise.
57792         (fmaxf): Likewise.
57793         (fmax): Likewise.
57794         (fminf): Likewise.
57795         (fmin): Likewise.
57796         (rint): Likewise.
57797         (rintf): Likewise.
57798         (ceil): Likewise.
57799         (ceilf): Likewise.
57800         (floor): Likewise.
57801         (floorf): Likewise.
57802         (nearbyint): Likewise.
57803         (nearbyintf): Likewise.
57805 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
57807         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
57808         non-default versions.
57810 2012-06-11  Roland McGrath  <roland@hack.frob.com>
57812         [BZ #14218]
57813         * manual/argp.texi (Argp): Reword argp_parse description slightly.
57815 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
57817         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
57818         (FE_UPWARD, FE_DOWNWARD): Don't define.
57819         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
57820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57822         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
57823         reading it.
57824         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57825         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57827 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57829         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57830         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
57831         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
57832         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
57834 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
57836         [BZ #14117]
57837         * sysdeps/i386/fpu/bits/fenv.h: Removed.
57838         * sysdeps/i386/fpu/Implies: New file.
57839         * sysdeps/x86_64/fpu/Implies: Likewise.
57840         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
57841         * sysdeps/x86/fpu/bits/fenv.h: This.
57843         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
57844         __SSE_MATH__.
57846 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57848         [BZ #14134]
57849         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
57850         character 0xffff that matches the last element of the
57851         conversion table.
57853 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57855         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57856         fmodl commit.
57858 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57860         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57861         values higher than 25.6283.
57863 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57865         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57866         subnormal exponent extraction and add some __builtin_expect.
57867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57868         Fix for subnormal mantissa calculation.
57870 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57872         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57873         cpu2 is -1 and errno is not ENOSYS.
57875 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57877         [BZ #14117]
57878         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57879         * sysdeps/x86/bits/string.h: This.
57880         * sysdeps/x86_64/bits/string.h: Removed.
57882         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57883         if not compiling for x86-64, but compiling for >= i486.
57885         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57886         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57888         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57889         New macro from Linux kernel 3.4.0.
57890         (FP_XSTATE_MAGIC2): Likewise.
57891         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57892         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57893         (struct _fpx_sw_bytes): New struct.
57894         (struct _xsave_hdr): Likewise.
57895         (struct _ymmh_state): Likewise.
57896         (struct _xstate): Likewise.
57898         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57899         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57900         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57901         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57902         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57903         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57905         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57906         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57907         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57908         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57909         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57910         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57912 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57914         [BZ #13743]
57915         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57916         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57917         (sysdep_headers): Include sys/platform/ppc.h.
57918         * sysdeps/powerpc/test-gettimebase.c: Test for
57919         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57920         * manual/Makefile (appendices): Include platform.texi.
57921         * manual/contrib.texi (Contributors): Update @node pointers.
57922         * manual/maint.texi (Maintenance): Likewise.
57923         (Platform): New node.
57924         * manual/platform.texi: New file.  Document the new features.
57926 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57927             Jakub Jelinek  <jakub@redhat.com>
57929         [BZ #14188]
57930         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57931         where __builtin_expect is unavailable.
57933 2012-06-03  David S. Miller  <davem@davemloft.net>
57935         * stdlib/longlong.h: Updated from GCC.
57937 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57939         [BZ #14042]
57940         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57941         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57942         __mcount_internal.
57943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57944         (GLIBC_2.16): Likewise.
57946 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57948         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57950 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57953         (default-abi): New variable.
57954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57955         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57956         variable.
57957         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57958         Likewise.
57959         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57960         Likewise.
57961         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57962         Likewise.
57964         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57965         definition.  Document in comment.
57967 2012-06-01  David S. Miller  <davem@davemloft.net>
57969         * stdlib/longlong.h: Updated from GCC.
57971 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57973         [BZ #14117]
57974         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57975         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57976         sys/debugreg.h sys/io.h here.
57977         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57978         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57979         sys/io.h.
57980         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57981         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57982         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57983         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57984         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57985         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57988         Define only if __x86_64__ is defined.
57990 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57992         [BZ #14048]
57993         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57994         Use int64_t for variable i.
57995         * math/libm-test.inc (fmod_test): Add more tests.
57997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57998         z computation is not scheduled after fetestexcept.
57999         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58000         Use math_force_eval instead of asm to ensure calculation scheduled
58001         before exception test.
58002         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58003         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58005 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58008         computation is not scheduled after fetestexcept.
58010 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58012         [BZ #14117]
58013         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58014         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58016 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58018         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58019         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58021 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58023         [BZ #14117]
58024         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58025         <bits/wordsize.h>.
58026         (__WCHAR_MIN): Support __WORDSIZE == 64.
58027         (__WCHAR_MAX): Likewise.
58029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58030         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58032         [BZ #14183]
58033         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58034         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58036         [BZ #14117]
58037         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58038         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58040         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58041         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58043         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58044         Defined to 1 if __x86_64__ isn't defined.
58045         (_STAT_VER_LINUX_OLD): New.
58046         (st_atime): Remove duplicate.
58047         (st_mtime): Likewise.
58048         (st_ctime): Likewise.
58050 2012-05-31  David S. Miller  <davem@davemloft.net>
58052         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58053         entries.
58055 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58057         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58058         gen-libm-test.pl.
58060         [BZ #14132]
58061         * elf/dl-reloc.c: Include <_itoa.h>.
58062         (_dl_reloc_bad_type): Remove use of INTUSE.
58063         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58064         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58065         * stdio-common/psiginfo.c (psiginfo): Likewise.
58066         * stdio-common/psignal.c (psignal): Likewise.
58067         * string/strsignal.c (strsignal): Likewise.
58068         * include/signal.h (_sys_siglist): Declare hidden proto.
58069         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58070         INTVARDEF with libc_hidden_data_def.
58071         * stdio-common/itoa-udigits.c: Likewise.
58072         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58073         (_itoa_lower_digits_internal): Remove declaration.
58074         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58075         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58076         (_sys_sigabbrev_internal): Remove aliases.
58077         (_sys_siglist): Define hidden alias.
58079 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58081         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58082         bits/sysctl.h.
58084 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58086         [BZ #14117]
58087         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58088         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58090         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58091         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58092         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58093         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58094         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58095         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58097         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58098         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58099         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58101         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58102         with __addr.
58103         (insw): Likewise.
58104         (insl): Likewise.
58105         (outsb): Likewise.
58106         (outsw): Likewise.
58107         (outsl): Likewise.
58109         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58110         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58111         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58113         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58114         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58115         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58116         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58117         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58118         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58120         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58121         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58123         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58124         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58126         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58127         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58128         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58130         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58131         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58132         to ...
58133         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58135         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58136         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58137         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58139         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58140         for x86-64.
58141         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58143 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58145         * math/math.h (M_El): Use two more decimal places.
58146         (M_LOG2El): Likewise.
58147         (M_LOG10El): Likewise.
58148         (M_LN2l): Likewise.
58149         (M_LN10l): Likewise.
58150         (M_PIl): Likewise.
58151         (M_PI_2l): Likewise.
58152         (M_PI_4l): Likewise.
58153         (M_1_PIl): Likewise.
58154         (M_2_PIl): Likewise.
58155         (M_2_SQRTPIl): Likewise.
58156         (M_SQRT2l): Likewise.
58157         (M_SQRT1_2l): Likewise.
58159 2012-05-31  David S. Miller  <davem@davemloft.net>
58161         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58162         values between float registers.
58163         * sysdeps/sparc/sparc64/memset.S: Likewise.
58164         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58166 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58168         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58169         -D_FORTIFY_SOURCE=1.
58170         (CPPFLAGS-tst-longjmp_chk.c): Define.
58171         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58172         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58173         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58174         CFLAGS-tst-wchar-h.c.
58176 2012-05-31  Marek Polacek  <polacek@redhat.com>
58178         [BZ #14132]
58179         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58180         __endmntent_internal): Remove declaration.
58181         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58182         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58183         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58185 2012-05-30  David S. Miller  <davem@davemloft.net>
58187         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58188         (___Q_simulate_exceptions): Use real FP ops rather than writing
58189         into the %fsr.
58190         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58191         Likewise.
58193 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58195         [BZ #14117]
58196         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58197         * sysdeps/x86/bits/xtitypes.h: This.
58199         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58200         * sysdeps/x86/bits/wordsize.h: This.
58202         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58203         * sysdeps/x86/bits/huge_vall.h: This.
58205         * sysdeps/i386/bits/select.h: Removed.
58206         * sysdeps/x86_64/bits/select.h: Renamed to ...
58207         * sysdeps/x86/bits/select.h: This.
58209         * sysdeps/i386/bits/setjmp.h: Removed.
58210         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58211         * sysdeps/x86/bits/setjmp.h: This.
58213         * sysdeps/i386/bits/mathdef.h: Removed.
58214         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58215         * sysdeps/x86/bits/mathdef.h: This.
58217 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58219         [BZ #14132]
58220         * include/sys/socket.h (__connect_internal)
58221         (__libc_sa_len_internal): Remove declaration.
58222         (__connect, __libc_sa_len): Declare hidden_proto.
58223         (SA_LEN): Remove use of INTUSE.
58224         * socket/connect.c: Add libc_hidden_def.
58225         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58226         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58227         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58228         alias.
58229         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58230         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58231         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58232         of adding _internal alias.
58234 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58236         [BZ #14117]
58237         * sysdeps/i386/bits/link.h: Removed.
58238         * sysdeps/i386/bits/linkmap.h: Likewise.
58239         * sysdeps/x86_64/bits/link.h: Renamed to ...
58240         * sysdeps/x86/bits/link.h: This.
58241         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58242         * sysdeps/x86/bits/linkmap.h: This.
58244         * sysdeps/i386/bits/endian.h: Removed.
58245         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58246         * sysdeps/x86/bits/endian.h: This.
58248         * sysdeps/i386/bits/byteswap.h: Removed.
58249         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58250         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58251         * sysdeps/x86/bits/byteswap.h: This.
58252         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58253         * sysdeps/x86/bits/byteswap-16.h: This.
58254         * sysdeps/i386/Implies: Add x86.
58255         * sysdeps/x86_64/Implies: Likewise.
58257 2012-05-30  David S. Miller  <davem@davemloft.net>
58259         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58260         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58261         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58262         (FP_TRAPPING_EXCEPTIONS): Define.
58263         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58264         (FP_TRAPPING_EXCEPTIONS): Define.
58265         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58266         subnormals only when inexact has been signalled or underflow
58267         exceptions are enabled.
58268         (_FP_PACK_CANONICAL): Likewise.
58270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58272         [BZ #14183]
58273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58274         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58276 2012-05-30  Richard Henderson  <rth@twiddle.net>
58278         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58279         with #ifndef NOT_IN_libc.
58281         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58282         marked to avoid plt entry.
58284 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58286         [BZ #14112]
58287         * Makeconfig (default-abi): New macro.
58288         (abi-includes): Likewise.
58289         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58290         $(abi-$(default-abi)-lib-soname) for soname if defined.
58291         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58292         abi-variants.
58293         * Makefile (installed-stubs): Likewise.
58294         * include/stubs-biarch.h: Removed.
58295         * scripts/lib-names.awk: Only handle one library at a time.
58296         * scripts/soversions.awk: Remove WORDSIZE support.
58297         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58298         entries.
58299         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58300         Removed.
58301         (syscall-list-default-condition): Likewise.
58302         (syscall-list-default-condition): Likewise.
58303         (syscall-list-includes): Likewise.
58304         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58305         syscall-list-* with abi-*.  Handle undefined abi-variants.
58306         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58307         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58308         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58309         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58310         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58311         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58312         Removed.
58313         (syscall-list-32-options): Likewise.
58314         (syscall-list-32-condition): Likewise.
58315         (syscall-list-64-options): Likewise.
58316         (syscall-list-64-condition): Likewise.
58317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58318         macro.
58319         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58320         Renamed to ...
58321         (abi-*): This.
58322         (abi-64-ld-soname): New macro.
58323         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58324         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
58325         Renamed to ...
58326         (abi-*): This.
58327         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
58328         * sysdeps/x86_64/x32/shlib-versions: Likewise.
58330 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
58332         * sysdeps/unix/sysv/linux/kernel-features.h
58333         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
58334         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
58335         include <kernel-features.h>.
58336         [!__NR_ftruncate64]: Remove conditional code.
58337         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58338         [__NR_ftruncate64]: Make code unconditional.
58339         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58340         * sysdeps/unix/sysv/linux/truncate64.c: Do not
58341         include <kernel-features.h>.
58342         [!__NR_ftruncate64]: Remove conditional code.
58343         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58344         [__NR_ftruncate64]: Make code unconditional.
58345         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
58347         include <kernel-features.h>.
58348         [!__NR_ftruncate64]: Remove conditional code.
58349         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58350         [__NR_ftruncate64]: Make code unconditional.
58351         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58353         include <kernel-features.h>.
58354         [!__NR_ftruncate64]: Remove conditional code.
58355         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58356         [__NR_ftruncate64]: Make code unconditional.
58357         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
58359         * configure.in (libc_cv_fpie): Weaken to a compile test using
58360         LIBC_TRY_CC_OPTION.
58361         * configure: Regenerated.
58363 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
58366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
58367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
58368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58369         Refreshed.
58370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
58371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
58372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
58373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
58374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
58375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58376         Refreshed.
58378 2012-05-27  David S. Miller  <davem@davemloft.net>
58380         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
58381         (___Q_zero): New.
58382         (__Q_simulate_exceptions): Return void.  Change to simulate
58383         exceptions by writing into the %fsr.
58384         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
58385         (__Qp_handle_exceptions): Likewise.
58386         (numbers): Delete.
58387         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
58388         __Qp_handle_exceptions.
58389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
58390         __Qp_handle_exceptions.
58391         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58392         as unused and give dummy FP_RND_NEAREST initializer.
58393         (FP_INHIBIT_RESULTS): Define.
58394         (___Q_simulate_exceptions): Update declaration.
58395         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
58396         formatting.
58397         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
58398         as unused and give dummy FP_RND_NEAREST initializer.
58399         (__Qp_handle_exceptions): Update declaration.
58400         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
58401         formatting.
58403 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
58405         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
58406         the temporary FPU control word.
58407         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
58408         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
58409         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
58410         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58411         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
58412         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
58413         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
58414         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58415         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
58416         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
58417         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58419 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58421         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
58422         fields.
58424 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
58426         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
58427         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
58428         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
58429         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
58430         Likewise.
58431         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
58432         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
58433         Likewise.
58435 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
58437         * po/h.po: Update from translation team.
58439 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
58441         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
58443         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
58444         handling of denormals.
58445         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58446         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
58447         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58448         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
58451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
58452         Likewise.
58454 2012-05-26  Marek Polacek  <polacek@redhat.com>
58456         [BZ #14152]
58457         * math/libm-test.inc (fma_test): Don't always expect underflow
58458         exception.
58460 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58462         [BZ #12416]
58463         * elf/tst-execstack.c: Include stackinfo.h.
58464         (do_test): Adjust test case to ensure that pthread_getattr_np
58465         behaviour remains the same after marking stack executable.
58467 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58469         * sysdeps/unix/sysv/linux/kernel-features.h
58470         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
58471         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
58472         kernel-features.h.
58473         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58474         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58475         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
58476         kernel-features.h.
58477         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
58478         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
58480 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
58482         * configure.in: Define the default includes to being none.
58483         * configure: Regenerated.
58485 2012-05-25  Roland McGrath  <roland@hack.frob.com>
58487         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
58488         * sysdeps/x86_64/setjmp.S: Likewise.
58489         * sysdeps/i386/bsd-setjmp.S: Likewise.
58490         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58491         * sysdeps/i386/setjmp.S: Likewise.
58492         * sysdeps/i386/__longjmp.S: Likewise.
58493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58494         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
58496         * include/stap-probe.h: New file.
58497         * configure.in: Handle --enable-systemtap.
58498         * configure: Regenerated.
58499         * config.h.in (USE_STAP_PROBE): New #undef.
58500         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
58501         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
58502         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58504 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
58506         [BZ #13717]
58507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
58508         to 2.4.0 where earlier.
58509         * sysdeps/unix/sysv/linux/configure: Regenerated.
58510         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58511         <kernel-features.h>.
58512         [__ASSUME_32BITUIDS]: Make code unconditional.
58513         [!__ASSUME_32BITUIDS]: Remove conditional code.
58514         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
58515         <kernel-features.h>.
58516         [__ASSUME_32BITUIDS]: Make code unconditional.
58517         [!__ASSUME_32BITUIDS]: Remove conditional code.
58518         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
58519         [__ASSUME_32BITUIDS]: Make code unconditional.
58520         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
58521         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
58522         <kernel-features.h>.
58523         [__ASSUME_32BITUIDS]: Make code unconditional.
58524         [!__ASSUME_32BITUIDS]: Remove conditional code.
58525         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
58526         <kernel-features.h>.
58527         [__ASSUME_32BITUIDS]: Make code unconditional.
58528         [!__ASSUME_32BITUIDS]: Remove conditional code.
58529         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
58530         <kernel-features.h>.
58531         [__ASSUME_32BITUIDS]: Make code unconditional.
58532         [!__ASSUME_32BITUIDS]: Remove conditional code.
58533         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
58534         <kernel-features.h>.
58535         [__ASSUME_32BITUIDS]: Make code unconditional.
58536         [!__ASSUME_32BITUIDS]: Remove conditional code.
58537         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58538         <kernel-features.h>.
58539         [__ASSUME_32BITUIDS]: Make code unconditional.
58540         [!__ASSUME_32BITUIDS]: Remove conditional code.
58541         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58542         <kernel-features.h>.
58543         [__ASSUME_32BITUIDS]: Make code unconditional.
58544         [!__ASSUME_32BITUIDS]: Remove conditional code.
58545         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
58546         <kernel-features.h>.
58547         [__ASSUME_32BITUIDS]: Make code unconditional.
58548         [!__ASSUME_32BITUIDS]: Remove conditional code.
58549         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58550         <kernel-features.h>.
58551         [__ASSUME_32BITUIDS]: Make code unconditional.
58552         [!__ASSUME_32BITUIDS]: Remove conditional code.
58553         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58554         <kernel-features.h>.
58555         [__ASSUME_32BITUIDS]: Make code unconditional.
58556         [!__ASSUME_32BITUIDS]: Remove conditional code.
58557         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
58558         <kernel-features.h>.
58559         [__ASSUME_32BITUIDS]: Make code unconditional.
58560         [!__ASSUME_32BITUIDS]: Remove conditional code.
58561         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
58562         <kernel-features.h>.
58563         [__NR_setresgid] (__setresgid): Do not declare.
58564         [__ASSUME_32BITUIDS]: Make code unconditional.
58565         [!__ASSUME_32BITUIDS]: Remove conditional code.
58566         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
58567         <kernel-features.h>.
58568         [__NR_setresuid] (__setresuid): Do not declare.
58569         [__ASSUME_32BITUIDS]: Make code unconditional.
58570         [!__ASSUME_32BITUIDS]: Remove conditional code.
58571         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
58600         <kernel-features.h>.
58601         [__ASSUME_32BITUIDS]: Make code unconditional.
58602         [!__ASSUME_32BITUIDS]: Remove conditional code.
58603         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
58604         <kernel-features.h>.
58605         [__ASSUME_32BITUIDS]: Make code unconditional.
58606         [!__ASSUME_32BITUIDS]: Remove conditional code.
58607         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58608         <kernel-features.h>.
58609         [__ASSUME_32BITUIDS]: Make code unconditional.
58610         [!__ASSUME_32BITUIDS]: Remove conditional code.
58611         * sysdeps/unix/sysv/linux/kernel-features.h
58612         (__ASSUME_SETRESUID_SYSCALL): Remove.
58613         (__ASSUME_SETRESGID_SYSCALL): Likewise.
58614         (__ASSUME_32BITUIDS): Likewise.
58615         (__ASSUME_LDT_WORKS): Likewise.
58616         (__ASSUME_O_DIRECTORY): Likewise.
58617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
58618         architecture but not kernel version.
58619         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
58620         (__ASSUME_MMAP2_SYSCALL): Likewise.
58621         (__ASSUME_STAT64_SYSCALL): Likewise.
58622         (__ASSUME_IPC64): Likewise.
58623         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
58624         <kernel-features.h>.
58625         [__ASSUME_32BITUIDS]: Make code unconditional.
58626         [!__ASSUME_32BITUIDS]: Remove conditional code.
58627         * sysdeps/unix/sysv/linux/opendir.c: Do not include
58628         <kernel-features.h>.
58629         [__ASSUME_O_DIRECTORY]: Make code unconditional.
58630         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
58631         132096]: Remove conditional code.
58632         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
58633         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
58642         <kernel-features.h>.
58643         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
58644         unconditional.
58645         (__setresgid): Do not declare.
58646         [__ASSUME_32BITUIDS]: Make code unconditional.
58647         [!__ASSUME_32BITUIDS]: Remove conditional code.
58648         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
58649         <kernel-features.h>.
58650         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
58651         unconditional.
58652         (__setresuid): Do not declare.
58653         [__ASSUME_32BITUIDS]: Make code unconditional.
58654         [!__ASSUME_32BITUIDS]: Remove conditional code.
58655         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58656         <kernel-features.h>.
58657         [__ASSUME_32BITUIDS]: Make code unconditional.
58658         [!__ASSUME_32BITUIDS]: Remove conditional code.
58659         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
58660         <kernel-features.h>.
58661         [__ASSUME_32BITUIDS]: Make code unconditional.
58662         [!__ASSUME_32BITUIDS]: Remove conditional code.
58664 2012-05-25  Richard Henderson  <rth@twiddle.net>
58666         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
58667         dl_hwcap to ifunc resolver.
58668         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
58669         elf_ifunc_invoke.
58670         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
58671         dl_hwcap to ifunc resolver.
58672         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
58674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58676         [BZ #14153]
58677         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
58678         for |x| <= 2**-26, not 2**-57.
58679         * math/libm-test.inc (acos_test): Do not allow spurious underflow
58680         exception.
58682 2012-05-24  Jeff Law  <law@redhat.com>
58684         * stdio-common/Makefile (tests): Add bug25.
58685         * stdio-common/bug25.c: New test.
58687 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58689         [BZ #13576]
58690         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
58691         multiple of MALLOC_ALIGNMENT in size.
58692         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
58694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58696         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
58697         Require >= 256.
58698         (FILENAME_MAX): Use macro-int-constant.
58699         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
58700         (_IOFBF): Use macro-int-constant.
58701         (_IOLBF): Likewise.
58702         (_IONBF): Likewise.
58703         (SEEK_CUR): Likewise.
58704         (SEEK_END): Likewise.
58705         (SEEK_SET): Likewise.
58706         (TMP_MAX): Likewise.
58707         (EOF): Use macro-int-constant.  Require < 0.
58708         (NULL): Use macro-constant.  Require == 0.
58709         (stdin): Require type to be FILE *.
58710         (stdout): Likewise.
58711         (stderr): Likewise.
58712         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
58713         macro-int-constant.
58714         (EXIT_SUCCESS): Likewise.
58715         (NULL): Use macro-constant.  Require == 0.
58716         (RAND_MAX): Use macro-int-constant.
58717         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
58718         [C99-based standards] (strtof): Require function.
58719         [C99-based standards] (strtold): Likewise.
58720         [C99-based standards] (strtoll): Likewise.
58721         [C99-based standards] (strtoull): Likewise.
58722         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58723         [ISO || ISO99 || ISO11] (limits.h): Likewise.
58724         [ISO || ISO99 || ISO11] (math.h): Likewise.
58725         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
58726         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58729 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
58731         [BZ #14132]
58732         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
58733         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
58734         * intl/dgettext.c (DCGETTEXT): Likewise.
58735         * intl/gettext.c (DCGETTEXT): Likewise.
58736         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
58737         * posix/regex_internal.h (gettext): Likewise.
58738         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
58739         Remove declaration.
58740         * include/argz.h (__argz_count_internal)
58741         (__argz_stringify_internal): Remove declaration.
58742         (__argz_count, __argz_stringify): Declare hidden proto.
58743         * intl/dcgettext.c: Remove use of INTDEF.
58744         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
58745         * string/argz-stringify.c: Likewise.
58746         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58747         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58748         Declare hidden proto.
58749         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
58750         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
58751         Declare hidden proto.
58752         * include/stdio.h (__asprintf_internal): Don't declare.
58753         (__asprintf): Don't define as macro.  Declare hidden proto.
58754         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
58755         (__fsetlocking): Declare hidden proto.
58756         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
58757         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
58758         hidden proto.
58759         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
58760         (_IO_setlinebuf): Remove use of INTUSE.
58761         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
58762         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
58763         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
58764         Remove declaration.
58765         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
58766         (_IO_do_flush): Remove use of INTUSE.
58767         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
58768         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
58769         (_IO_adjust_column, _IO_least_wmarker)
58770         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
58771         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
58772         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
58773         (_IO_default_doallocate, _IO_wdefault_doallocate)
58774         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
58775         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
58776         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
58777         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
58778         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
58779         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
58780         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
58781         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
58782         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
58783         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
58784         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
58785         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
58786         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
58787         proto.
58788         (_IO_flush_all_internal, _IO_adjust_column_internal)
58789         (_IO_default_uflow_internal, _IO_default_finish_internal)
58790         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
58791         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
58792         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
58793         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
58794         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
58795         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
58796         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
58797         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
58798         (_IO_file_close_internal, _IO_file_close_it_internal)
58799         (_IO_file_underflow_internal, _IO_file_overflow_internal)
58800         (_IO_file_init_internal, _IO_file_attach_internal)
58801         (_IO_file_fopen_internal, _IO_file_read_internal)
58802         (_IO_file_sync_internal, _IO_file_seek_internal)
58803         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
58804         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
58805         (_IO_str_underflow_internal, _IO_str_overflow_internal)
58806         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
58807         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
58808         (_IO_list_all_internal, _IO_link_in_internal)
58809         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
58810         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
58811         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
58812         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
58813         (_IO_do_write_internal, _IO_padn_internal)
58814         (_IO_getline_info_internal, _IO_getline_internal)
58815         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
58816         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
58817         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
58818         (_IO_vfscanf_internal, _IO_vfprintf_internal)
58819         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
58820         (_IO_init_internal, _IO_un_link_internal): Don't declare.
58821         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
58822         with libc_hidden_ver, remove use of INTUSE.
58823         * libio/genops.c: Likewise.
58824         * libio/freopen.c: Likewise.
58825         * libio/freopen64.c: Likewise.
58826         * libio/iofclose.c: Likewise.
58827         * libio/iofdopen.c: Likewise.
58828         * libio/iofflush.c: Likewise.
58829         * libio/iofflush_u.c: Likewise.
58830         * libio/iofgets.c: Likewise.
58831         * libio/iofgets_u.c: Likewise.
58832         * libio/iofopen.c: Likewise.
58833         * libio/iofopncook.c: Likewise.
58834         * libio/iofread.c: Likewise.
58835         * libio/iofread_u.c: Likewise.
58836         * libio/ioftell.c: Likewise.
58837         * libio/iofwrite.c: Likewise.
58838         * libio/iogetline.c: Likewise.
58839         * libio/iogets.c: Likewise.
58840         * libio/iogetwline.c: Likewise.
58841         * libio/iopadn.c: Likewise.
58842         * libio/iopopen.c: Likewise.
58843         * libio/ioseekoff.c: Likewise.
58844         * libio/ioseekpos.c: Likewise.
58845         * libio/iosetbuffer.c: Likewise.
58846         * libio/iosetvbuf.c: Likewise.
58847         * libio/ioungetc.c: Likewise.
58848         * libio/ioungetwc.c: Likewise.
58849         * libio/iovdprintf.c: Likewise.
58850         * libio/iovsprintf.c: Likewise.
58851         * libio/iovsscanf.c: Likewise.
58852         * libio/memstream.c: Likewise.
58853         * libio/obprintf.c: Likewise.
58854         * libio/oldfileops.c: Likewise.
58855         * libio/oldiofclose.c: Likewise.
58856         * libio/oldiofdopen.c: Likewise.
58857         * libio/oldiofopen.c: Likewise.
58858         * libio/oldiopopen.c: Likewise.
58859         * libio/oldstdfiles.c: Likewise.
58860         * libio/putc.c: Likewise.
58861         * libio/setbuf.c: Likewise.
58862         * libio/setlinebuf.c: Likewise.
58863         * libio/stdfiles.c: Likewise.
58864         * libio/strops.c: Likewise.
58865         * libio/vasprintf.c: Likewise.
58866         * libio/vscanf.c: Likewise.
58867         * libio/vsnprintf.c: Likewise.
58868         * libio/vswprintf.c: Likewise.
58869         * libio/wfiledoalloc.c: Likewise.
58870         * libio/wfileops.c: Likewise.
58871         * libio/wgenops.c: Likewise.
58872         * libio/wmemstream.c: Likewise.
58873         * libio/wstrops.c: Likewise.
58874         * libio/__fpurge.c: Likewise.
58875         * libio/__fsetlocking.c: Likewise.
58876         * assert/assert.c: Likewise.
58877         * debug/fgets_chk.c: Likewise.
58878         * debug/fgets_u_chk.c: Likewise.
58879         * debug/fread_chk.c: Likewise.
58880         * debug/fread_u_chk.c: Likewise.
58881         * debug/gets_chk.c: Likewise.
58882         * debug/obprintf_chk.c: Likewise.
58883         * debug/vasprintf_chk.c: Likewise.
58884         * debug/vdprintf_chk.c: Likewise.
58885         * debug/vsnprintf_chk.c: Likewise.
58886         * debug/vsprintf_chk.c: Likewise.
58887         * malloc/mtrace.c: Likewise.
58888         * misc/error.c: Likewise.
58889         * misc/syslog.c: Likewise.
58890         * stdio-common/asprintf.c: Likewise.
58891         * stdio-common/fxprintf.c: Likewise.
58892         * stdio-common/getw.c: Likewise.
58893         * stdio-common/isoc99_fscanf.c: Likewise.
58894         * stdio-common/isoc99_scanf.c: Likewise.
58895         * stdio-common/isoc99_vfscanf.c: Likewise.
58896         * stdio-common/isoc99_vscanf.c: Likewise.
58897         * stdio-common/isoc99_vsscanf.c: Likewise.
58898         * stdio-common/printf-prs.c: Likewise.
58899         * stdio-common/printf_fp.c: Likewise.
58900         * stdio-common/printf_fphex.c: Likewise.
58901         * stdio-common/printf_size.c: Likewise.
58902         * stdio-common/putw.c: Likewise.
58903         * stdio-common/scanf.c: Likewise.
58904         * stdio-common/sprintf.c: Likewise.
58905         * stdio-common/tmpfile.c: Likewise.
58906         * stdio-common/vfprintf.c: Likewise.
58907         * stdio-common/vfscanf.c: Likewise.
58908         * stdlib/strfmon_l.c: Likewise.
58909         * sunrpc/openchild.c: Likewise.
58910         * sunrpc/xdr_stdio.c: Likewise.
58911         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58912         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58914 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58916         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58918         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58919         in the third column, to generate for the shared library an IFUNC
58920         that uses _dl_vdso_vsym.
58921         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58922         * Makeconfig (object-suffixes-noshared): New variable.
58924         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58925         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58926         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58927         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58929         [BZ #14132]
58930         * include/sys/time.h (__gettimeofday): Remove macro.
58931         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58932         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58933         Remove INTDEF.
58934         (__gettimeofday): Add libc_hidden_def.
58935         (gettimeofday): Add libc_hidden_weak.
58936         * sysdeps/mach/gettimeofday.c: Likewise.
58937         * sysdeps/posix/gettimeofday.c: Likewise.
58938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58939         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58941         (__gettimeofday_internal): Remove strong_alias.
58942         (__gettimeofday): Add libc_hidden_def.
58943         (gettimeofday): Add libc_hidden_weak.
58944         * sysdeps/unix/syscalls.list (gettimeofday):
58945         Remove __gettimeofday_internal alias.
58947 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58948             H.J. Lu  <hongjiu.lu@intel.com>
58950         [BZ #12495]
58951         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58952         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58953         (largebin_index_32_big): New.
58954         (largebin_index): Use it for 16-byte alignment.
58955         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58956         correction with front_misalign.
58958 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58962         Likewise.
58963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58964         Likewise.
58965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58966         Likewise.
58967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58968         Likewise.
58969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58970         Likewise.
58971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58972         Likewise.
58973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58974         Likewise.
58975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58976         Likewise.
58977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58978         Likewise.
58979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58980         Likewise.
58981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58982         Likewise.
58983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58984         Likewise.
58986         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58987         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58989 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58991         [BZ #10846]
58992         [BZ #14036]
58993         * math/libm-test.inc (exp_test): Add test from bug 14036.
58994         (pow_test): Add test from bug 10846.
58996         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58997         and other flags.
58998         (special_function): Do not include flags in test name.
58999         (parse_args): Likewise.
59000         * sysdeps/i386/fpu/libm-test-ulps: Update.
59001         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59002         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59003         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59006         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59007         exceptions.
59008         * math/libm-test.inc ("Philosophy"): Update comment about
59009         exception testing.
59010         (UNDERFLOW_EXCEPTION): New macro.
59011         (UNDERFLOW_EXCEPTION_OK): Likewise.
59012         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59013         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59014         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59015         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59016         (INVALID_EXCEPTION_OK): Update value.
59017         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59018         (OVERFLOW_EXCEPTION_OK): Likewise.
59019         (IGNORE_ZERO_INF_SIGN): Likewise.
59020         (test_exceptions): Handle underflow exceptions.
59021         (acos_test): Update for underflow exception expectations.
59022         (cexp_test): Likewise.
59023         (clog_test): Likewise.
59024         (clog10_test): Likewise.
59025         (csqrt_test): Likewise.
59026         (ctan_test): Likewise.
59027         (ctanh_test): Likewise.
59028         (exp_test): Likewise.
59029         (exp10_test): Likewise.
59030         (exp2_test): Likewise.
59031         (expm1_test): Likewise.
59032         (fma_test): Likewise.
59033         (j0_test): Likewise.
59034         (jn_test): Likewise.
59035         (nexttoward_test): Likewise.
59036         (pow_test): Likewise.
59037         (scalbn_test): Likewise.
59038         (scalbln_test): Likewise.
59039         (tan_test): Likewise.
59040         (y1_test): Likewise.
59041         * sysdeps/i386/fpu/libm-test-ulps: Update.
59042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59044 2012-05-23  David S. Miller  <davem@davemloft.net>
59046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59047         (__libc_sigaction): Remove unused local variables.
59049 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59051         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59053 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59055         mktime: avoid signed integer overflow
59056         * time/mktime.c (__mktime_internal): Do not mishandle the case
59057         where diff == INT_MIN.
59059         mktime: simplify computation of average
59060         * time/mktime.c (ranged_convert): Use new time_t_avg function
59061         instead of rolling our own (probably-slower) code.
59063         mktime: do not assume signed right shift propagates sign bit
59064         * time/mktime.c (isdst_differ): New static function.
59065         (__mktime_internal): No need to normalize tm_isdst now.
59066         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59067         tm_isdst values.
59069         mktime: merge another wrapv change from gnulib
59070         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59071         from some compilers.
59073         mktime: remove incorrect attempt at unusual arithmetics
59074         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59075         The code didn't really work on such machines anyway.
59076         (TYPE_MINIMUM): Assume two's complement.
59077         (twos_complement_arithmetic): Verify that long_int and time_t
59078         are two's complement (or unsigned, in the latter case).
59080         mktime: check signed shifts on long_int and time_t, too
59081         * time/mktime.c (SHR): Check that shifts work as desired
59082         on the types long_int and time_t too, as SHR is used on
59083         such types.
59085         mktime: do not assume 'long' is wide enough
59086         * time/mktime.c (verify): Move decl up.
59087         (long_int): New type.
59088         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59089         to remove assumption in the code that 'long' is wide enough to
59090         store year values.  This assumption is not true on x32 and on
59091         some non-glibc platforms.
59093         mktime: merge wrapv change from gnulib
59094         * time/mktime.c (WRAPV): New macro.
59095         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59096         (guess_time_tm, __mktime_internal): Do not assume that signed
59097         integer overflow wraps around; modern compilers generate code
59098         where this assumption is no longer valid.
59100 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59102         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59103         Replace "jmp L(pseudo_end)" with "ret".
59104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59105         Likewise.
59107 2012-05-23  Andreas Jaeger  <aj@suse.de>
59109         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59110         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59112 2012-05-23  Andreas Jaeger  <aj@suse.de>
59113             Maximilian Attems  <max@stro.at>
59115         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59116         New macros.
59118 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59120         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59121         code so that pseudo_end is just ret and the stack pointer is
59122         correct also for static library in error case.
59124 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59126         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59127         move to syscalls.list.
59128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59133         * manual/install.texi (Running make install): Do not mention Linux
59134         kernel version for which pt_chown is not needed.
59135         (Linux): Do not mention problems with nscd with 2.0 kernels.
59136         * INSTALL: Regenerated.
59138 2012-05-23  Andreas Jaeger  <aj@suse.de>
59140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59141         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59142         macro.
59143         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59144         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59145         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59146         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59147         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59148         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59149         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59150         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59151         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59152         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59153         * sysdeps/unix/sysv/linux/bits/in.h
59154         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59156 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59158         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59159         (PREPARE_VERSION): Just use assert instead, it will be elided
59160         under [NDEBUG] anyway.
59162 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59164         * sysdeps/unix/sysv/linux/Makefile: Include
59165         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59166         (sysdep_routines): Remove sysctl.
59167         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59168         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59169         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59170         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59171         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59173 2012-05-22  Andreas Jaeger  <aj@suse.de>
59175         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59176         that pseudo_end is just ret and the stack pointer is correct also
59177         for static library in error case.
59179 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59181         [BZ #14122]
59182         * nss/nsswitch.c (defconfig_entries): New variable.
59183         (__nss_database_lookup): Don't leak defconfig entries.
59184         (nss_parse_service_list): Don't leak on error paths.
59185         (free_database_entries): New function.
59186         (free_defconfig): New function.
59187         (free_mem): Move common code to free_database_entries.
59189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59191         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59192         Add arch_prctl.
59193         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59195         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59196         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59198         New macro.
59199         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59200         (INTERNAL_SYSCALL_TYPES): Likewise.
59201         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59202         (LOAD_REGS_TYPES_[1-6]): Likewise.
59203         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59204         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59206 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59209         copysignl for GLIBC_2_0.
59210         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59211         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59213         logbl for GLIBC_2_0.
59214         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59215         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59217 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59219         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59220         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59222         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59223         Use "neg %eax".
59225         * time/mktime.c: Update copyright years.
59227 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59229         mktime: merge comment-quoting-style change from gnulib
59230         * time/mktime.c: Quote 'like this' in comments.
59231         The GNU coding standards suggest that we no longer quote `like this',
59232         as "`" and "'" are typically rendered asymmetrically nowadays.
59233         The typical gnulib style is to quote 'like this' when quoting
59234         code, and "like this" when quoting English.
59236         * time/mktime.c (compile-command): Add "-I.".
59238         mktime: merge mktime-internal.h change from gnulib
59239         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59241         mktime: merge time_r change from gnulib
59242         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59244         mktime: merge DEBUG change from gnulib
59245         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59246         case system <time.h> has a #define.
59248         mktime: merge <sys/types.h> change from gnulib
59249         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59250         since <time.t> is now guaranteed to define time_t.
59252         mktime: merge HAVE_CONFIG_H change from gnulib
59253         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59255 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59258         Use "neg %eax".
59260         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59261         __rlim_t cast.
59262         (struct rusage): Use anonymous union to pad each field to
59263         __syscall_slong_t.
59265 2012-05-21  David S. Miller  <davem@davemloft.net>
59267         * Makefules (o-iterator): Remove .s cases.
59268         (compile-command.s): Delete.
59269         (COMPILE.s): Delete.
59270         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59272 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59274         * configure.in (libc_cv_predef_stack_protector): Only consider
59275         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59276         * configure: Regenerated.
59278 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59281         New macro.  Use R*LP on int and pointer.
59282         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59283         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59284         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59285         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59287         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59288         [__WORDSIZE_TIME64_COMPAT32] instead of
59289         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59290         (struct utmp): Likewise.
59291         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59292         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59293         Renamed to ...
59294         (__WORDSIZE_TIME64_COMPAT32): This.
59295         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59296         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59297         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59298         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59299         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59300         (__WORDSIZE_TIME64_COMPAT32): New macro.
59302 2012-05-21  Andreas Jaeger  <aj@suse.de>
59304         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59305         only if [SHARED]. Add prototype for __wcschr_ia32.
59307 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59309         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59310         of %rbp unmolested in the jmp_buf while mangling the low bits.
59311         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59312         unmolested high bits of %rbp while demangling the low bits.
59313         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59315 2012-05-21  Andreas Jaeger  <aj@suse.de>
59317         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59318         * sunrpc/svc_simple.c: Use it for registerrpc.
59319         * sunrpc/xcrypt.c: Use it for passwd2des.
59321         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59323 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59325         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
59326         Don't define if [__SYSCALL_WORDSIZE != 32].
59327         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
59328         New macro.
59330 2012-05-21  Bruno Haible  <bruno@clisp.org>
59331             Andreas Jaeger  <aj@suse.de>
59333         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
59334         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
59335         inptr and inend for must_buffer_ch.
59336         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
59337         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
59338         * stdio-common/Makefile (tests): Remove bug15.
59339         (bug15-ENV): Remove macro.
59340         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
59341         anymore.
59343 2012-05-19  Andreas Jaeger  <aj@suse.de>
59344             Roland McGrath  <roland@hack.frob.com>
59346         * manual/contrib.texi: Completely rewritten. It contains now an
59347         alphabetical list of contributors and their contributions.
59349 2012-05-21  Richard Henderson  <rth@twiddle.net>
59351         * misc/getauxval.c (__getauxval): Use unsigned long int.
59352         * misc/sys/auxv.h: Include <sys/cdefs.h>.
59353         (getauxval): Use unsigned long int.
59355 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59357         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59359 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59361         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
59362         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
59363         __alignof__ (long double).
59365 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59369 2012-05-20  Richard Henderson  <rth@twiddle.net>
59371         * misc/getauxval.c: New file.
59372         * misc/sys/auxv.h: New file.
59373         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
59374         (routines): Add getauxval.
59375         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
59376         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
59377         * elf/dl-sysdep.c (_dl_auxv): Remove.
59378         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
59379         * elf/dl-support.c (_dl_auxv): New variable.
59380         (_dl_aux_init): Initialize it.
59381         * manual/startup.texi (Auxiliary Vector): New node.
59382         * sysdeps/generic/bits/hwcap.h: New file.
59383         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
59384         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
59385         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
59386         * sysdeps/sparc/sysdep.h: ... here.  Include it.
59387         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
59388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
59389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59390         Update.
59391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
59392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
59393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
59394         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
59395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
59397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
59398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
59400 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59404 2012-05-19  David S. Miller  <davem@davemloft.net>
59406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59408 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59410         [BZ #14123]
59411         * math/s_ccosh.c: Include <float.h>
59412         (__ccosh): Avoid internal overflow calculating sinh and cosh
59413         values before multiplying by sin and cos values.
59414         * math/s_ccoshf.c: Likewise.
59415         * math/s_ccoshl.c: Likewise.
59416         * math/s_csin.c: Likewise.
59417         * math/s_csinf.c: Likewise.
59418         * math/s_csinl.c: Likewise.
59419         * math/s_csinh.c: Likewise.
59420         * math/s_csinhf.c: Likewise.
59421         * math/s_csinhl.c: Likewise.
59422         * math/libm-test.inc (ccos_test): Add more tests.
59423         (ccosh_test): Likewise.
59424         (csin_test): Likewise.
59425         (csinh_test): Likewise.
59426         * sysdeps/i386/fpu/libm-test-ulps: Update.
59427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59429 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
59431         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
59432         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
59434         * sysdeps/x86_64/x32/_itoa.h: Add comment.
59436 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
59438         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
59439         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
59440         * sysdeps/powerpc/soft-fp/Versions: Likewise.
59441         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
59442         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
59443         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
59444         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
59445         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
59446         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
59447         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
59448         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
59449         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
59450         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
59451         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
59452         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
59453         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
59454         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
59455         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
59456         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
59457         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
59458         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
59459         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
59460         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
59461         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
59462         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
59463         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
59464         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
59465         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
59466         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
59467         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
59468         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
59470 2012-05-18  Andreas Jaeger  <aj@suse.de>
59472         * csu/.gitignore: Delete.
59474 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59476         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
59477         (timex): Use __syscall_slong_t.
59479 2012-05-18  Andreas Jaeger  <aj@suse.de>
59480             Carlos O'Donell  <carlos_odonell@mentor.com>
59482         * manual/install.texi (Configuring and compiling): Update
59483         description about files modified in the source directory.
59484         * INSTALL: Regenerated.
59486 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59488         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
59489         value.  Use "or" to set return value to -1.
59490         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
59491         negate return value.
59493 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59495         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
59496         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
59497         failure if the compiler has Graphite support disabled.
59498         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
59499         Likewise.
59500         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
59501         (CFLAGS-memmove.c): Likewise.
59502         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
59503         Likewise.
59505 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
59507         * sysdeps/x86_64/x32/_itoa.h: New file.
59509         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
59510         getdents system call only if kernel and user dirents have the
59511         same d_ino and d_off.
59513         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59514         LLONG_MAX != LONG_MAX.
59515         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59516         (_fitoa_word): Likewise.
59518         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
59519         years.
59520         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
59521         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
59522         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
59524         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
59525         include <bits/wordsize.h>.  Check __x86_64__ instead of
59526         __WORDSIZE.
59527         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
59528         if __x86_64__ is defined.  Use anonymous union on fpstate.
59530         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
59531         anonymous union.
59533 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
59535         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
59536         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
59537         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
59538         Refer to _rtld_local_ro instead of _rtld_global_ro.
59539         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
59540         Likewise.
59541         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
59542         Likewise.
59543         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
59544         Likewise.
59545         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
59546         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
59547         of _rtld_global, and rtld_progname instead of _dl_argv[0].
59549         [BZ #10882]
59550         * sysdeps/powerpc/powerpc32/dl-machine.c
59551         (__elf_machine_runtime_setup) [PROF]: Don't reference
59552         _dl_prof_resolve.
59554 2012-05-18  Andreas Jaeger  <aj@suse.de>
59556         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
59557         function only available for GCCs before 3.4 since GCC 3.4
59558         introduced a builtin.
59559         (lrint): Likewise.
59560         (llrintf): Likewise.
59561         (llrint): Likewise.
59562         (fmaxf): Likewise.
59563         (fmax): Likewise.
59564         (fminf): Likewise.
59565         (fmin): Likewise.
59566         (rint): Likewise.
59567         (rintf): Likewise.
59568         (nearbyint): Likewise.
59569         (nearbyintf): Likewise.
59570         (ceil): Likewise.
59571         (ceilf): Likewise.
59572         (floor): Likewise.
59573         (floorf): Likewise.
59575 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59577         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
59578         on both fields and cast pointer to __syscall_ulong_t.
59580         * bits/types.h (__fsword_t): New type.
59581         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
59582         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
59583         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59584         (__FSWORD_T_TYPE): Likewise.
59585         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59586         (__FSWORD_T_TYPE): Likewise.
59587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59588         (__FSWORD_T_TYPE): Likewise.
59589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
59590         (__FSWORD_T_TYPE): Likewise.
59591         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
59592         __SWORD_TYPE with __fsword_t.
59593         (statfs64): Likewise.
59595 2012-05-17  David S. Miller  <davem@davemloft.net>
59597         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
59599 2012-05-17  Andreas Jaeger  <aj@suse.de>
59601         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
59602         warning.
59604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59606         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
59608 2012-05-17  Andreas Jaeger  <aj@suse.de>
59610         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
59611         when it is used.
59613 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59615         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
59617 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59619         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
59620         * sysdeps/x86_64/tst-mallocalign1.c: New file.
59622 2012-05-17  Andreas Jaeger  <aj@suse.de>
59623             Carlos O'Donell  <carlos_odonell@mentor.com>
59625         [BZ #14059]
59626         * sysdeps/x86_64/multiarch/init-arch.h
59627         (bit_YMM_Usable): Rename to...
59628         (bit_AVX_Usable): ... this.
59629         (bit_FMA4_Usable): New macro.
59630         (bit_XMM_state): New macro.
59631         (bit_YMM_state): New macro.
59632         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
59633         [__ASSEMBLER__] (index_AVX_Usable): ... this.
59634         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
59635         (CPUID_OSXSAVE): New macro.
59636         (CPUID_AVX): New macro.
59637         (CPUID_FMA4): New macro.
59638         (index_YMM_Usable): Rename to...
59639         (index_AVX_Usable): ... this.
59640         (HAS_AVX): Use HAS_ARCH_FEATURE.
59641         (HAS_FMA4): Likewise.
59642         (HAS_YMM_USABLE): Remove.
59643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59644         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
59645         are present.
59646         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
59647         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
59648         * sysdeps/x86_64/multiarch/Makefile: Likewise.
59649         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
59650         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
59652 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
59654         * math/libm-test.c: Support platforms without multiple rounding modes.
59655         * math/bug-nextafter.c: Support platforms without FP exceptions.
59656         * math/bug-nexttoward.c: Likewise.
59657         * math/test-fenv.c: Likewise.
59658         * math/test-misc.c: Likewise.
59659         * stdlib/bug-getcontext.c: Likewise.
59661 2012-05-17  Andreas Jaeger  <aj@suse.de>
59663         * manual/examples/search.c (critter_cmp): Change signature to
59664         avoid warnings.
59665         * manual/string.texi (Collation Functions): Likewise.
59667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59669         * bits/types.h: Fold copyright years.
59670         * bits/typesizes.h: Likewise.
59671         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
59672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59673         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
59674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
59675         * time/time.h: Likewise.
59677 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
59679         [BZ #208]
59680         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
59681         in instead of returning them.  Return void.
59682         (__libc_mallinfo): Accumulate over all arenas.
59683         (__malloc_stats): Adjust for change in int_mallinfo interface.
59685 2012-05-16  Roland McGrath  <roland@hack.frob.com>
59687         [BZ #10375]
59688         * configure.in (NM): Add AC_CHECK_TOOL for it.
59689         (libc_extra_cflags): New substituted variable.
59690         Check for -fstack-protector being used implicitly.
59691         * configure: Regenerated.
59692         * config.make.in (config-extra-cflags): New variable,
59693         gets @libc_extra_cflags@.
59694         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
59696         [BZ #10375]
59697         * configure.in: Check for _FORTIFY_SOURCE being predefined.
59698         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
59699         * configure: Regenerated.
59700         * config.make.in (CPPUNDEFS): New substituted variable.
59701         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
59702         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
59703         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
59705 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59707         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
59708         (mq_attr): Use __syscall_slong_t.
59710 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59712         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
59713         Check __x86_64__ instead of __WORDSIZE.
59714         (_STAT_VER_LINUX): Likewise.
59715         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
59716         __syscall_ulong_t and __syscall_slong_t.
59717         (stat64): Likewise.
59719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59721         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
59723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59725         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
59727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59729         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
59730         __syscall_ulong_t.
59732         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
59733         include <bits/wordsize.h>.  Check __x86_64__ instead of
59734         __WORDSIZE.
59735         (greg_t): Use "__extension__ long long int" if __x86_64__ is
59736         defined.
59737         (mcontext_t): Replace "unsigned long" with "unsigned long long".
59739         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
59740         include <bits/wordsize.h>.  Check __x86_64__ instead of
59741         __WORDSIZE.
59742         (user_regs_struct): Use "__extension__ unsigned long long"
59743         instead of "unsigned long" if __x86_64__ is defined.
59744         (user): Likewise.  Pad after pointer field if __ILP32__ is
59745         defined.
59747 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
59749         * configure.in (makeinfo): Require version 4.5 or later.  Allow
59750         versions 5 to 9.
59751         * configure: Regenerated.
59752         * manual/install.texi (texinfo): Increase version requirement to
59753         4.5 or later.
59754         * INSTALL: Regenerated.
59756         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
59758 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59760         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
59762         * sysdeps/x86_64/x32/ffs.c: New file.
59764         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
59765         __syscall_ulong_t.
59766         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
59767         defined.  Use __syscall_ulong_t.
59768         (shminfo): Use __syscall_ulong_t.
59769         (shm_info): Likewise.
59771         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
59772         __syscall_ulong_t.
59774         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
59775         <bits/wordsize.h>.
59776         (msgqnum_t): Use __syscall_ulong_t.
59777         (msglen_t): Likewise.
59778         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
59779         __syscall_ulong_t.
59781         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
59782         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59784         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
59786         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
59787         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
59789         * sysvipc/sys/msg.h (msgbuf): Replace long int with
59790         __syscall_slong_t.
59792         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
59793         include <bits/wordsize.h>.  Check __x86_64__ instead of
59794         __WORDSIZE.
59796         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
59797         "unsigned long long int" if __x86_64__ is defined.
59798         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
59800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
59801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59802         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
59804         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
59805         <stdint.h>.
59806         (GET_PC): Cast to uintptr_t first.
59807         (GET_FRAME): Likewise.
59808         (GET_STACK): Likewise.
59810         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
59811         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
59812         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
59813         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
59814         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
59815         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
59816         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
59817         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
59818         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
59819         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
59820         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
59821         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
59822         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
59824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
59825         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
59826         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
59827         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
59828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
59829         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
59830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
59831         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
59832         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
59833         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
59834         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
59835         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
59836         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
59837         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
59838         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
59840 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
59842         * Makerules (+depfiles): Also collect depfiles from .oS in
59843         $(extra-objs).
59844         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
59845         .oS, $(libnldbl-routines)).
59847         * Makerules (native-compile-mkdep-flags): Define.
59848         * sunrpc/Makefile (extra-objs): Add $(addprefix
59849         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
59850         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
59851         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
59852         calling $(make-target-directory).
59854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59856         * bits/types.h (__snseconds_t): Removed.
59857         * time/time.h (struct timespec): Replace __snseconds_t with
59858         __syscall_slong_t.
59859         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59860         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59861         Likewise.
59862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59863         (__SNSECONDS_T_TYPE): Likewise.
59864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59865         (__SNSECONDS_T_TYPE): Likewise.
59866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59867         (__SNSECONDS_T_TYPE): Likewise.
59869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59871         * sysdeps/mach/hurd/bits/typesizes.h
59872         (__SYSCALL_SLONG_TYPE): New macro.
59873         (__SYSCALL_ULONG_TYPE): Likewise.
59875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59877         * bits/types.h (__syscall_slong_t): New type.
59878         (__syscall_ulong_t): Likewise.
59880         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59881         (__SYSCALL_ULONG_TYPE): Likewise.
59882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59883         (__SYSCALL_SLONG_TYPE): Likewise.
59884         (__SYSCALL_ULONG_TYPE): Likewise.
59885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59886         (__SYSCALL_SLONG_TYPE): Likewise.
59887         (__SYSCALL_ULONG_TYPE): Likewise.
59888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59889         (__SYSCALL_SLONG_TYPE): Likewise.
59890         (__SYSCALL_ULONG_TYPE): Likewise.
59892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59894         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59895         Add sigaltstack-offsets.sym.
59896         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59897         <sigaltstack-offsets.h>.
59898         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59899         longjmp_msg pointer.
59900         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59901         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59902         signal stack.
59903         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59905 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59907         * elf/stackguard-macros.h: Remove file.
59908         * sysdeps/generic/stackguard-macros.h: New file.
59909         * sysdeps/i386/stackguard-macros.h: Likewise.
59910         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59911         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59912         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59913         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59914         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59915         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59916         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59917         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59918         <elf/stackguard-macros.h>.
59920         [BZ #14109]
59921         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59922         __aligned__ in attribute.
59923         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59924         (gregset_t): Likewise.
59926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59928         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59929         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59930         * sysdeps/x86_64/x32/Implies-after: New file.
59932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59934         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59935         and access return value for _dl_profile_fixup.  Use R10_LP to
59936         load frame size.
59938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59940         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59944         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59945         * sysdeps/x86_64/x32/sysdep.h: New file.
59947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59949         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59950         * sysdeps/x86_64/setjmp.S: Likewise.
59952 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59954         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59956         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59958         remove unused global constant.
59960 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59962         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59963         include of <not-cancel.h>.
59965 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59967         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59969 2012-05-15  Jeff Law  <law@redhat.com>
59970             Andreas Jaeger  <aj@suse.de>
59972         [BZ #13594]
59973         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59974         out from...
59975         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59976         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59977         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59978         code changing __hst_map_handle.map.
59980 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59982         * configure.in (sysnames): Look for Implies-before and Implies-after
59983         files.
59984         * configure: Regenerated.
59986 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59988         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59989         8-byte data alignment with LP_SIZE alignment.
59991 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59994         into R10_LP.
59996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59998         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60002         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60003         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60004         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60005         Likewise.
60006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60010         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60011         (stackinfo_sub_sp): Likewise.
60013 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60015         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60016         RAX_LP.
60018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60020         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60021         into R*_LP.
60023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60025         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60026         sizes into R*_LP.
60028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60030         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60034         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60035         into R11_LP and load __x86_64_shared_cache_size_half into
60036         R8_LP.
60038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60041         R8_LP.
60043 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60045         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60046         logb for POWER7.
60047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60048         logbf for POWER7.
60049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60050         logbl for POWER7.
60051         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60052         powerpc32/power7/fpu/s_logb.c via #include.
60053         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60054         powerpc32/power7/fpu/s_logbf.c via #include.
60055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60056         powerpc32/power7/fpu/s_logbl.c via #include.
60058 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60060         * README.libm: Remove file.
60062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60064         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60065         count for x32.  Use R*_LP and omit operand-size suffix.
60067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60069         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60070         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60071         * sysdeps/x86_64/x32/shlib-versions: New file.
60073 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60075         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60076         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60077         Use _dl_fatal_printf instead.
60079 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60081         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60082         set if not set by the user.  Do not allow for being unset.
60083         * sysdeps/unix/sysv/linux/configure: Regenerated.
60085 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60087         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60088         the `q' suffix from lea and replace .quad with ASM_ADDR.
60090 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60093         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60094         instead of $17.
60095         (PTR_DEMANGLE): Likewise.
60097 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60099         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60100         (LP_OP): Likewise.
60101         (ASM_ADDR): Likewise.
60102         (RAX_LP): Likewise.
60103         (RBP_LP): Likewise.
60104         (RBX_LP): Likewise.
60105         (RCX_LP): Likewise.
60106         (RDI_LP): Likewise.
60107         (RSI_LP): Likewise.
60108         (RSP_LP): Likewise.
60109         (R8_LP): Likewise.
60110         (R9_LP): Likewise.
60111         (R10_LP): Likewise.
60112         (R10_LP): Likewise.
60113         (R11_LP): Likewise.
60114         (R12_LP): Likewise.
60115         (R13_LP): Likewise.
60116         (R14_LP): Likewise.
60117         (R15_LP): Likewise.
60119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60121         * sysdeps/x86_64/x32/dl-machine.h: New file.
60123 2012-05-14  Andreas Jaeger  <aj@suse.de>
60125         * manual/Makefile (subdir): Remove export of subdir.
60126         (all): Remove target.
60127         (.PHONY): Remove all from list.
60128         (mkinstalldirs): Remove.
60129         (.PHONY): Remove installdirs from list.
60130         ($(inst_infodir)/libc.info): Use make-target-directory.
60131         (installdirs): Remove.
60132         (subdir_%): Remove.
60133         (glibc-targets): Remove.
60134         (lib): Remove.
60135         (stubs): Remove.
60136         ($(objpfx)stubs ../po/manual.pot): Remove.
60137         ($(objpfx)stamp%): Remove.
60138         (make-target-directory): Remove.
60139         (subdir_install): Remove.
60140         (routines): Remove.
60141         (aux): Remove.
60142         (sources): Remove.
60143         (objects): Remove.
60144         (headers): Remove.
60146         [BZ #13750]
60147         * manual/.gitignore: Remove, it's not needed anymore.
60148         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60149         all files in it.
60150         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60151         directory.
60152         (texis): Renamed to $(objpfx)texis.
60153         (texis-path): New, contains path to generated files.
60154         (chapters.%): Use texis-path for complete path, add extra argument
60155         libc-texinfo.sh.
60156         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60157         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60158         (summary,texi, stamp-summary): Use complete path of
60159         files. Generate files in build dir.
60160         (dir-add.texi): Build in build dir.
60161         (libm-err.texi,stamp-libm-err): Likewise.
60162         (version.texi, stamp-version): Likewise.
60163         (.%c.texi): Likewise.
60164         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60165         (mostlyclean): Remove target.
60166         (realclean): Remove target.
60167         (generated): Add new variable with contents from mostlyclean and
60168         realclean, remove entries duplicated in common-mostlyclean, add
60169         stamp-libm-err and stamp-version.
60170         (generated-dirs): Add libc directory.
60171         ($(inst_infodir)/libc.info): Install files from build dir.
60173         * manual/install.texi (Configuring and compiling): Adjust since
60174         the info files are not part of the tar ball anymore.
60176 2012-05-14  Andreas Jaeger  <aj@suse.de>
60178         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60179         variable.
60181 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60183         [BZ #13717]
60184         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60185         to 2.2.0 where earlier.
60186         * sysdeps/unix/sysv/linux/configure: Regenerated.
60187         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60188         Remove conditional code.
60189         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60190         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60191         Remove conditional code.
60192         [!__NR_lchown]: Likewise.
60193         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60194         [__NR_lchown]: Likewise.
60195         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60196         comment referencing __ASSUME_LCHOWN_SYSCALL.
60197         * sysdeps/unix/sysv/linux/i386/sigaction.c
60198         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60199         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60200         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60201         Remove conditional code.
60202         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60203         (__protocol_available): Remove #if 0 code.
60204         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60205         conditional code.
60206         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60207         * sysdeps/unix/sysv/linux/kernel-features.h
60208         (__ASSUME_GETCWD_SYSCALL): Don't define.
60209         (__ASSUME_REALTIME_SIGNALS): Likewise.
60210         (__ASSUME_PREAD_SYSCALL): Likewise.
60211         (__ASSUME_PWRITE_SYSCALL): Likewise.
60212         (__ASSUME_POLL_SYSCALL): Likewise.
60213         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60214         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60215         non-SPARC.
60216         (__ASSUME_SIOCGIFNAME): Don't define.
60217         (__ASSUME_MSG_NOSIGNAL): Likewise.
60218         (__ASSUME_SENDFILE): Define unconditionally.
60219         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60220         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60221         conditional code.
60222         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60223         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60224         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60225         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60226         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60227         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60228         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60233         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60242         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60245         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60248         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60251         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60253         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60254         Remove conditional code.
60255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60256         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60257         Remove conditional code.
60258         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60259         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60260         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60261         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60262         Remove conditional code.
60263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60264         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60265         Remove conditional code.
60266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60267         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60268         Remove conditional code.
60269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60270         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60271         Remove conditional code.
60272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60273         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60274         Remove conditional code.
60275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60276         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60279         * sysdeps/unix/sysv/linux/sigaction.c
60280         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60281         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60282         * sysdeps/unix/sysv/linux/sigpending.c
60283         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60284         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60285         * sysdeps/unix/sysv/linux/sigprocmask.c
60286         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60287         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60288         * sysdeps/unix/sysv/linux/sigsuspend.c
60289         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60290         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60291         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60292         (__libc_missing_rt_sigs): Remove.
60293         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60294         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60295         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60296         Remove conditional code.
60297         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60298         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60299         return 1.
60300         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60301         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60302         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60303         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60305 2012-05-14  Andreas Jaeger  <aj@suse.de>
60307         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60308         it's not used in glibc.
60309         (__coshm1): Likewise.
60310         (__acosh1p): Likewise.
60311         (__sgn): Likewise.
60313         * manual/string.texi (Copying and Concatenation): Add missing
60314         variable in concat example.
60315         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60319         [BZ #14103]
60320         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60321         __builtin_clzl with __builtin_clzll.
60323 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60325         [BZ #14104]
60326         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
60327         libc_freeres_ptr.
60329 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60331         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
60332         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
60333         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
60334         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
60336 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
60338         * NEWS: Update ia64 info.
60340 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
60342         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
60343         used as bcopy.
60345 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
60347         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
60348         * sysdeps/unix/syscalls.list (dup3): Likewise.
60349         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
60350         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
60352 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60354         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
60355         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
60357 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
60359         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
60360         thread pointer.
60361         (TLS_IE): Use mov/add instead of movq/addq to load thread
60362         pointer.
60363         (TLS_GD_PREFIX): New.
60364         (TLS_GD): Use it.
60366 2012-05-11  David S. Miller  <davem@davemloft.net>
60368         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
60369         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
60370         (_FPU_SETCW): Likewise.
60372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60374         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
60375         is 32-byte aligned.
60377 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
60379         [BZ #11837]
60380         * iconvdata/gb18030.c: Update tables.
60381         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
60382         characters specially.
60383         (BODY for TO_LOOP): Add encoding of missing ranges.
60385 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
60387         [BZ #13673]
60388         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
60389         * sysdeps/mach/hurd/dup3.c: Likewise.
60390         * sysdeps/mach/hurd/readlinkat.c: Likewise.
60391         * sysdeps/powerpc/memmove.c:: Likewise.
60393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60395         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
60396         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
60398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60400         * elf/elf.h (R_X86_64_RELATIVE64): New.
60401         (R_X86_64_NUM): Updated.
60402         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60403         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
60404         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
60405         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
60406         tst-quad1pie tst-quad2pie
60407         (modules-names): Add tst-quadmod1 tst-quadmod2.
60408         ($(objpfx)tst-quad1): New dependency.
60409         ($(objpfx)tst-quad2): Likewise.
60410         ($(objpfx)tst-quad1pie): Likewise.
60411         ($(objpfx)tst-quad2pie): Likewise.
60412         * sysdeps/x86_64/tst-quad1.c: New file.
60413         * sysdeps/x86_64/tst-quad1pie.c: New file.
60414         * sysdeps/x86_64/tst-quad2.c: Likewise.
60415         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
60416         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
60417         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
60418         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
60419         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
60421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60423         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
60424         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
60425         * streams/stropts.h (t_scalar_t): Define type.
60427         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
60428         (_PATH_PRESERVE): Set to "/var/lib".
60429         (_PATH_RWHODIR): Set to "/var/spool/rwho".
60431         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
60432         instead of int.
60434         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
60435         if __dir_mkfile succeeded.
60437         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
60438         checking for _hurd_dtablesize.  Unlock it right after having
60439         finished _hurd_dtable allocation.
60441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60443         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
60444         * sysdeps/mach/hurd/configure: Regenerated.
60445         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
60446         special-casing to...
60447         * sysdeps/gnu/configure.in: ... this new file.
60448         * sysdeps/unix/sysv/linux/configure: Regenerated.
60449         * sysdeps/gnu/configure: New generated file.
60451         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
60452         for Linux: use nsec instead of usec, as well as:
60453         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
60454         members of type struct timespec.
60455         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
60456         New macros.
60457         (struct stat64): Likewise.
60458         (_STATBUF_ST_NSEC): New macro.
60459         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
60461         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60462         __strtoul_internal rather than strtoul.
60464 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60466         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
60467         and reject them.
60469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60471         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
60472         which preserves existing values.
60473         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
60475 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60477         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
60478         TIMEOUT values.  Return EINVAL for NFDS values either negative or
60479         greater than FD_SETSIZE.
60481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60483         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
60484         allocated, call __vm_protect to finish enabling the existing space, and
60485         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
60486         allocate the remainder.
60488 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60490         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
60491         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
60493 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60495         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
60496         sysdeps/mach/hurd/readlink.c.
60498         * posix/tst-sysconf.c (posix_options): Only use
60499         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
60500         _POSIX_SYNCHRONIZED_IO when they are defined
60501         * sysdeps/mach/hurd/bits/posix_opt.h:
60502         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
60503         (_XOPEN_REALTIME): Undefine macro.
60504         (_XOPEN_REALTIME_THREADS): Undefine macro.
60505         (_XOPEN_SHM): Undefine macro.
60506         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
60507         macro to -1.
60508         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
60509         macro to -1.
60510         (_POSIX_ASYNC_IO): Undefine macro.
60511         (_POSIX_PRIORITIZED_IO): Undefine macro.
60512         (_POSIX_SPIN_LOCKS): Define macro to -1.
60514         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
60515         SA_NODEFER, SA_RESETHAND.
60516         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
60517         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
60518         F_DUPFD_CLOEXEC.
60520 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60522         * elf/Makefile (pldd-modules): Define unconditionally.
60524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60526         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
60528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60530         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
60531         Return ENOENT when name is empty.
60532         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
60534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60536         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
60538         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
60540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60542         Fix mlock in all cases except non-readable pages.
60543         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
60544         instead of VM_PROT_ALL as parameter to __vm_wire function.
60546         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
60547         (__mkdir): When path is `/', just fail with EEXIST.
60548         * sysdeps/mach/hurd/mkdirat.c: Likewise.
60550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60552         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
60553         <sys/uio.h> (for writev).
60554         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
60555         and <sys/param.h> (for MIN).
60557 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60559         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
60560         REQUESTED_TIME.  Properly set the remaining time and return EINTR
60561         if interrupted.
60563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60565         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
60566         Depend on against $(link-rpcuserlibs).
60568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60570         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
60571         (__libc_stack_end): Do not use attribute_relro.
60572         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
60573         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
60574         to libthread-provided value.
60575         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
60576         attribute_relro.
60578 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60580         [BZ #3748]
60581         * bits/libc-lock.h (__libc_once_get): New macro.
60582         * sysdeps/mach/bits/libc-lock.h: Likewise.
60583         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
60584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
60585         instead of using implementation details.
60587         * libio/fileops.c: Unconditionally include <kernel-features.h>.
60588         * libio/freopen.c: Likewise.
60589         * libio/freopen64.c: Likewise.
60590         * misc/syslog.c: Likewise.
60591         * nscd/connections.c: Likewise.
60592         * nscd/netgroupcache.c: Likewise.
60593         * sysdeps/posix/getcwd.c: Likewise.
60595 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60597         * math/w_ilogbf.c: Add #include <limits.h>.
60599 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60601         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
60602         path instead of returning without unlocking.
60604         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
60605         immediate-write ioctls.
60606         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
60608 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60610         * sysdeps/mach/hurd/i386/init-first.c (init): Use
60611         __builtin_frame_address instead of making assumptions about the
60612         location of the return address relative to DATA.  Force early load of
60613         the return address.
60614         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
60615         __builtin_frame_address.
60617         dup3 for GNU Hurd.
60618         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
60619         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
60620         implement dup3 and do some further code clean-ups.
60621         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
60622         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
60624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60626         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
60628         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
60629         HURD_CRITICAL_END around holding _hurd_dtable_lock.
60630         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
60631         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
60632         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
60633         d->port.lock.
60635         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
60636         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
60637         when handler == SIG_ERR, not when handler != SIG_ERR.
60639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60641         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
60642         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
60643         definitions.
60645         accept4 for GNU Hurd.
60646         * include/sys/socket.h (__libc_accept4): New prototype.
60647         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
60648         to implement __libc_accept4.
60649         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
60650         __libc_accept4.
60651         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
60653         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
60654         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
60655         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
60656         signal-defines.sym.
60658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60660         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
60662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
60664         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
60665         assertion on O_CLOEXEC flag.
60666         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
60667         * hurd/intern-fd.c: Likewise.
60668         * hurd/port2fd.c: Likewise.
60670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60672         [BZ #3906]
60673         * bits/in.h (IPV6_PKTINFO): Define new macro.
60674         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
60676 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60678         [BZ #13954]
60679         [BZ #13955]
60680         [BZ #13956]
60681         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
60682         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60683         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
60684         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60686         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60687         * math/libm-test.inc (logb_test) : Additional logb tests.
60689 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
60690             Andreas Jaeger  <aj@suse.de>
60692         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
60693         * configure: Regenerated.
60694         * config.h.in (LINK_OBSOLETE_RPC): New macro.
60695         * config.make.in (link-obsolete-rpc): New substituted variable.
60696         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
60697         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
60698         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60699         (shared-only-routines): Don't set it under [link-obsolete-rpc],
60700         so that libc.a contains the symbols.
60701         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
60702         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
60703         * sunrpc/auth_none.c: Likewise.
60704         * sunrpc/auth_unix.c: Likewise.
60705         * sunrpc/authdes_prot.c: Likewise.
60706         * sunrpc/authuxprot.c: Likewise.
60707         * sunrpc/clnt_gen.c: Likewise.
60708         * sunrpc/clnt_perr.c: Likewise.
60709         * sunrpc/clnt_raw.c: Likewise.
60710         * sunrpc/clnt_simp.c: Likewise.
60711         * sunrpc/clnt_tcp.c: Likewise.
60712         * sunrpc/clnt_udp.c: Likewise.
60713         * sunrpc/clnt_unix.c: Likewise.
60714         * sunrpc/des_crypt.c: Likewise.
60715         * sunrpc/des_soft.c: Likewise.
60716         * sunrpc/get_myaddr.c: Likewise.
60717         * sunrpc/key_call.c: Likewise.
60718         * sunrpc/key_prot.c: Likewise.
60719         * sunrpc/netname.c: Likewise.
60720         * sunrpc/pm_getmaps.c: Likewise.
60721         * sunrpc/pm_getport.c: Likewise.
60722         * sunrpc/pmap_clnt.c: Likewise.
60723         * sunrpc/pmap_prot.c: Likewise.
60724         * sunrpc/pmap_prot2.c: Likewise.
60725         * sunrpc/pmap_rmt.c: Likewise.
60726         * sunrpc/publickey.c: Likewise.
60727         * sunrpc/rpc_cmsg.c: Likewise.
60728         * sunrpc/rpc_common.c: Likewise.
60729         * sunrpc/rpc_dtable.c: Likewise.
60730         * sunrpc/rpc_prot.c: Likewise.
60731         * sunrpc/rpc_thread.c: Likewise.
60732         * sunrpc/rtime.c: Likewise.
60733         * sunrpc/svc.c: Likewise.
60734         * sunrpc/svc_auth.c: Likewise.
60735         * sunrpc/svc_raw.c: Likewise.
60736         * sunrpc/svc_run.c: Likewise.
60737         * sunrpc/svc_tcp.c: Likewise.
60738         * sunrpc/svc_udp.c: Likewise.
60739         * sunrpc/svc_unix.c: Likewise.
60740         * sunrpc/svcauth_des.c: Likewise.
60741         * sunrpc/xcrypt.c: Likewise.
60742         * sunrpc/xdr.c: Likewise.
60743         * sunrpc/xdr_array.c: Likewise.
60744         * sunrpc/xdr_float.c: Likewise.
60745         * sunrpc/xdr_intXX_t.c: Likewise.
60746         * sunrpc/xdr_mem.c: Likewise.
60747         * sunrpc/xdr_rec.c: Likewise.
60748         * sunrpc/xdr_ref.c: Likewise.
60749         * sunrpc/xdr_sizeof.c: Likewise.
60750         * sunrpc/xdr_stdio.c: Likewise.
60752 2012-05-10  Roland McGrath  <roland@hack.frob.com>
60754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
60755         change.  Update copyright years.
60757 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60759         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
60761 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
60762             Joseph Myers  <joseph@codesourcery.com>
60763             Paul Pluzhnikov  <ppluzhnikov@google.com>
60765         [BZ #14012]
60766         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
60767         requiring rpcgen.
60768         [cross-compiling] (extra-libs): Likewise.
60769         [cross-compiling] (extra-libs-others): Likewise.
60770         [cross-compiling] (librpcsvc-routines): Likewise.
60771         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
60772         [cross-compiling] (omit-deps): Likewise.
60773         (sunrpc-CPPFLAGS): New variable.
60774         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
60775         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
60776         (cross-rpcgen-objs): New variable.
60777         (extra-objs): Append $(cross-rpcgen-objs).
60778         ($(cross-rpcgen-objs)): New rule.
60779         ($(objpfx)cross-rpcgen): Likewise.
60780         (rpcgen-cmd): Define to use $(built-program-file).  Expand
60781         comment.
60782         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
60783         ($(objpfx)x%.stmp): Likewise.
60784         * sunrpc/proto.h [IS_IN_build] (_): Define.
60785         [IS_IN_build] (_libc_intl_domainname): Likewise.
60787 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
60789         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
60790         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
60791         and R_X86_64_TPOFF64.
60793 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
60795         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
60796         sysdeps/unix/sysv/syscalls.list.
60797         (stime): Likewise.
60798         (utime): Likewise.
60799         * sysdeps/unix/sysv/syscalls.list: Remove file.
60801 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
60803         [BZ #3440]
60804         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
60805         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
60806         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
60807         (__LC_IDENTIFICATION): Make these macros useful in #if
60808         expressions, as required by C99.
60810 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
60812         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
60813         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
60814         after this.
60816 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
60818         * stdlib/longlong.h: Updated from GCC.
60820 2012-05-09  Andreas Jaeger  <aj@suse.de>
60822         * nscd/nscd.c (run_modes): Make named enum, reorder so that
60823         default is first entry.
60824         (run_mode): Set type.
60825         (main): Remove informal message about syslog.
60826         (options): Fix typo.
60828         [BZ #14053]
60829         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
60830         to asm.
60831         (lrint): Likewise.
60832         (llrintf): Likewise.
60833         (llrint): Likewise.
60834         (rint): Likewise.
60835         (rintf): Likewise.
60836         (nearbyint): Likewise.
60837         (nearbyintf): Likewise.
60839 2012-05-09  Andreas Jaeger  <aj@suse.de>
60840             Pedro Alves  <palves@redhat.com>
60842         * nscd/nscd.c (run_mode): Use enum.
60843         (main): Cleanup coding style issue.
60845 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
60846             Andreas Jaeger  <aj@suse.de>
60848         * nscd/nscd.c (go_background): Replaced with...
60849         (run_mode): ... this.
60850         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
60851         (options): Add -F --foreground.
60852         (main): Implement it.
60853         (parse_opt): Parse it.
60855 2012-05-09  Andreas Jaeger  <aj@suse.de>
60857         [BZ #14083]
60858         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60859         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60860         -Wconversion warning.
60861         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60862         Likewise.
60864 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60866         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60867         == 0.
60868         (LC_ALL): Use macro-int-constant.
60869         (LC_COLLATE): Likewise.
60870         (LC_CTYPE): Likewise.
60871         (LC_MESSAGES): Likewise.
60872         (LC_MONETARY): Likewise.
60873         (LC_NUMERIC): Likewise.
60874         (LC_TIME): Likewise.
60875         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60876         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60877         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60878         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60879         Specify type.
60880         [C99-based standards] (float_t): Expect type.
60881         [C99-based standards] (double_t): Expect type.
60882         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60883         type.
60884         [C99-based standards] (HUGE_VALL): Likewise.
60885         [C99-based standards] (INFINITY): Likewise.
60886         [C99-based standards] (NAN): Likewise.
60887         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60888         [C99-based standards] (FP_NAN): Likewise.
60889         [C99-based standards] (FP_NORMAL): Likewise.
60890         [C99-based standards] (FP_SUBNORMAL): Likewise.
60891         [C99-based standards] (FP_ZERO): Likewise.
60892         [C99-based standards] (FP_FAST_FMA): Use
60893         optional-macro-int-constant.  Specify type.  Require == 1.
60894         [C99-based standards] (FP_FAST_FMAF): Likewise.
60895         [C99-based standards] (FP_FAST_FMAL): Likewise.
60896         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60897         [C99-based standards] (FP_ILOGBNAN): Likewise.
60898         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60899         Specify type.
60900         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60901         [C99-based standards] (math_errhandling): Specify type.
60902         [ISO99 || ISO11] (signgam): Do not allow.
60903         [non-C99-based standards] (copysignf): Do not allow.
60904         [non-C99-based standards] (exp2f): Likewise.
60905         [non-C99-based standards] (log2f): Likewise.
60906         [non-C99-based standards] (modff): Allow.
60907         [non-C99-based standards] (erff): Do not allow.
60908         [non-C99-based standards] (erfcf): Likewise.
60909         [non-C99-based standards] (gammaf): Likewise.
60910         [non-C99-based standards] (hypotf): Likewise.
60911         [non-C99-based standards] (j0f): Likewise.
60912         [non-C99-based standards] (j1f): Likewise.
60913         [non-C99-based standards] (jnf): Likewise.
60914         [non-C99-based standards] (lgammaf): Likewise.
60915         [non-C99-based standards] (tgammaf): Likewise.
60916         [non-C99-based standards] (y0f): Likewise.
60917         [non-C99-based standards] (y1f): Likewise.
60918         [non-C99-based standards] (ynf): Likewise.
60919         [non-C99-based standards] (isnanf): Likewise.
60920         [non-C99-based standards] (acoshf): Likewise.
60921         [non-C99-based standards] (asinhf): Likewise.
60922         [non-C99-based standards] (atanhf): Likewise.
60923         [non-C99-based standards] (cbrtf): Likewise.
60924         [non-C99-based standards] (expm1f): Likewise.
60925         [non-C99-based standards] (ilogbf): Likewise.
60926         [non-C99-based standards] (log1pf): Likewise.
60927         [non-C99-based standards] (logbf): Likewise.
60928         [non-C99-based standards] (nextafterf): Likewise.
60929         [non-C99-based standards] (remainderf): Likewise.
60930         [non-C99-based standards] (rintf): Likewise.
60931         [non-C99-based standards] (scalbf): Likewise.
60932         [non-C99-based standards] (copysignl): Likewise.
60933         [non-C99-based standards] (exp2l): Likewise.
60934         [non-C99-based standards] (log2l): Likewise.
60935         [non-C99-based standards] (modfl): Allow.
60936         [non-C99-based standards] (erfl): Do not allow.
60937         [non-C99-based standards] (erfcl): Likewise.
60938         [non-C99-based standards] (gammal): Likewise.
60939         [non-C99-based standards] (hypotl): Likewise.
60940         [non-C99-based standards] (j0l): Likewise.
60941         [non-C99-based standards] (j1l): Likewise.
60942         [non-C99-based standards] (jnl): Likewise.
60943         [non-C99-based standards] (lgammal): Likewise.
60944         [non-C99-based standards] (tgammal): Likewise.
60945         [non-C99-based standards] (y0l): Likewise.
60946         [non-C99-based standards] (y1l): Likewise.
60947         [non-C99-based standards] (ynl): Likewise.
60948         [non-C99-based standards] (isnanl): Likewise.
60949         [non-C99-based standards] (acoshl): Likewise.
60950         [non-C99-based standards] (asinhl): Likewise.
60951         [non-C99-based standards] (atanhl): Likewise.
60952         [non-C99-based standards] (cbrtl): Likewise.
60953         [non-C99-based standards] (expm1l): Likewise.
60954         [non-C99-based standards] (ilogbl): Likewise.
60955         [non-C99-based standards] (log1pl): Likewise.
60956         [non-C99-based standards] (logbl): Likewise.
60957         [non-C99-based standards] (nextafterl): Likewise.
60958         [non-C99-based standards] (remainderl): Likewise.
60959         [non-C99-based standards] (rintl): Likewise.
60960         [non-C99-based standards] (scalbl): Likewise.
60961         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60962         [non-C99-based standards] (FP_*): Do not allow.
60963         [C99-based standards] (FP_*): Change to
60964         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60965         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60966         allow.
60967         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60968         (SIG_ERR): Likewise.
60969         [X/Open-based standards] (SIG_HOLD): Likewise.
60970         (SIG_IGN): Likewise.
60971         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60972         positive value.
60973         (SIGFPE): Likewise.
60974         (SIGILL): Likewise.
60975         (SIGINT): Likewise.
60976         (SIGSEGV): Likewise.
60977         (SIGTER): Likewise.
60978         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60979         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60980         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60981         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60982         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60983         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60984         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60985         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60986         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60987         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60988         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60989         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60990         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60991         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60992         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60993         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60994         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60995         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60996         [X/Open-based standards] (SIGTRAP): Likewise.
60997         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60998         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60999         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61000         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61001         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61002         allow.
61004 2012-05-08  Ian Wienand  <ianw@vmware.com>
61006         [BZ #14080]
61007         * time/tzset.c (__tzset_parse_tz): Update default rules for
61008         daylight time changes in the Energy Policy Act of 2005.
61010 2012-05-09  Andreas Jaeger  <aj@suse.de>
61012         [BZ #13983]
61013         * elf/ldconfig.c (parse_conf): Change string to make clear that
61014         ldconfig only issued a warning if ld.so.conf does not exist.
61016 2012-05-08  David S. Miller  <davem@davemloft.net>
61018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61019         movxtod instead of popping the value on the stack.
61021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61023 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61025         * config.h.in: Add HAVE_ARM_PCS_VFP.
61027 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61029         [BZ #13979]
61030         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61031         checking but the checks are disabled for any reason.
61033 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61035         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61036         and ELF64_R_TYPE with ELFW(R_TYPE).
61038 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61040         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61041         (ulimit): Likewise.
61043         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61044         (settimeofday): Likewise.
61046 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61048         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61049         a struct th_u2 inside the union, and move tu_block/tu_code into
61050         a new th_u3 union of tu_block/tu_code inside of that.  Move
61051         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61052         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61053         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61054         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61055         (th_stuff): Change to th_u1.tu_stuff.
61056         (th_data): Define.
61057         (th_msg): Change to th_u1.th_u2.tu_data.
61059 2012-05-07  David S. Miller  <davem@davemloft.net>
61061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61063         [BZ #14074]
61064         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61065         (SETUP_PIC_REG): Use it.
61066         (SETUP_PIC_REG_LEAF): Use it.
61068 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61070         [BZ #13885]
61071         [BZ #13923]
61072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61073         USE_AS_EXPM1L.
61074         (EXPL_FINITE): Likewise.
61075         (FLDLOG): Likewise.
61076         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61077         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61078         e_expl.S.
61079         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61080         USE_AS_EXPM1L.
61081         (EXPL_FINITE): Likewise.
61082         (FLDLOG): Likewise.
61083         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61084         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61085         e_expl.S.
61086         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61087         test of -max_value argument for long double.
61088         * sysdeps/i386/fpu/libm-test-ulps: Update.
61089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61091 2012-05-06  David S. Miller  <davem@davemloft.net>
61093         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61094         quad soft-float symbols whose references which are compiler
61095         generated.
61096         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61098 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61100         [BZ #13884]
61101         [BZ #13914]
61102         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61103         USE_AS_EXP10L.
61104         (EXPL_FINITE): Likewise.
61105         (FLDLOG): Likewise.
61106         (c0): Likewise.
61107         (c1): Likewise.
61108         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61109         Adjust comments for base varying.
61110         (__expl_finite): Change alias to EXPL_FINITE.
61111         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61112         e_expl.S.
61113         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61114         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61115         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61116         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61117         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61118         USE_AS_EXP10L.
61119         (EXPL_FINITE): Likewise.
61120         (FLDLOG): Likewise.
61121         (c0): Likewise.
61122         (c1): Likewise.
61123         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61124         Adjust comments for base varying.
61125         (__expl_finite): Change alias to EXPL_FINITE.
61126         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61127         tests for bugs.
61128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61130         [BZ #14064]
61131         * math/libm-test.inc (check_float_internal): Correct ulp
61132         calculation for subnormal expected results.
61134 2012-05-06  Andreas Jaeger  <aj@suse.de>
61136         * Makeconfig (+math-flags): New, set to -frounding-math.
61137         (+cflags): Add +math-flags so that all of glibc gets compiled with
61138         it.
61140         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61142 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61144         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61145         Disable one test.
61147         [BZ #13787]
61148         [BZ #13922]
61149         [BZ #14036]
61150         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61151         (__ieee754_expl): Allow for and saturate large arguments.
61152         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61153         (u_threshold): Likewise.
61154         (__exp): Call __ieee754_exp before checking for overflow and
61155         underflow.
61156         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61157         (u_threshold): Likewise.
61158         (__expf): Call __ieee754_expf before checking for overflow and
61159         underflow.
61160         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61161         (u_threshold): Likewise.
61162         (__expl): Call __ieee754_expl before checking for overflow and
61163         underflow.
61164         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61165         (__ieee754_expl): Allow for and saturate large arguments.
61166         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61167         missing overflow exception on overflow.
61168         (expm1_test): Do not allow missing overflow exception on overflow.
61170         * sysdeps/i386/fpu/e_expl.c: Move to ...
61171         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61172         rather than using inline asm.
61173         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61174         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61175         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61177         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61178         (nice): Likewise.
61179         (poll): Likewise.
61180         (signal): Likewise.
61181         (time): Likewise.
61182         (times): Likewise.
61184 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61186         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61187         sysdeps/unix/common/syscalls.list.
61188         (fchmod): Likewise.
61189         (fchown): Likewise.
61190         (ftruncate): Likewise.
61191         (getrusage): Likewise.
61192         (gettimeofday): Likewise.
61193         (setpgid): Likewise.
61194         (setregid): Likewise.
61195         (setreuid): Likewise.
61196         (sigaction): Likewise.
61197         (truncate): Likewise.
61198         (vhangup): Likewise.
61199         * sysdeps/unix/common/syscalls.list: Remove file.
61200         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61201         * sysdeps/unix/sysv/linux/Implies: Likewise.
61203 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61205         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61207         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61208         Moved to ...
61209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61210         Here.
61211         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61212         to ...
61213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61214         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61215         to ...
61216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61217         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61218         to ...
61219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61220         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61221         to ...
61222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61223         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61224         to ...
61225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61226         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61227         to ...
61228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61229         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61230         to ...
61231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61232         Here.
61233         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61234         to ...
61235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61236         Here.
61237         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61238         to ...
61239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61240         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61241         Moved to ...
61242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61243         Here.
61244         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61245         to ...
61246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61248 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61250         * sysdeps/unix/common/bits/dirent.h: Remove file.
61251         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61253         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61254         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61255         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61256         * sysdeps/unix/bsd/isatty.c: Likewise.
61257         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61258         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61259         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61261 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61263         [BZ #13563]
61264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61265         long double comparison inaccuracies.
61266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61269 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61271         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61272         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61274 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61276         [BZ #14049]
61277         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61278         nonzero digits before rounding a hex value.
61279         * stdlib/tst-strtod.c (tests): Add another test.
61281 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61283         * sysdeps/s390/fpu/libm-test-ulps: Update.
61285 2012-05-03  Andreas Jaeger  <aj@suse.de>
61287         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61288         does not get optimized out.
61289         (malloc_opt_barrier): New.
61291 2012-05-03  Andreas Jaeger  <aj@suse.de>
61292             Roland McGrath  <roland@hack.frob.com>
61294         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61295         intermediate file deletion.
61296         (generated): Add .symlist files.
61298 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61300         [BZ #13775]
61301         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61302         Redirect under this condition.
61303         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61304         [__USE_GNU] (__dprintf_chk): Not under this condition.
61305         [__USE_GNU] (__vdprintf_chk): Likewise.
61306         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61307         under this condition.
61308         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61309         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61310         [__USE_XOPEN2K8] (vdprintf): Likewise.
61311         [__USE_GNU] (__dprintf_chk): Not under this condition.
61312         [__USE_GNU] (__vdprintf_chk): Likewise.
61313         [__USE_GNU] (dprintf): Likewise.
61314         [__USE_GNU] (vdprintf): Likewise.
61316 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61318         * elf/Makefile (common-generated): Set this instead of generated for
61319         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61320         $(all-built-dso)-derived lists.
61322 2012-05-03  Andreas Jaeger  <aj@suse.de>
61324         * sysdeps/i386/fpu/libm-test-ulps: Update.
61326         * FAQ: Removed.
61327         * FAQ.in: Likewise.
61328         * scripts/gen-FAQ.pl: Likewise.
61329         * manual/install.texi (Installation): Point to online location of
61330         FAQ.
61331         * Makefile (files-for-dist): Remove FAQ.
61332         (FAQ): Remove.
61334 2012-05-02  Allan McRae  <allan@archlinux.org>
61336         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
61337         (LDFLAGS-reldepmod5.so): Likewise.
61338         (LDFLAGS-reldep6mod1.so): Likewise.
61339         (LDFLAGS-reldep6mod4.so): Likewise.
61340         (LDFLAGS-reldep8mod3.so): Likewise.
61341         (LDFLAGS-unload4mod1.so): Likewise.
61342         (LDFLAGS-unload4mod2.so): Likewise.
61343         (LDFLAGS-tst-initorder): Likewise.
61344         (LDFLAGS-tst-initordera2.so): Likewise.
61345         (LDFLAGS-tst-initordera3.so): Likewise.
61346         (LDFLAGS-tst-initordera4.so): Likewise.
61347         (LDFLAGS-tst-initorderb2.so): Likewise.
61348         (LDFLAGS-noload): Likewise.
61349         (LDFLAGS-next): Likewise.
61350         (LDFLAGS-order2mod1.so): Likewise.
61351         (LDFLAGS-order2mod2.so): Likewise.
61352         (LDFLAGS-tst-initorder2): Likewise.
61353         (LDFLAGS-tst-initorder2a.so): Likewise.
61354         (LDFLAGS-tst-initorder2b.so): Likewise.
61355         (LDFLAGS-tst-initorder2c.so): Likewise.
61356         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
61358 2012-05-02  David S. Miller  <davem@davemloft.net>
61360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61362 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
61364         [BZ #14055]
61365         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
61367 2012-05-02  Andreas Jaeger  <aj@suse.de>
61369         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
61370         since we manipulate rounding mode.
61371         (CPPFLAGS-test-idouble.c): Likewise.
61372         (CPPFLAGS-test-ifloat.c): Likewise.
61373         (CFLAGS-test-ldouble.c): Likewise.
61374         (CFLAGS-test-double.c): Likewise.
61375         (CFLAGS-test-float.c): Likewise.
61376         (CFLAGS-test-misc.c): Likewise.
61377         (CFLAGS-test-test-fenv.c): Likewise.
61379 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61381         [BZ #2550]
61382         [BZ #2570]
61383         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
61384         comparisons to determine direction to adjust input.
61386 2012-05-01  Roland McGrath  <roland@hack.frob.com>
61388         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
61389         output to the target.
61391         * scripts/localplt.awk: New file.
61392         * elf/Makefile ($(objpfx)check-localplt): Target removed.
61393         (check-localplt-CFLAGS): Variable removed.
61394         ($(all-built-dso:=.jmprel)): New static pattern rule.
61395         (generated): Add those targets.
61396         (localplt-built-dso): New variable.
61397         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
61399         * elf/check-localplt.c: File removed.
61401         * scripts/check-execstack.awk: New file.
61402         * elf/Makefile ($(objpfx)check-execstack): Target removed.
61403         (check-execstack-CFLAGS): Variable removed.
61404         ($(objpfx)check-execstack.h): Target removed.
61405         ($(objpfx)execstack-default): New target.
61406         (generated): Add that instead of check-execstack.h.
61407         ($(all-built-dso:=.phdr)): New static pattern rule.
61408         (generated): Add those targets.
61409         * elf/check-execstack.c: File removed.
61411         * scripts/check-textrel.awk: New file.
61412         * elf/Makefile ($(objpfx)check-textrel): Target removed.
61413         (check-textrel-CFLAGS): Variable removed.
61414         (all-built-dso): Use := to define.o
61415         ($(all-built-dso:=.dyn)): New static pattern rule.
61416         (generated): Add those targets.
61417         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
61418         * config.make.in (READELF): New substituted variable.
61419         * elf/check-textrel.c: File removed.
61421 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61423         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61424         allow.
61425         * conform/data/ctype.h-data [C99-based standards] (isblank):
61426         Expect function.
61427         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
61428         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
61429         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61430         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
61431         Specify type.  Require positive value.
61432         (EILSEQ): Likewise.
61433         (ERANGE): Likewise.
61434         [ISO || POSIX] (EILSEQ): Do not expect.
61435         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
61436         Specify type.  Require positive value.
61437         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
61438         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
61439         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
61440         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
61441         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
61442         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
61443         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
61444         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
61445         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
61446         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
61447         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
61448         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
61449         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
61450         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
61451         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
61452         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
61453         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
61454         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
61455         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
61456         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
61457         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
61458         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
61459         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
61460         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
61461         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
61462         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
61463         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
61464         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
61465         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
61466         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
61467         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
61468         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
61469         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
61470         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
61471         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
61472         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
61473         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
61474         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
61475         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
61476         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
61477         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
61478         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
61479         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
61480         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
61481         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
61482         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
61483         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
61484         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
61485         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
61486         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
61487         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
61488         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
61489         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
61490         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
61491         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
61492         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
61493         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
61494         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
61495         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
61496         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
61497         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
61498         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
61499         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
61500         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
61501         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
61502         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
61503         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
61504         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
61505         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
61506         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
61507         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
61508         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
61509         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
61510         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
61511         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
61512         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
61513         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
61514         Require >= 2.
61515         (FLT_ROUNDS): Expect as macro, not constant.
61516         (FLT_MANT_DIG): Use macro-int-constant.
61517         (DBL_MANT_DIG): Likewise.
61518         (LDBL_MANT_DIG): Likewise.
61519         (FLT_DIG): Likewise.
61520         (DBL_DIG): Likewise.
61521         (LDBL_DIG): Likewise.
61522         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
61523         (DBL_MIN_EXP): Likewise.
61524         (LDBL_MIN_EXP): Likewise.
61525         (FLT_MAX_EXP): Use macro-int-constant.
61526         (DBL_MAX_EXP): Likewise.
61527         (LDBL_MAX_EXP): Likewise.
61528         (FLT_MAX_10_EXP): Likewise.
61529         (DBL_MAX_10_EXP): Likewise.
61530         (LDBL_MAX_10_EXP): Likewise.
61531         (FLT_MAX): Use macro-constant.
61532         (DBL_MAX): Likewise.
61533         (LDBL_MAX): Likewise.
61534         (FLT_EPSILON): Use macro-constant.  Give upper bound.
61535         (DBL_EPSILON): Likewise.
61536         (LDBL_EPSILON): Likewise.
61537         (FLT_MIN): Likewise.
61538         (DBL_MIN): Likewise.
61539         (LDBL_MIN): Likewise.
61540         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
61541         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
61542         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
61543         [ISO11] (FLT_HAS_SUBNORM): Likewise.
61544         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
61545         [ISO11] (DBL_DECIMAL_DIG): Likewise.
61546         [ISO11] (FLT_DECIMAL_DIG): Likewise.
61547         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
61548         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
61549         [ISO11] (FLT_TRUE_MIN): Likewise.
61550         [ISO11] (LDBL_TRUE_MIN): Likewise.
61551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61552         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
61553         (SCHAR_MIN): Use macro-int-constant.  Specify type.
61554         (SCHAR_MAX): Likewise.
61555         (UCHAR_MAX): Likewise.
61556         (CHAR_MIN): Likewise.
61557         (CHAR_MAX): Likewise.
61558         (MB_LEN_MAX): Use macro-int-constant.
61559         (SHRT_MIN): Use macro-int-constant.  Specify type.
61560         (SHRT_MAX): Likewise.
61561         (USHRT_MAX): Likewise.
61562         (INT_MAX): Likewise.
61563         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
61564         bound negative.
61565         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61566         bound with "U".
61567         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61568         bound with "L".
61569         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
61570         bound negative.  Suffix upper bound with "L".
61571         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
61572         bound with "UL".
61573         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
61574         Specify type.
61575         [C99-based standards] (LLONG_MAX): Likewise.
61576         [C99-based standards] (ULLONG_MAX): Likewise.
61577         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
61578         == 0.
61579         [ISO11] (max_align_t): Require type.
61580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61582         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
61583         from $CFLAGS, without defining away __attribute__ calls.
61584         (checknamespace): Use $CFLAGS_namespace.
61586         * conform/conformtest.pl (@keywords): Only include C99 keywords
61587         for standards based on C99 or C11.
61589         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
61590         Disable tests.
61591         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
61592         UNIX98]: Likewise.
61594         * conform/conformtest.pl: Handle "macro-int-constant" and test for
61595         usability of symbols in #if.
61597         * conform/conformtest.pl: If macro or constant types start
61598         "promoted:", expect the symbol to be of the following type
61599         promoted by the integer promotions.
61601         * conform/conformtest.pl: Parse all "constant" and "macro" lines
61602         in one place.  Also handle "macro-constant".
61604         * conform/conformtest.pl: Only accept expected macro values with
61605         "==".  Parse all "macro" lines in one place.
61606         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
61608         * conform/conformtest.pl: Handle braced types on "constant" lines
61609         instead of handling "typed-constant".
61610         * conform/data/signal.h-data: Use "constant" instead of
61611         "typed-constant".
61613         * conform/conformtest.pl: Handle "optional-" at start of lines in
61614         one place rather than duplicating several cases.  Handle each
61615         format of "macro" line with initial "optional-".
61617         * conform/conformtest.pl: Only accept expected constant or
61618         optional-constant values with "==".  Parse all "constant" lines in
61619         one place.  Parse all "optional-constant" lines in one place.
61620         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
61621         * conform/data/fmtmsg.h-data: Likewise.
61622         * conform/data/netinet/in.h-data: Likewise.
61623         * conform/data/tar.h-data: Likewise.
61624         * conform/data/limits.h-data: Use "==" form on "constant" and
61625         "optional-constant" lines.
61627         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
61628         Use -std=c99 for XOPEN2K.
61629         (@knownproblems): Remove.
61630         (newtoken): Don't check %isknown.
61632         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
61633         Do not expect macro.
61634         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
61635         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
61636         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
61637         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
61638         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
61639         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
61640         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
61641         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
61642         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
61643         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
61644         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
61645         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
61646         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
61647         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
61648         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
61649         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
61650         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
61651         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
61652         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
61653         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
61654         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
61655         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
61656         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
61657         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
61658         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
61659         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
61660         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
61661         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
61662         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
61663         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
61664         [XPG3] (acosh): Likewise.
61665         [XPG3] (asinh): Likewise.
61666         [XPG3] (atanh): Likewise.
61667         [XPG3] (cbrt): Likewise.
61668         [XPG3] (expm1): Likewise.
61669         [XPG3] (ilogb): Likewise.
61670         [XPG3] (log1p): Likewise.
61671         [XPG3] (logb): Likewise.
61672         [XPG3] (nextafter): Likewise.
61673         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
61674         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
61675         [XPG3] (remainder): Likewise.
61676         [XPG3] (rint): Likewise.
61677         [XPG3 || XPG4 || UNIX98] (round): Likewise.
61678         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
61679         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
61680         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
61681         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
61682         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
61683         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
61684         [UNIX98 || XOPEN2K] (scalb): Expect.
61685         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
61686         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
61687         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
61688         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
61689         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
61690         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
61691         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
61692         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
61693         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
61694         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
61695         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
61696         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
61697         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
61698         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
61699         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
61700         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
61701         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
61702         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
61703         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
61704         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
61705         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
61706         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
61707         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
61708         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
61709         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
61710         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
61711         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
61712         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
61713         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
61714         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
61715         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
61716         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
61717         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
61718         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
61719         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
61720         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
61721         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
61722         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
61723         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
61724         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
61725         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
61726         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
61727         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
61728         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
61729         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
61730         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
61731         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
61732         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
61733         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
61734         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
61735         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
61736         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
61737         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
61738         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
61739         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
61740         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
61741         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
61742         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
61743         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
61744         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
61745         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
61746         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
61747         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
61748         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
61749         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
61750         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
61751         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
61752         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
61753         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
61754         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
61755         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
61756         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
61757         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
61758         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
61759         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
61760         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
61761         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
61762         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
61763         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
61764         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
61765         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
61766         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
61767         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
61768         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
61769         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
61770         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
61771         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
61772         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
61773         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
61774         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
61775         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
61776         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
61777         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
61778         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
61779         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
61780         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
61781         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
61782         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
61783         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
61784         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
61785         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
61786         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
61787         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
61788         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
61789         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
61790         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
61791         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
61792         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
61793         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
61794         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
61795         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
61796         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
61797         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
61798         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
61799         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
61800         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
61801         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
61802         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
61803         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
61804         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
61805         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
61806         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
61807         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
61808         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
61809         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
61810         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
61811         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
61812         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
61813         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
61814         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
61815         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
61816         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
61817         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
61818         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
61819         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
61820         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
61821         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
61823         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
61824         _XOPEN_SOURCE_EXTENDED for XPG4.
61826         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
61828         * Makeconfig (localtime): Remove variable.
61829         (inst_localtime-file): Likewise.
61831 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
61834         Update.
61835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61836         Update.
61837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
61838         Update.
61839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61840         Update.
61841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
61842         Update.
61843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
61844         Update.
61845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61846         Update.
61847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
61848         Update.
61849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61850         Update.
61852 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61854         [BZ #2550]
61855         [BZ #2570]
61856         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61857         comparisons to determine direction to adjust input.
61858         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61859         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61860         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61861         Likewise.
61862         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61863         Likewise.
61864         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61865         Likewise.
61866         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61867         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61868         Likewise.
61869         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61870         Likewise.
61871         * math/libm-test.inc (nexttoward_test): Add more tests.
61873 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61875         [BZ #14040]
61876         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61877         in version GLIBC_2.1, not GLIBC_2.0.
61878         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61879         Likewise.
61881 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61883         [BZ #13942]
61884         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61885         (1 - x) * (1 + x).
61886         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61887         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61888         * math/libm-test.inc (acos_test): Add more tests.
61889         (asin_test): Likewise.
61890         * sysdeps/i386/fpu/libm-test-ulps: Update.
61891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61893         [BZ #14034]
61894         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61895         of square root.
61896         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61897         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61898         * math/libm-test.inc (acos_test_tonearest): New function.
61899         (acos_test_towardzero): Likewise.
61900         (acos_test_downward): Likewise.
61901         (acos_test_upward): Likewise.
61902         (asin_test_tonearest): Likewise.
61903         (asin_test_towardzero): Likewise.
61904         (asin_test_downward): Likewise.
61905         (asin_test_upward): Likewise.
61906         (main): Call the new functions.
61907         * sysdeps/i386/fpu/libm-test-ulps: Update.
61908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61910         [BZ #13884]
61911         [BZ #13924]
61912         * math/e_exp10.c: Include <float.h>.
61913         (__ieee754_exp10): Handle underflow here rather than multiplying
61914         large negative argument by M_LN10.
61915         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61916         of __ieee754_expf.
61917         * math/e_exp10l.c: Include <float.h>.
61918         (__ieee754_exp10l): Handle underflow here rather than multiplying
61919         large negative argument by M_LN10l.
61920         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61921         spurious overflow exception on underflow.
61923 2012-04-29  Marek Polacek  <polacek@redhat.com>
61925         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61926         (__fortify_function): New macro.
61927         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61928         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61929         __extern_always_inline.
61930         * libio/bits/stdio2.h: Likewise.
61931         * libio/bits/stdio.h: Likewise.
61932         * string/string.h: Likewise.
61933         * string/bits/string3.h: Likewise.
61934         * include/stdio.h: Likewise.
61935         * stdlib/bits/stdlib.h: Likewise.
61936         * stdlib/stdlib.h: Likewise.
61937         * rt/bits/mqueue2.h: Likewise.
61938         * rt/mqueue.h: Likewise.
61939         * posix/bits/unistd.h: Likewise.
61940         * posix/unistd.h: Likewise.
61941         * io/bits/poll2.h: Likewise.
61942         * io/bits/fcntl2.h: Likewise.
61943         * io/fcntl.h: Likewise.
61944         * io/sys/poll.h: Likewise.
61945         * misc/bits/syslog.h: Likewise.
61946         * misc/bits/syslog-ldbl.h: Likewise.
61947         * misc/sys/syslog.h: Likewise.
61948         * socket/bits/socket2.h: Likewise.
61949         * socket/sys/socket.h: Likewise.
61950         * debug/tst-chk1.c: Likewise.
61951         * wcsmbs/bits/wchar2.h: Likewise.
61952         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61953         * wcsmbs/wchar.h: Likewise.
61955 2012-04-29  Andreas Jaeger  <aj@suse.de>
61957         * Makerules (tests): Remove enable-check-abi protection.
61958         (check-abi-warn): Remove.
61959         (check-abi-%): Remove check-abi-warn usage.
61961         * configure.in: Remove check-abi configure option.
61962         * configure: Regenerated.
61963         * config.make.in (enable-check-abi): Remove.
61965 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61967         [BZ #14033]
61968         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61969         double functions to double *_finite functions.
61971         [BZ #13941]
61972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61973         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61974         LDBL_MIN_EXP.
61975         * stdio-common/Makefile (tests): Add tst-sprintf3.
61976         * stdio-common/tst-sprintf3.c: New file.
61978         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61979         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61981 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61983         * conform/conformtest.pl: Remove duplicate typed-constant
61984         handling.
61986 2012-04-28  David S. Miller  <davem@davemloft.net>
61988         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61989         (check-abi-%): Remove AWK script prerequisite and explicit
61990         abilist directory.
61991         (check-abi): Rewrite to just diff the symlist with the abilist.
61992         (config-tls, config-abi-config): Delete, no longer used.
61993         (update-abi-%): Remove AWK script and explicit abilist directory.
61994         (update-abi): Rewrite to simply compare and conditionally copy the
61995         symlist and the sysdep abilist file.  Remove update-abi-config
61996         checks.
61997         * abilist/ld.abilist: Remove.
61998         * abilist/libBrokenLocale.abilist: Remove.
61999         * abilist/libanl.abilist: Remove.
62000         * abilist/libcrypt.abilist: Remove.
62001         * abilist/libdl.abilist: Remove.
62002         * abilist/librt.abilist: Remove.
62003         * abilist/libthread_db.abilist: Remove.
62004         * abilist/libutil.abilist: Remove.
62005         * scripts/extract-abilist.awk: Remove.
62006         * scripts/merge-abilist.awk: Remove.
62007         * sysdeps/generic/libcidn.abilist: New file.
62008         * sysdeps/generic/libnss_compat.abilist: New file.
62009         * sysdeps/generic/libnss_db.abilist: New file.
62010         * sysdeps/generic/libnss_dns.abilist: New file.
62011         * sysdeps/generic/libnss_files.abilist: New file.
62012         * sysdeps/generic/libnss_hesiod.abilist: New file.
62013         * sysdeps/generic/libnss_nis.abilist: New file.
62014         * sysdeps/generic/libnss_nisplus.abilist: New file.
62015         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62016         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62017         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62018         file.
62019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62020         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62021         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62022         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62023         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62024         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62025         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62026         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62027         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62028         file.
62029         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62030         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62031         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62032         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62033         file.
62034         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62035         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62036         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62037         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62038         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62039         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62040         file.
62041         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62042         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62043         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62044         file.
62045         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62047         New file.
62048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62049         New file.
62050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62051         New file.
62052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62053         New file.
62054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62055         New file.
62056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62057         New file.
62058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62059         New file.
62060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62061         New file.
62062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62063         New file.
62064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62065         New file.
62066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62067         New file.
62068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62069         New file.
62070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62071         New file.
62072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62073         file.
62074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62075         New file.
62076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62077         New file.
62078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62079         file.
62080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62081         New file.
62082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62083         New file.
62084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62085         file.
62086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62087         New file.
62088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62089         New file.
62090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62091         New file.
62092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62093         New file.
62094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62095         New file.
62096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62097         New file.
62098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62100         file.
62101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62102         New file.
62103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62104         file.
62105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62106         file.
62107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62108         file.
62109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62110         file.
62111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62112         file.
62113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62114         New file.
62115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62116         file.
62117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62118         file.
62119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62120         New file.
62121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62122         file.
62123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62125         file.
62126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62127         New file.
62128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62129         file.
62130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62131         file.
62132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62133         file.
62134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62135         file.
62136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62137         file.
62138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62139         New file.
62140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62141         file.
62142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62143         file.
62144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62145         New file.
62146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62147         file.
62148         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62149         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62150         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62151         file.
62152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62153         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62154         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62155         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62156         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62157         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62158         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62159         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62160         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62161         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62164         file.
62165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62166         New file.
62167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62168         file.
62169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62170         file.
62171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62172         file.
62173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62174         file.
62175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62176         file.
62177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62178         New file.
62179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62180         New file.
62181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62182         file.
62183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62184         New file.
62185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62186         file.
62187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62189         file.
62190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62191         New file.
62192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62193         file.
62194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62195         file.
62196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62197         file.
62198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62199         file.
62200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62201         file.
62202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62203         New file.
62204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62205         New file.
62206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62207         file.
62208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62209         New file.
62210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62211         file.
62213 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62215         * conform/conformtest.pl: Fix typo in handling typed-constant from
62216         allow-header.
62218 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62220         * README: Cut down references to pre-2.6 Linux kernels and
62221         Linuxthreads.  Update lists of configurations in libc and ports
62222         and sort alphabetically.  Say "or newer" with Linux kernel version
62223         requirements.
62225         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62227 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62229         [BZ #887]
62230         * math/libm-test.inc (logb_test_downward): New test to expose
62231         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62232         rounding mode.
62234 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62236         [BZ #14027]
62237         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62238         to be done.
62239         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62240         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62242 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62244         * sysdeps/unix/i386/brk.S: Remove file.
62245         * sysdeps/unix/i386/dl-brk.S: Likewise.
62246         * sysdeps/unix/i386/pipe.S: Likewise.
62247         * sysdeps/unix/i386/sigreturn.S: Likewise.
62248         * sysdeps/unix/i386/syscall.S: Likewise.
62249         * sysdeps/unix/i386/vfork.S: Likewise.
62250         * sysdeps/unix/i386/wait.S: Likewise.
62252         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62253         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62255         * configure.in (arm*-none*): Do not allow without
62256         --enable-hacker-mode.
62257         (netbsd*): Remove case setting base_os.
62258         (386bsd*): Likewise.
62259         (freebsd*): Likewise.
62260         (bsdi*): Likewise.
62261         (osf*): Likewise.
62262         (sunos*): Likewise.
62263         (ultrix*): Likewise.
62264         (newsos*): Likewise.
62265         (dynix*): Likewise.
62266         (*bsd*): Likewise.
62267         (sysv*): Likewise.
62268         (isc*): Likewise.
62269         (esix*): Likewise.
62270         (sco*): Likewise.
62271         (minix*): Likewise.
62272         (irix4*): Likewise.
62273         (irix6*): Likewise.
62274         (solaris[2-9]*): Likewise.
62275         (none): Likewise.
62276         * configure: Regenerated.
62278 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62280         [BZ #11521]
62281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62282         overflow or cancellation in calculating denominator.
62283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62284         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62285         down expression to avoid unexpected rounding in newer GCCs.
62286         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62288 2012-04-26  David S. Miller  <davem@davemloft.net>
62290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62291         long-double compat symbols.
62292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62306 2012-04-25  David S. Miller  <davem@davemloft.net>
62308         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62309         HWCAP_* values only after the memory barriers have been defined.
62310         (atomic_full_barrier): Define.
62311         (atomic_read_barrier): Define.
62312         (atomic_write_barrier): Define.
62314 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62316         * shlib-versions: Add libgcc_s version information.
62317         * sysdeps/generic/libgcc_s.h: Remove.
62318         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62319         libgcc_s.h.
62320         * sysdeps/gnu/unwind-resume.c: Likewise.
62321         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62323 2012-04-25  David S. Miller  <davem@davemloft.net>
62325         * sysdeps/unix/sparc/brk.S: Delete.
62326         * sysdeps/unix/sparc/dl-brk.S: Delete.
62327         * sysdeps/unix/sparc/pipe.S: Delete.
62328         * sysdeps/unix/sparc/sysdep.S: Delete.
62329         * sysdeps/unix/sparc/sysdep.h: Delete.
62330         * sysdeps/unix/sparc/vfork.S: Delete.
62331         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
62332         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
62333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
62334         (ret_ERRVAL, r0, r1, MOVE): Define.
62335         (JUMPTARGET): Remove.
62336         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
62337         sysdeps/unix/sparc/sysdep.h
62338         (ENTRY, END): Remove.
62339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62341 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
62343         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
62344         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
62345         -DIS_IN_build.
62347         * timezone/README: Update upstream location and email address for
62348         tzcode and tzdata.
62349         * timezone/zdump.c: Update from tzcode 2012b.
62350         * timezone/zic.c: Likewise.
62352         * configure.in (libc_cv_as_needed): Remove test.
62353         * configure: Regenerated.
62354         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
62355         conditional definition.
62356         [$(have-as-needed) != yes] (no-as-needed): Likewise.
62357         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
62358         * config.make.in (have-as-needed): Remove variable.
62360 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62361             Paul Pluzhnikov  <ppluzhnikov@google.com>
62363         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
62364         strings correctly.
62366 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
62368         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
62369         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
62370         * sysdeps/sh/strlen.S: Likewise.
62372 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62374         * sysdeps/unix/fork.S: Remove file.
62375         * sysdeps/unix/i386/fork.S: Likewise.
62376         * sysdeps/unix/sparc/fork.S: Likewise.
62378         * sysdeps/unix/system.c: Remove file.
62379         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
62381         * sysdeps/unix/getegid.S: Remove file.
62382         * sysdeps/unix/geteuid.S: Likewise.
62384 2012-04-24  Roland McGrath  <roland@hack.frob.com>
62386         * scripts/check-localplt.awk: New file.
62387         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
62388         of diff.
62389         * scripts/data/localplt-generic.data: Add a comment.
62391         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
62392         NODE when __dir_mkfile failed.
62393         * sysdeps/mach/hurd/symlinkat.c: Likewise.
62394         Reported by Ludovic Courtès <ludo@gnu.org>.
62396 2012-04-24  Andreas Jaeger  <aj@suse.de>
62398         * Makerules (common-clean): Also remove gen-as-const-headers
62399         files.
62401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62403         * Makerules (native-compile): Do not change working directory for
62404         build.  Use $(OUTPUT_OPTION) in command.
62405         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
62407 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62409         [BZ #13886]
62410         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
62411         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
62412         * math/libm-test.inc (floor_test): Add more tests.
62413         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
62415 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
62417         * sysdeps/unix/getdents.c: Remove file.
62418         * sysdeps/unix/sysv/getdents.c: Likewise.
62419         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
62421         * sysdeps/unix/syscalls.list (madvise): Add syscall from
62422         sysdeps/unix/mman/syscalls.list.
62423         (mmap): Likewise.
62424         (mprotect): Likewise.
62425         (msync): Likewise.
62426         (munmap): Likewise.
62427         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
62428         * sysdeps/unix/mman/syscalls.list: Remove.
62429         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
62431         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
62432         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
62433         * configure: Regenerated.
62434         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
62435         $(libgcc_s_suffix).
62436         * config.make.in (libgcc_s_suffix): Remove variable.
62438 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
62440         * sysdeps/unix/sysv/gethostname.c: Move to ...
62441         * sysdeps/posix/gethostname.c: ... here.
62443         * sysdeps/unix/execve.S: Remove file.
62445         * sysdeps/unix/_exit.S: Remove file.
62447 2012-04-23  Andreas Jaeger  <aj@suse.de>
62449         [BZ #13739]
62450         * manual/Makefile: Remove make dist support, there's no
62451         need for a stand-alone documentation tar ball.
62452         (TEXI2DVI): Define always, it's not in Makeconfig.
62453         (dist): Removed.
62454         (tar-it): Removed.
62455         (edition): Removed.
62456         (glibc-doc-$(edition).tar): Removed
62457         (%.Z): Removed.
62458         (%.gz): Removed.
62459         (%.uu): Removed.
62460         (ETAGS): Remove, it's in Makeconfig.
62461         (move-if-change): Remove, it's in Makeconfig.
62463 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
62465         [BZ #13970]
62466         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
62467         (strtod, strtof, strtold, strtol, strtoul, strtoq)
62468         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
62469         (strtod_l, strtof_l, strtold_l): Remove __wur.
62470         It is not necessarily an error to ignore strtol's return value.
62471         One can reliably look at the stored endptr to decide whether
62472         the number had valid syntax.
62474 2012-04-21  Andreas Jaeger  <aj@suse.de>
62476         [BZ #13739]
62477         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
62479 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
62481         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
62482         * sysdeps/unix/sysv/Versions: Remove file.
62484 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
62486         [BZ #13927]
62487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62489 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
62491         [BZ #7064]
62492         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
62493         version from __vm86.
62495 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
62497         * sysdeps/unix/common/lxstat.c: Remove file.
62498         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
62500         * sysdeps/unix/sysv/Makefile: Remove file.
62502         * sysdeps/unix/sysv/direct.h: Remove file.
62504         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
62505         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
62506         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
62507         * sysdeps/unix/sysv/bits/signum.h: Likewise.
62508         * sysdeps/unix/sysv/bits/stat.h: Likewise.
62509         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
62510         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
62512         * sysdeps/unix/sysv/setrlimit.c: Remove file.
62514         * sysdeps/unix/xmknod.c: Remove file.
62515         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
62517         * sysdeps/unix/sysv/settimeofday.c: Remove file.
62519         * sysdeps/unix/sysv/i386/time.S: Remove file.
62521         * sysdeps/unix/fxstat.c: Remove file.
62522         * sysdeps/unix/xstat.c: Likewise.
62523         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
62525         * sysdeps/unix/sysv/sigaction.c: Remove file.
62527         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
62528         (sysdep_headers): Remove variable.
62529         [termio.h not in sysdep_headers] (generated): Likewise.
62530         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
62531         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
62532         * sysdeps/unix/sysv/tcdrain.c: Likewise.
62533         * sysdeps/unix/sysv/tcflow.c: Likewise.
62534         * sysdeps/unix/sysv/tcflush.c: Likewise.
62535         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
62536         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
62537         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
62538         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
62539         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
62541         * sysdeps/unix/siglist.c: Remove file.
62543         * sysdeps/unix/getppid.S: Remove file.
62545         * sysdeps/unix/mkdir.c: Remove file.
62546         * sysdeps/unix/rmdir.c: Likewise.
62548 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
62550         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
62551         ERR_MAX value.
62552         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
62553         errlist-compat value.
62555 2012-04-18  David S. Miller  <davem@davemloft.net>
62557         * sysdeps/generic/memcopy.h (reg_char): Delete.
62558         * debug/strcat_chk.c: Use char, not reg_char.
62559         * debug/strcpy_chk.c: Likewise.
62560         * debug/strncat_chk.c: Likewise.
62561         * debug/strncpy_chk.c: Likewise.
62562         * string/memchr.c: Likewise.
62563         * string/memrchr.c: Likewise.
62564         * string/rawmemchr.c: Likewise.
62565         * string/strcat.c: Likewise.
62566         * string/strchr.c: Likewise.
62567         * string/strchrnul.c: Likewise.
62568         * string/strcmp.c: Likewise.
62569         * string/strcpy.c: Likewise.
62570         * string/strncat.c: Likewise.
62571         * string/strncmp.c: Likewise.
62572         * string/strncpy.c: Likewise.
62574 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62576         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
62577         __builtin_memcopy is called when src and dest ranges are known to not
62578         overlap.
62580 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62582         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
62583         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
62584         fwd_align_merge macro call.
62585         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
62586         bwd_align_merge macro call.
62587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62589 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
62591         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
62592         bwd_align_merge macros.
62593         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
62594         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
62595         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62597 2012-04-18  David S. Miller  <davem@davemloft.net>
62599         * sysdeps/sparc/sparc64/memcopy.h: Delete.
62601 2012-04-18  Andreas Jaeger  <aj@suse.de>
62603         [BZ# 6794]
62604         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
62605         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
62606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62608         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62609         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
62610         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62612         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
62613         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
62614         Adjust for changed ldbl-128 files.
62616         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
62617         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
62618         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
62620 2012-04-17  David S. Miller  <davem@davemloft.net>
62622         * sysdeps/sparc/sparc32/memcopy.h: Delete.
62624 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
62626         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
62627         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
62628         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
62629         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
62630         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62631         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
62633 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62635         [BZ #6794]
62636         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
62637         * math/libm-test.inc: Add ilogb errno and exception tests.
62638         * math/w_ilogb.c: New file: ilogb wrapper.
62639         * math/w_ilogbf.c: New file: ilogbf wrapper.
62640         * math/w_ilogbl.c: New file: ilogbl wrapper.
62641         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
62642         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
62643         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
62644         exception being thrown with 0.0 as argument.
62645         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
62646         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
62647         exception being thrown with 0.0 as argument.
62648         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
62649         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62650         exception being thrown with 0.0 as argument.
62651         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
62652         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62653         exception being thrown with 0.0 as argument.
62654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
62655         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
62656         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
62657         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
62658         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
62659         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
62660         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
62661         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
62662         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
62664 2012-04-17  Petr Baudis  <pasky@ucw.cz>
62666         * include/sys/uio.h: Change __vector to __iovec to avoid clash
62667         with altivec.
62669 2012-04-16  Marek Polacek  <polacek@redhat.com>
62671         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
62673 2012-04-16  Marek Polacek  <polacek@redhat.com>
62675         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
62676         operands of fdivp instruction.
62678 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62680         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
62681         * elf/tst-auditmod3b.c: Likewise.
62682         * elf/tst-auditmod4b.c: Likewise.
62683         * elf/tst-auditmod5b.c: Likewise.
62684         * elf/tst-auditmod6b.c: Likewise.
62685         * elf/tst-auditmod6c.c: Likewise.
62686         * elf/tst-auditmod7b.c: Likewise.
62687         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
62688         * sysdeps/x86_64/preconfigure.in: Likewise.
62689         * sysdeps/x86_64/preconfigure: Regenerated.
62691 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
62693         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
62694         __ILP32__.
62696 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
62698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62699         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
62701 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
62703         [BZ #13973]
62704         * locale/iso-639.def: Fix gl language name. Spotted by
62705         Yaron Shahrabani.
62707 2012-04-12  Roland McGrath  <roland@hack.frob.com>
62709         [BZ #2074]
62710         * libio/libio.h (__io_write_fn): Update comment.
62712 2012-04-12  Petr Baudis  <pasky@ucw.cz>
62714         [BZ #2074]
62715         * stdio.texi (Hook Functions): The user provided writer function
62716         is not allowed to return -1.
62718 2012-04-11  David S. Miller  <davem@davemloft.net>
62720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62722 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
62724         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
62725         Add a leading slash to rtkaio.
62727 2012-04-11  Jim Meyering  <meyering@redhat.com>
62729         [BZ #11959]
62730         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
62731         It is not necessarily an error to ignore fwrite's return
62732         value.  One can reliably use ferror to test for errors after
62733         the fact.
62735 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62737         * bits/types.h (__snseconds_t): New type.
62738         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62740         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
62741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62742         (__SNSECONDS_T_TYPE): Likewise.
62743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62744         (__SNSECONDS_T_TYPE): Likewise.
62745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62746         (__SNSECONDS_T_TYPE): Likewise.
62748 2012-04-10  Andreas Jaeger  <aj@suse.de>
62750         [BZ #2636]
62751         * manual/time.texi (Processor Time): Return type of times is
62752         elapsed real time since an arbitrary point in the past.
62753         (CPU Time): Move CLK_TCK from here...
62754         (Processor Time): ...to here.  Correct description.
62755         * manual/conf.texi (Constants for Sysconf): Correct description of
62756         _SC_CLK_TCK.
62758 2012-04-10  David S. Miller  <davem@davemloft.net>
62760         [BZ #13967]
62761         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
62762         where the is a gap between DT_REL(A) and DT_JMPREL.
62764 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
62766         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
62767         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62768         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62770 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62772         * elf/dl-support.c (_dl_inhibit_cache): New variable.
62773         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
62774         (dl_main): Handle --inhibit-cache.
62775         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
62776         _dl_inhibit_cache.
62777         * elf/dl-load.c (_dl_map_object): Use it.
62778         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62780 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62782         [BZ #13872]
62783         * sysdeps/i386/fpu/e_powl.S (p78): New object.
62784         (__ieee754_powl): Saturate large exponents rather than testing for
62785         overflow of y*log2(x).
62786         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62787         * math/libm-test.inc (pow_test): Do not permit spurious overflow
62788         exceptions.
62790         [BZ #11521]
62791         * math/s_ctan.c: Include <float.h>.
62792         (__ctan): Avoid internal overflow or cancellation in calculating
62793         denominator.
62794         * math/s_ctanf.c: Likewise.
62795         * math/s_ctanl.c: Likewise.
62796         * math/s_ctanh.c: Likewise.
62797         * math/s_ctanhf.c: Likewise.
62798         * math/s_ctanhl.c: Likewise.
62799         * math/libm-test.inc (ctan_test): Add more tests.
62800         (ctanh_test): Likewise.
62801         * sysdeps/i386/fpu/libm-test-ulps: Update.
62802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62804 2012-04-09  Andreas Jaeger  <aj@suse.de>
62806         [BZ #6894]
62807         * manual/filesys.texi (Directory Entries): Mention that d_namlen
62808         is an optional BSD extension.
62810         [BZ #10254]
62811         * manual/stdio.texi (Opening Streams): Document additional fopen
62812         parameters.
62814 2012-04-09  Roland McGrath  <roland@hack.frob.com>
62816         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
62817         %eax without telling the compiler.
62819 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
62821         [BZ # 13963]
62822         * manual/install.texi: Use sourceware.org.
62824 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
62826         [BZ #13873]
62827         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
62828         (__ieee754_pow): Generate overflow and underflow using huge*huge
62829         and tiny*tiny rather than just returning constant infinity or zero
62830         for large exponents.
62831         * math/libm-test.inc (pow_test): Require overflow exceptions for
62832         applicable cases of large exponents.
62834         [BZ #706]
62835         * sysdeps/i386/fpu/e_pow.S (p10): New object.
62836         (__ieee754_pow): Use iterative multiplication algorithm only for
62837         integer exponents with absolute value below 1024.  Check for odd
62838         integer exponents when using algorithm for real exponents.
62839         * math/libm-test.inc (pow_test): Add more tests.
62840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62842 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
62844         [BZ #13705]
62845         * math/libm-test.inc (exp_test): Do not allow overflow exception
62846         on underflow test.
62848 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
62850         [BZ #13705]
62851         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
62852         instead of __kernel_standard_f.
62854 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62856         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62857         * sysdeps/x86_64/memset_chk.S: Likewise.
62859 2012-04-08  Andreas Jaeger  <aj@suse.de>
62861         [BZ #10153]
62862         * manual/startup.texi (Environment Access): Describe return value
62863         for putenv and setenv.
62865         [BZ #6895]
62866         * manual/filesys.texi (Directory Entries): Add description for
62867         DT_LNK.
62869         [BZ #6890]
62870         * manual/filesys.texi (Directory Entries): Clarify that it's file
62871         system not operating system in the description of DT_UNKNOWN.
62873         [BZ #6578]
62874         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62876 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62878         [BZ #6649]
62879         * manual/llio.texi (Opening and Closing Files): Add cross
62880         reference to explain mode argument.
62882 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62884         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62885         * sysdeps/x86_64/memset_chk.S: Likewise.
62887 2012-04-07  David S. Miller  <davem@davemloft.net>
62889         * elf/elf.h (R_SPARC_WDISP10): Define.
62890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62891         R_SPARC_SIZE32.
62892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62893         R_SPARC_SIZE64 and R_SPARC_H34.
62895 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62897         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62898         conditions and remove no longer applicable assertion.
62900 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62902         * bits/byteswap.h: Include <features.h>.
62903         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62904         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62906 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62908         * bits/byteswap.h (__bswap_16): Removed.
62909         Include <bits/byteswap-16.h> to get __bswap_16.
62910         * sysdeps/i386/bits/byteswap.h: Likewise.
62911         * sysdeps/s390/bits/byteswap.h: Likewise.
62912         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62913         * bits/byteswap-16.h: New file.
62914         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62915         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62916         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62917         * string/Makefile (headers): Add bits/byteswap-16.h.
62919 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62921         [BZ #13895]
62922         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62923         extra indirection.
62924         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62925         * nss/tst-nss-static.c: New.
62927 2012-04-06  Robert Millan  <rmh@gnu.org>
62929         [BZ #6486]
62930         * manual/llio.texi (File Position Primitive): lseek
62931         refers to WHENCE when it really means OFFSET.
62933 2012-04-06  Andreas Jaeger  <aj@suse.de>
62935         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62936         strncmp declarations.
62938         * abilist/libc.abilist: Add __poll and __ppoll.
62940 2012-04-05  David S. Miller  <davem@davemloft.net>
62942         * scripts/check-local-headers.sh: Accept a host triplet in the
62943         path matched by the exclude regexp.
62945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62946         definition.
62947         * sysdeps/powerpc/powerpc32/dl-machine.h
62948         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62949         * sysdeps/s390/s390-32/dl-machine.h
62950         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62951         * sysdeps/sparc/sparc32/dl-machine.h
62952         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62953         * sysdeps/sparc/sparc64/dl-machine.h
62954         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62956         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62957         lazy binding.
62958         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62959         undefined symbol errors.
62961         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62962         DT_NEEDED entries.
62964 2012-04-05  Michael Matz  <matz@suse.de>
62966         [BZ #13592]
62967         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62969 2012-04-05  Andreas Jaeger  <aj@suse.de>
62971         [BZ #13908]
62972         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62973         comment.
62975 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62977         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62978         which ROUND is no valid rounding mode.
62980 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62982         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62983         read again.
62984         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62986 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62988         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62989         an exception using FPU order intentionally.
62991 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62993         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62994         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62995         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62996         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62998 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63000         [BZ #12340]
63001         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63002         EINVAL when BUFLEN is too smal.
63004 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63006         [BZ #13553]
63007         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63008         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63010 2012-04-03  Andreas Jaeger  <aj@suse.de>
63012         [BZ #13938]
63013         * manual/setjmp.texi (System V contexts): Fix sentence.
63015         [BZ #13926]
63016         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63017         New macro for this case.
63018         [!__GNUC__] (__bswap_64): New inline function for this case.
63019         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63020         * bits/byteswap.h: Likewise.
63021         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63022         ull, guard with __GLIBC_HAVE_LONG_LONG.
63024         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63025         __GLIBC_HAVE_LONG_LONG.
63027         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63028         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63030 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63032         [BZ #13691]
63033         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63034         inptr and inend, rather than using last_ch.
63036 2012-04-02  David S. Miller  <davem@davemloft.net>
63038         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63039         * stdio-common/printf-parse.h (read_int): Change return type to
63040         'int', return -1 on INT_MAX overflow.
63041         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63042         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63043         overflows INT_MAX.  Check for overflow of in-format-string precision
63044         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63045         SIZE_MAX not INT_MAX for integer overflow test.
63046         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63047         skip the construct in the format string but do not record anything.
63048         * stdio-common/bug22.c: Adjust to test both width/prevision
63049         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63050         explicitly for proper errno values.
63052 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63054         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63055         CHAR_MAX.
63056         * string/test-strcmp.c [! WIDE]: Likewise.
63057         * time/tst-mktime2.c: Likewise for INT_MAX.
63058         * string/test-string.h: #include <sys/param.h> for MIN.
63060         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63061         * sysdeps/i386/init-first.c (init): Likewise.
63062         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63063         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63064         * sysdeps/sh/init-first.c (init): Likewise.
63066 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63068         * po/ru.po: Update from translation team.
63069         * po/vi.po: Likewise.
63071 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63073         * resolv/nss_dns/dns-host.c: Merge copyright years.
63075 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63077         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63078         Optimize memcpy with prefetch if
63079         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63080         src, dst pointers have unequal 16 byte alignments.
63082 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63084         [BZ #13928]
63085         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63086         from a CNAME entry and return the minimum ttl for the query.
63087         (gaih_getanswer_slice): Likewise.
63089 2012-03-30  Jeff Law  <law@redhat.com>
63091         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63092         due to long keys.
63093         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63094         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63096         * resolv/nss_dns/dns-host.c: Update copyright year.
63098 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63100         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63101         requests to save a system call.  Fix check that all bytes are sent.
63103         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63104         comments for sendmmsg.
63106 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63108         [BZ #13691]
63109         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63110         with only 1 character between 0x0041 and 0x01b0.
63111         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63112         * wcsmbs/tst-mbsnrtowcs.c: New file.
63114 2012-03-29  David S. Miller  <davem@davemloft.net>
63116         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63117         small copies by hand.
63119 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63121         [BZ #13761]
63122         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63123         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63124         group memberships.
63126 2012-03-28  David S. Miller  <davem@davemloft.net>
63128         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63129         that branches into memcpy.
63130         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63131         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63132         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63133         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63135         bits.
63136         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63137         implementation too.
63138         * sysdeps/sparc/mempcpy.S: New file.
63140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63141         the IFUNC routine in the libc case.
63142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63144         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63145         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63146         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63147         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63148         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63149         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63150         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63151         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63153         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63154         loop to 256 bytes instead of 64 bytes and fix test signedness.
63156         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63157         * sysdeps/sparc/sparc32/Makefile: rather than here...
63158         * sysdeps/sparc/sparc64/Makefile: and here.
63160 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63162         * malloc/mallocbug.c: Avoid warnings about unused variables.
63164 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63166         [BZ #13760]
63167         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63168         in the right place. Discard and retry query if response is
63169         larger than input buffer size.
63171 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63173         [BZ #369]
63174         [BZ #2678]
63175         [BZ #3866]
63176         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63177         x for large integer exponent.
63178         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63179         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63180         sign of result as needed afterwards.
63181         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63182         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63183         result for underflowing pow the same as for overflow.
63184         (__kernel_standard_l): Handle powl overflow and underflow here
63185         rather than calling __kernel_standard.
63186         * math/libm-test.inc (pow_test): Add more tests.
63188         [BZ #3868]
63189         [BZ #13879]
63190         [BZ #13910]
63191         [BZ #13911]
63192         [BZ #13912]
63193         [BZ #13913]
63194         [BZ #13915]
63195         [BZ #13916]
63196         [BZ #13917]
63197         [BZ #13918]
63198         [BZ #13919]
63199         [BZ #13920]
63200         [BZ #13921]
63201         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63202         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63203         (__kernel_standard_l): New function.
63204         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63205         __kernel_standard.
63206         * math/w_acosl.c (__acosl): Likewise.
63207         * math/w_asinl.c (__asinl): Likewise.
63208         * math/w_atan2l.c (__atan2l): Likewise.
63209         * math/w_atanhl.c (__atanhl): Likewise.
63210         * math/w_coshl.c (__coshl): Likewise.
63211         * math/w_exp10l.c (__exp10l): Likewise.
63212         * math/w_exp2l.c (__exp2l): Likewise.
63213         * math/w_fmodl.c (__fmodl): Likewise.
63214         * math/w_hypotl.c (__hypotl): Likewise.
63215         * math/w_j0l.c (__j0l, __y0l): Likewise.
63216         * math/w_j1l.c (__j1l, __y1l): Likewise.
63217         * math/w_jnl.c (__jnl, __ynl): Likewise.
63218         * math/w_lgammal.c (__lgammal): Likewise.
63219         * math/w_log10l.c (__log10l): Likewise.
63220         * math/w_log2l.c (__log2l): Likewise.
63221         * math/w_logl.c (__logl): Likewise.
63222         * math/w_powl.c (__powl): Likewise.
63223         * math/w_remainderl.c (__remainderl): Likewise.
63224         * math/w_scalbl.c (sysv_scalbl): Likewise.
63225         * math/w_sinhl.c (__sinhl): Likewise.
63226         * math/w_sqrtl.c (__sqrtl): Likewise.
63227         * math/w_tgammal.c (__tgammal): Likewise.
63228         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63229         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63230         * math/libm-test.inc (acos_test): Add more tests.
63231         (acosh_test): Likewise.
63232         (asin_test): Likewise.
63233         (atanh_test): Likewise.
63234         (exp_test): Likewise.
63235         (exp10_test): Likewise.
63236         (exp2_test): Likewise.
63237         (expm1_test): Likewise.
63238         (lgamma_test): Likewise.
63239         (log_test): Likewise.
63240         (log10_test): Likewise.
63241         (log1p_test): Likewise.
63242         (log2_test): Likewise.
63243         (pow_test): Do not allow some spurious overflow exceptions.
63244         (sqrt_test): Add more tests.
63245         (tgamma_test): Likewise.
63246         (y0_test): Likewise.
63247         (y1_test): Likewise.
63248         (yn_test): Likewise.
63250 2012-03-27  Anton Blanchard  <anton@samba.org>
63252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63253         MAP_HUGETLB.
63254         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63255         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63258 2012-03-27  David S. Miller  <davem@davemloft.net>
63260         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63262         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63263         have-as-vis3 check.
63265 2012-03-27  Andreas Jaeger  <aj@suse.de>
63267         * sysdeps/x86_64/elf/configure.in: Moved to ...
63268         * sysdeps/x86_64/configure.in: ... here.
63269         * sysdeps/x86_64/elf/start.S: Moved to ...
63270         * sysdeps/x86_64/start.S: ... here.
63271         * sysdeps/x86_64/elf/configure: Delete.
63273         * sysdeps/x86_64/configure.in: Merge contents from
63274         sysdeps/i386/configure.in (without i686 check).
63276         * sysdeps/i386/elf/Versions: Merge into ...
63277         * sysdeps/i386/Versions: ... this.
63278         * sysdeps/i386/elf/Versions: Delete file.
63279         * sysdeps/i386/elf/start.S: Moved to ...
63280         * sysdeps/i386/start.S: ...here.
63281         * sysdeps/i386/elf/configure.in: Merge into...
63282         * sysdeps/i386/configure.in: ...here.
63283         * sysdeps/i386/elf/configure.in: Delete file.
63284         * sysdeps/i386/elf/configure: Delete file.
63286         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63287         * debug/backtracesyms.c: ... here.
63288         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63289         * debug/backtracesymsfd.c: ... here.
63290         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63291         * sysdeps/generic/ifunc-sel.h: ... here.
63293         * sysdeps/unix/i386/start.c: Delete file.
63294         * sysdeps/unix/sparc/start.c: Delete file.
63295         * sysdeps/unix/start.c: Delete file.
63297         * sysdeps/sh/elf/configure.in: Moved to ...
63298         * sysdeps/sh/configure.in: ... here.
63299         * sysdeps/sh/elf/start.S: Moved to ...
63300         * sysdeps/sh/start.S: ... here.
63301         * sysdeps/sh/elf/configure: Delete file.
63303         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63304         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63305         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63306         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63307         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63308         * sysdeps/powerpc/powerpc64/start.S: here.
63309         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63310         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63311         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63312         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63313         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63315         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63316         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63317         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63318         * sysdeps/powerpc/powerpc32/start.S: ... here.
63319         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63320         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63321         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63323         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63324         * sysdeps/powerpc/ifunc-sel.h: ... here.
63325         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
63326         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
63328         * sysdeps/sparc/elf/configure.in: Moved to ...
63329         * sysdeps/sparc/configure.in: ... here.
63330         * sysdeps/sparc/elf/configure: Delete file.
63331         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
63332         * sysdeps/sparc/sparc32/start.S: ... here.
63333         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
63334         * sysdeps/sparc/sparc64/start.S: ... here.
63335         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
63336         * sysdeps/sparc/sparc32/Makefile: ... this.
63337         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
63338         * sysdeps/sparc/sparc64/Makefile: ... this.
63340         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
63341         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
63342         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
63343         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
63344         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
63345         * sysdeps/s390/s390-32/setjmp.S: ... here.
63346         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
63347         * sysdeps/s390/s390-32/configure.in: ... here.
63348         * sysdeps/s390/s390-32/elf/configure: Delete file.
63349         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
63350         * sysdeps/s390/s390-32/start.S: ... here.
63352         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
63353         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
63354         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
63355         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
63356         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
63357         * sysdeps/s390/s390-64/setjmp.S: ... here.
63358         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
63359         * sysdeps/s390/s390-64/configure.in: ... here
63360         * sysdeps/s390/s390-64/elf/configure: Delete file.
63361         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
63362         * sysdeps/s390/s390-64/start.S: ... here.
63363         * sysdeps/s390/s390-64/elf/configure: Delete.
63365         * configure.in: Remove support for elf directories in sysdeps.
63367         * configure: Regenerated.
63368         * sysdeps/i386/configure: Regenerated.
63369         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63370         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63371         * sysdeps/s390/s390-32/configure: Regenerated.
63372         * sysdeps/s390/s390-64/configure: Regenerated.
63373         * sysdeps/sh/configure: Regenerated.
63374         * sysdeps/sparc/configure: Regenerated.
63375         * sysdeps/x86_64/configure: Regenerated.
63377 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
63379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
63382         denormal result into account.
63384 2012-03-25  Roland McGrath  <roland@hack.frob.com>
63386         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
63387         Reported by Allan McRae <allan@archlinux.org>.
63389 2012-03-23  Jeff Law  <law@redhat.com>
63391         * nss/getnssent.c (__nss_getent): Fix typo.
63393 2012-03-23  David S. Miller  <davem@davemloft.net>
63395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63397 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
63399         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
63400         to pad to uint64_t for each field.
63401         (dl_tls_index): Replace unsigned long with uint64_t.
63403 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
63404         Paul Pluzhnikov  <ppluzhnikov@google.com>
63406         [BZ #6528]
63407         * grp/Makefile (otherlibs): Don't set it.
63408         * inet/Makefile (otherlibs): Likewise.
63409         * login/Makefile (otherlibs): Likewise.
63410         * nscd/Makefile (otherlibs): Likewise.
63411         * posix/Makefile (otherlibs): Likewise.
63412         * pwd/Makefile (otherlibs): Likewise.
63413         * rt/Makefile (otherlibs): Likewise.
63414         * sunrpc/Makefile (otherlibs): Likewise.
63415         * nss/Makefile (otherlibs): Likewise.
63416         Add libnss_files to routines and static-only-routines.
63417         ($(objpfx)getent): Remove rule.
63418         * resolv/Makefile: Add libnss_dns and libresolv to routines and
63419         static-only-routines.
63421 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63423         [BZ #13892]
63424         * math/s_cexp.c: Include <float.h>.
63425         (__cexp): Handle exp result overflowing not necessarily
63426         overflowing both real and imaginary parts of result.
63427         * math/s_cexpf.c: Likewise.
63428         * math/s_cexpl.c: Likewise.
63429         * math/libm-test.inc (cexp_test): Add more tests.
63430         * sysdeps/i386/fpu/libm-test-ulps: Update.
63431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63433 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63435         * include/link.h (ELFW): New macro.
63436         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
63437         Replace ELF64_R_TYPE with ELFW(R_TYPE).
63439 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63441         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
63442         with uint64_t.
63444 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63446         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
63447         declaration.
63448         (struct La_x32_retval): Likewise.
63450 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
63452         * sysdeps/x86_64/preconfigure.in: New file.
63453         * sysdeps/x86_64/preconfigure: New generated file.
63455 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
63457         [BZ #13824]
63458         * math/e_exp2l.c: Include <float.h>.
63459         (__ieee754_exp2l): Handle overflow and underflow cases
63460         separately.  Only pass fractional part of argument to
63461         __ieee754_expl.
63462         * math/libm-test.inc (exp2_test): Add more tests.
63464         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63465         negating x to take absolute value.
63466         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
63467         Likewise.
63468         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
63470         Likewise.
63471         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
63472         computing low part if x was negated.
63473         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63475 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63477         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
63478         la_x32_gnu_pltexit.
63479         (pltexit): Cast int_retval to ptrdiff_t.
63480         * elf/tst-auditmod3b.c: Likewise.
63481         * elf/tst-auditmod4b.c: Likewise.
63482         * elf/tst-auditmod5b.c: Likewise.
63483         * elf/tst-auditmod6b.c: Likewise.
63484         * elf/tst-auditmod6c.c: Likewise.
63485         * elf/tst-auditmod7b.c: Likewise.
63487         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
63488         and x32_gnu_pltexit.
63490         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
63491         __ELF_NATIVE_CLASS.
63492         (La_x32_regs): New macro.
63493         (La_x32_retval): Likewise.
63494         (la_x32_gnu_pltenter): New function prototype.
63495         (la_x32_gnu_pltexit): Likewise.
63497 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
63499         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
63500         exponent.
63502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63504         * configure.in (libc_cv_cc_nofma): Check for option to disable
63505         generation of FMA instructions.
63506         * configure: Regenerate.
63507         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
63508         * sysdeps/ieee754/dbl-64/Makefile: New file.
63509         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
63510         Remove brandred-fma4.
63511         (CFLAGS-brandred-fma4.c): Remove.
63512         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
63513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
63514         define.
63515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
63516         define.
63518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63520         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63521         LLONG_MAX != LONG_MAX.
63522         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63523         (_fitoa_word): Likewise.
63524         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
63525         LLONG_MAX != LONG_MAX.
63526         * stdio-common/_itowa.h: Include <_itoa.h>.
63527         (_itowa_word): Use _ITOA_WORD_TYPE on value.
63528         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
63529         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
63530         only if not defined.
63531         (_ITOA_WORD_TYPE): Likewise.
63532         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63533         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
63535 2012-03-21  David S. Miller  <davem@davemloft.net>
63537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
63541         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
63542         of x86_64 when setting libc_cv_slibdir, libdir and
63543         libc_cv_localedir.
63544         * sysdeps/unix/sysv/linux/configure: Regenerated.
63546 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63548         * manual/lang.texi (Old Varargs): Remove section.
63549         (How Variadic): Update menu.
63550         (va_start): Do not mention varargs.h.
63552 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63553             Joseph Myers  <joseph@codesourcery.com>
63555         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
63556         link test.
63557         * configure: Regenerated.
63559 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63561         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
63562         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
63563         conformtest.pl
63565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63567         * NOTES: Remove.
63568         * Makefile (files-for-dist): Remove NOTES.
63569         (NOTES): Remove rule.
63570         * README: Don't refer to NOTES.
63571         * manual/creature.texi: Don't include macros.texi.
63572         * manual/intro.texi (creature.texi): Remove comment referring to
63573         NOTES.
63575         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
63576         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
63577         * configure: Regenerated.
63578         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
63579         LIBC_TRY_CC_OPTION.
63580         (libc_cv_as_i686): Likewise.
63581         (libc_cv_cc_avx): Likewise.
63582         (libc_cv_cc_sse2avx): Likewise.
63583         (libc_cv_cc_fma4): Likewise.
63584         (libc_cv_cc_novzeroupper): Likewise.
63585         * sysdeps/i386/configure: Regenerated.
63587         [BZ #13883]
63588         * sysdeps/i386/fpu/s_cexp.S: Remove.
63589         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63590         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63591         * math/libm-test.inc (cexp_test): Add more tests.
63592         * sysdeps/i386/fpu/libm-test-ulps: Update.
63593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63595 2012-03-21  Allan McRae  <allan@archlinux.org>
63597         * timezone/Makefile: Do not install iso3166.tab and zone.tab
63599 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
63601         [BZ #13871]
63602         * math/w_exp2.c: Do not include <float.h>.
63603         (o_threshold, u_threshold): Remove.
63604         (__exp2): Calculate result before checking finiteness and calling
63605         __kernel_standard.
63606         * math/w_exp2f.c: Likewise.
63607         * math/w_exp2l.c: Likewise.
63608         * math/libm-test.inc (exp2_test): Require overflow exception for
63609         1e6 input.
63611         [BZ #3866]
63612         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
63613         range of signed 64-bit integers before using fistpll.  Remove
63614         checks for whether integers fit in mantissa bits.
63615         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
63616         the range of signed 32-bit integers before using fistpl.  Remove
63617         checks for whether integers fit in mantissa bits.
63618         * sysdeps/i386/fpu/e_powl.S (p64): New object.
63619         (__ieee754_powl): Test for y outside the range of signed 64-bit
63620         integers before using fistpll.  Reduce 64-bit values to 63-bit
63621         ones as needed.
63622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
63623         divide-by-zero is raised for zero to large negative powers.
63624         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
63625         (__ieee754_powl): Test for y outside the range of signed 64-bit
63626         integers before using fistpll.  Reduce 64-bit values to 63-bit
63627         ones as needed.
63628         * math/libm-test.inc (pow_test): Add more tests.
63630 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63632         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
63633         <stdio-common/_itoa.h>.
63634         * debug/segfault.c: Likewise.
63635         * elf/dl-cache.c: Likewise.
63636         * elf/dl-minimal.c: Likewise.
63637         * elf/dl-misc.c: Likewise.
63638         * elf/dl-sysdep.c: Likewise.
63639         * elf/dl-version.c: Likewise.
63640         * elf/rtld.c: Likewise.
63641         * hurd/hurdsock.c: Likewise.
63642         * hurd/lookup-retry.c: Likewise.
63643         * malloc/malloc.c: Likewise.
63644         * malloc/mtrace.c: Likewise.
63645         * nscd/nscd_getgr_r.c: Likewise.
63646         * nscd/nscd_getpw_r.c: Likewise.
63647         * nscd/nscd_getserv_r.c: Likewise.
63648         * posix/getopt_init.c: Likewise.
63649         * posix/wordexp.c: Likewise.
63650         * stdio-common/_itoa.c: Likewise.
63651         * stdio-common/printf_fphex.c: Likewise.
63652         * stdio-common/vfprintf.c: Likewise.
63653         * string/_strerror.c: Likewise.
63654         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
63655         * sysdeps/i386/i686/hp-timing.h: Likewise.
63656         * sysdeps/mach/_strerror.c: Likewise.
63657         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
63658         * sysdeps/mach/hurd/sethostid.c: Likewise.
63659         * sysdeps/mach/hurd/xmknodat.c: Likewise.
63660         * sysdeps/mach/xpg-strerror.c: Likewise.
63661         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
63662         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
63663         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
63664         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
63665         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
63666         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
63667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
63668         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
63669         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
63670         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
63671         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
63672         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63673         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
63674         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
63675         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
63676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
63677         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
63678         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
63679         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
63680         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
63681         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
63683         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
63685         * stdio-common/_itoa.h: Moved to ...
63686         * sysdeps/generic/_itoa.h: Here.
63688         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
63690         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
63691         instead of "_itoa.h" and "_itowa.h".
63692         * stdio-common/vfprintf.: Likewise.
63694 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63696         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
63697         <bits/wordsize.h>.
63698         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
63699         (__signbit): Likwise.
63700         (llrintf): Likwise.
63701         (llrint): Likwise.
63703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63705         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
63706         __WORDSIZE != 64.
63708 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
63710         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
63711         OVERFLOW_EXCEPTION_OK.
63712         * math/libm-test.inc ("Philosophy"): Update comment about
63713         exception testing.
63714         (OVERFLOW_EXCEPTION): Define.
63715         (OVERFLOW_EXCEPTION_OK): Likewise.
63716         (INVALID_EXCEPTION_OK): Renumber.
63717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63718         (IGNORE_ZERO_INF_SIGN): Likewise.
63719         (test_exceptions): Handle FE_OVERFLOW.
63720         (exp10_test): Expect overflow exceptions.
63721         (exp2_test): Likewise.
63722         (expm1_test): Likewise.
63723         (nextafter_test): Likewise.
63724         (pow_test): Likewise.
63725         (scalbn_test): Likewise.
63726         (scalbln_test): Likewise.
63728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63730         * sysdeps/x86_64/bits/atomic.h
63731         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
63732         64bit integer.
63733         (atomic_exchange_acq): Likewise.
63734         (__arch_exchange_and_add_body): Likewise.
63735         (__arch_add_body): Likewise.
63736         (atomic_add_negative): Likewise.
63737         (atomic_add_zero): Likewise.
63739 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63741         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
63742         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
63744 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63746         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
63747         Check __x86_64__ instead of __WORDSIZE.
63749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63751         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
63753 2012-03-19  David S. Miller  <davem@davemloft.net>
63755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63757         * sysdeps/sparc/fpu/fenv_private.h: New file.
63758         * sysdeps/sparc/fpu/math_private.h: Use it.
63759         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
63760         Remove.
63761         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
63762         (libc_feholdexcept_setroundl): Remove.
63763         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
63764         Remove.
63765         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
63766         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
63768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63770         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
63771         int64_t instead of long int.
63772         (INSERT_WORDS64): Likwise.
63774 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
63776         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
63777         _Unwind_GetCFA return to _Unwind_Ptr first.
63779 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
63781         [BZ #13629]
63782         * math/s_clog.c: Include <float.h>.
63783         (__clog): Scale large or subnormal inputs.
63784         * math/s_clogf.c: Likewise.
63785         * math/s_clogl.c: Likewise.
63786         * math/s_clog10.c: Include <float.h>.
63787         (M_LOG10_2): Define.
63788         (__clog10): Scale large or subnormal inputs.
63789         * math/s_clog10f.c: Likewise.
63790         * math/s_clog10l.c: Likewise.
63791         * math/libm-test.inc (clog_test): Add more tests.
63792         (clog10_test): Likewise.
63793         * sysdeps/i386/fpu/libm-test-ulps: Update.
63794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63796         [BZ #11451]
63797         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
63798         x and y.
63799         * math/libm-test.inc (atan2_test): Add another test.
63801         * Makerules (common-objdir-compile): Remove.
63802         * sysdeps/unix/Makefile (config-generated): Do not add
63803         $(unix-generated) to variable.
63804         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
63805         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
63806         Remove rule.
63807         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
63808         Likewise.
63809         [generic bits/local_lim.h] (before-compile): Do not append to
63810         variable.
63811         [generic bits/local_lim.h] (common-generated): Likewise.
63812         [generic sys/param.h] (before-compile): Do not append to variable.
63813         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
63814         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
63815         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
63816         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
63817         include.
63818         [generic sys/param.h] (sys/param.h-includes): Remove variable.
63819         [generic sys/param.h] (sys/param.h-includes): Remove rule.
63820         [generic sys/param.h] ($(addprefix
63821         $(common-objpfx),$(sys/param.h-includes))): Likewise.
63822         [generic sys/param.h] (common-generated): Do not append to
63823         variable.
63824         [generic sys/param.h] (sysdep_headers): Likewise.
63825         [generic bits/errno.h] (before-compile): Do not append to
63826         variable.
63827         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
63828         rule.
63829         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
63830         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
63831         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
63832         [generic bits/errno.h] (common-generated): Do not append to
63833         variable.
63834         [generic bits/ioctls.h] (before-compile): Do not append to
63835         variable.
63836         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
63837         rule.
63838         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
63839         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
63840         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
63841         rule.
63842         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
63843         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
63844         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
63845         [generic bits/ioctls.h] (common-generated): Do not append to
63846         variable.
63847         [generic sys/syscall.h] (syscall.h): Remove variable.
63848         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
63849         rule.
63850         [generic sys/syscall.h] (before-compile): Do not append to
63851         variable.
63852         [generic sys/syscall.h] (common-generated): Likewise.
63853         * sysdeps/unix/errnos-tmpl.c: Remove file.
63854         * sysdeps/unix/errnos.awk: Likewise.
63855         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63856         * sysdeps/unix/ioctls.awk: Likewise.
63857         * sysdeps/unix/mk-local_lim.c: Likewise.
63858         * sysdeps/unix/snarf-ioctls: Likewise.
63860 2012-03-19  Richard Henderson  <rth@twiddle.net>
63862         * sysdeps/i386/fpu/fenv_private.h: New file.
63863         * sysdeps/i386/fpu/math_private.h: Use it.
63864         (math_opt_barrier, math_force_eval): Remove.
63865         (libc_feholdexcept_setround_53bit): Remove.
63866         (libc_feupdateenv_53bit): Remove.
63867         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63868         (math_opt_barrier, math_force_eval): Remove.
63869         (libc_feholdexcept): Remove.
63870         (libc_feholdexcept_setround): Remove.
63871         (libc_fetestexcept, libc_fesetenv): Remove.
63872         (libc_feupdateenv_test): Remove.
63873         (libc_feupdateenv, libc_feholdsetround): Remove.
63874         (libc_feresetround): Remove.
63876         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63877         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63879         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63880         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63881         (libc_feupdateenv_testl): New.
63882         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63883         (libc_feupdateenv_testf): New.
63884         (libc_feupdateenv): Use libc_feupdateenv_test.
63885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63888         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63889         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63890         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63891         (libc_feresetround_noex): New.
63892         (libc_feresetround_noexf): New.
63893         (libc_feresetround_noexl): New.
63894         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63895         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63896         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63897         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63898         SET_RESTORE_ROUND.
63899         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63901         (__cos): Likewise.
63902         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63903         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63904         SET_RESTORE_ROUND_NOEX.
63905         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63906         SET_RESTORE_ROUND_NOEXF.
63907         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63908         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63909         (libc_feholdsetroundf): New.
63910         (libc_feresetround, libc_feresetroundf): New.
63912         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63913         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63914         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63916         * sysdeps/generic/math_private.h: Include <fenv.h>.
63917         (default_libc_feholdexcept): New.
63918         (default_libc_feholdexcept_setround): New.
63919         (default_libc_fesetenv, default_libc_feupdateenv): New.
63920         (libc_feholdexcept): Only define if undefined.
63921         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63922         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63923         (libc_feholdexcept_setroundl): Likewise.
63924         (libc_feholdexcept_setround_53bit): Likewise.
63925         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63926         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63927         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63928         (libc_feupdateenv_53bit): Likewise.
63929         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63930         (libc_feholdexcept): Convert from macro to inline function.
63931         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63932         (libc_fesetenv, libc_feupdateenv): Likewise.
63934         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63935         not previously defined.
63936         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63937         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63938         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63939         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63940         * sysdeps/ieee754/flt-32/math_private.h: New file.
63941         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63942         math_private.h below SET_FLOAT_WORD.
63943         (__isnan, __isinf_ns, __finite): Remove.
63944         (__isnanf, __isinf_nsf, __finitef): Remove.
63946 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63950 2012-03-17  David S. Miller  <davem@davemloft.net>
63952         [BZ #6471]
63953         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63954         for 2.16.
63956 2012-03-16  David S. Miller  <davem@davemloft.net>
63958         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63959         warnings.
63961         [BZ #6471]
63962         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63963         properly.
63964         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63965         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63966         sysdep_routines when subdir is sysvipc.
63967         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63968         __getshmlba helper.
63970         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63974         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63975         [__LP64__].
63977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63979         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63980         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63981         (__lround): Renamed to ...
63982         (__llround): This.  Replace long int with long long int.
63983         Define lround functions as aliases of llround functions.
63984         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63988         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63989         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63990         adresses to uintptr_t.  Replace "long int" and "unsigned long
63991         int" with "greg_t" on va_arg.
63993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63995         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63996         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63998         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63999         Move e_machine check before EI_CLASS check.  Handle x32
64000         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64001         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64002         SKIP_EM_IA_64 and include
64003         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64005         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64006         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64007         (add_system_dir): New macro.
64009         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64010         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64012 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64014         [BZ #2551]
64015         [BZ #2552]
64016         [BZ #2553]
64017         [BZ #2554]
64018         [BZ #2562]
64019         [BZ #2563]
64020         [BZ #2565]
64021         [BZ #2566]
64022         [BZ #2576]
64023         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64024         (y0): Likewise.
64025         * math/w_j0f.c (j0f): Likewise.
64026         (y0f): Likewise.
64027         * math/w_j0l.c (__j0l): Likewise.
64028         (__y0l): Likewise.
64029         * math/w_j1.c (j1): Likewise.
64030         (y1): Likewise.
64031         * math/w_j1f.c (j1f): Likewise.
64032         (y1f): Likewise.
64033         * math/w_j1l.c (__j1l): Likewise.
64034         (__y1l): Likewise.
64035         * math/w_jn.c (jn): Likewise.
64036         (yn): Likewise.
64037         * math/w_jnf.c (jnf): Likewise.
64038         (ynf): Likewise.
64039         * math/w_jnl.c (__jnl): Likewise.
64040         (__ynl): Likewise.
64041         * math/libm-test.inc (j0_test): Add more tests.
64042         (j1_test): Likewise.
64043         (jn_test): Likewise.  Add trailing semicolon to existing test.
64044         (y0_test): Likewise.
64045         (y1_test): Likewise.
64046         * sysdeps/i386/fpu/libm-test-ulps: Update.
64047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64049         [BZ #13851]
64050         [BZ #13854]
64051         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64052         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64053         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64054         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64055         (__tanl): Set errno for infinite argument.
64056         * sysdeps/i386/fpu/mptan.c: Remove.
64057         * sysdeps/i386/fpu/s_tan.S: Likewise.
64058         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64059         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64060         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64061         * math/libm-test.inc (tan_test): Add more tests and enable more
64062         tests for double and long double.
64063         * sysdeps/i386/fpu/libm-test-ulps: Update.
64064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64066 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64068         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64069         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64071 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64073         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64074         * configure.in: Use it for both main tree and add-ons.
64075         * configure: Regenerated.
64077 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64079         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64081 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64083         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64084         in comment.
64086         [BZ #13851]
64087         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64088         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64089         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64090         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64091         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64092         infinite argument.
64093         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64094         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64095         != 0 for prec == 2.
64096         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64097         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64098         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64099         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64100         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64101         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64102         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64103         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64104         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64105         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64106         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64107         * math/libm-test.inc (cos_test): Add more tests and enable more
64108         tests for long double.
64109         (sin_test): Likewise.
64110         (sincos_test): Likewise.
64111         * sysdeps/i386/fpu/libm-test-ulps: Update.
64112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64114 2012-03-16  David S. Miller  <davem@davemloft.net>
64116         * sysdeps/sparc/fpu/math_private.h: New file.
64118 2012-03-15  David S. Miller  <davem@davemloft.net>
64120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64121         file.
64122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64124         file.
64125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64131         sysdep routines.
64132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64134         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64135         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64137         * sysdeps/sparc/sparc-ifunc.h: New file.
64138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64139         sparc-ifunc.h
64140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64142         Likewise.
64143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64144         Likewise.
64145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64149         Likewise.
64150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64155         Likewise.
64156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64157         Likewise.
64158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64168         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64169         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64170         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64171         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64183 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64185         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64186         scaling.
64187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64189 2012-03-15  Andreas Jaeger  <aj@suse.de>
64191         [BZ #13852]
64192         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64193         ieee754/flt-32 implementation for sin, cos and sincos.
64194         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64195         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64196         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64197         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64198         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64199         ieee754/flt-32 implementation for tan.
64201         * math/libm-test.inc (cos_test): Enable some large input tests for
64202         float as well
64203         (sin_test): Likewise.
64204         (sincos_test): Likewise.
64205         (tan_test): Add tests for large input.
64207         * sysdeps/i386/fpu/libm-test-ulps: Update.
64209 2012-03-15  Andreas Jaeger  <aj@suse.de>
64211         [BZ #13658]
64212         * math/libm-test.inc (cos_test): Add more test cases.
64213         (sin_test): Likewise.
64214         (sincos_test): Likewise.
64216 2012-03-15  Andreas Jaeger  <aj@suse.de>
64218         [BZ #13837]
64219         * math/libm-test.inc (cos_test): Add a test case for large input
64220         value.
64221         (sin_test): Likewise.
64222         (sincos_test): Likewise.
64224 2012-03-15  Andreas Jaeger  <aj@suse.de>
64225             Joseph Myers  <joseph@codesourcery.com>
64227         [BZ #13658]
64228         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64229         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64230         * sysdeps/i386/fpu/branred.c: Likewise.
64231         * sysdeps/i386/fpu/dosincos.c: Likewise.
64232         * sysdeps/i386/fpu/mpa.c: Likewise.
64233         * sysdeps/i386/fpu/s_cos.S: Likewise.
64234         * sysdeps/i386/fpu/s_sin.S: Likewise.
64235         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64236         * sysdeps/i386/fpu/sincos32.c: Likewise.
64238         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64239         Define.
64240         (libc_feupdateenv_53bit): Define.
64241         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64242         Define.
64243         (libc_feupdateenv_53bit): Define.
64245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64246         53 bit (without extend i386 double precision).
64248         * math/libm-test.inc (sincos_test): Add tests for large input.
64249         (sin): Likewise.
64250         (cos): Likewise.
64252         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64254 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64258 2012-03-15  David S. Miller  <davem@davemloft.net>
64260         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64261         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64262         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64263         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64265         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64272         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64276         file.
64277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64279         file.
64280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64282         file.
64283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64285         file.
64286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64288         fmin/fmax sysdep routines.
64289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64291 2012-03-14  David S. Miller  <davem@davemloft.net>
64293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64297         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64298         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64299         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64300         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64305         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64306         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64307         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64308         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64309         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64310         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64313         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64314         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64319         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64322         routines.
64323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64324         file.
64325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
64326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
64327         file.
64328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
64329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
64330         file.
64331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
64332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
64333         file.
64334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
64335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
64336         file.
64337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
64338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
64339         file.
64340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
64341         file.
64342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
64343         file.
64344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
64345         file.
64346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
64347         New file.
64348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
64349         file.
64350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
64351         file.
64352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
64353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
64354         file.
64355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
64356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
64357         file.
64358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
64359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
64360         file.
64361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
64362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
64363         VIS3 routines.
64365         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64366         New file.
64368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64370         * sysdeps/sparc/configure.in: New file.
64371         * sysdeps/sparc/configure: Generate.
64372         * configure.in (libc_cv_sparc_as_vis3): Substitute.
64373         * configure: Regenerate.
64374         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
64375         * config.make.in (have-as-vis3): New.
64376         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
64377         available use -Av9d instead of -Av9a.
64378         * sysdeps/sparc/sparc64/Makefile: Likewise.
64379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
64380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
64381         New file.
64382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
64383         file.
64384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
64385         New file.
64386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
64387         file.
64388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
64389         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
64390         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
64391         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
64392         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
64394         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
64395         fzeros/fnegs to load 0x80000000 into a float register instead of
64396         using the stack.
64397         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
64399 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64402         bits/syscall.h.
64403         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
64404         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
64405         ($(inst_includedir)/bits/syscall.h): Remove rule.
64406         ($(objpfx)bits/syscall.d): Include instead of
64407         $(objpfx)syscall-list.d.
64408         (generated): Change syscall-list.h and syscall-list.d to
64409         bits/syscall.h and bits/syscall.d.
64411 2012-03-14  Roland McGrath  <roland@hack.frob.com>
64413         [BZ #13846]
64414         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
64416 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
64418         [BZ #13841]
64419         * math/s_csqrt.c: Include <float.h>.
64420         (__csqrt): Scale large or subnormal inputs.
64421         * math/s_csqrtf.c: Likewise.
64422         * math/s_csqrtl.c: Likewise.
64423         * math/libm-test.inc (csqrt_test): Add more tests.
64424         * sysdeps/i386/fpu/libm-test-ulps: Update.
64425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64427         [BZ #13840]
64428         * math/libm-test.inc (hypot_test): Add more tests.
64430 2012-03-13  David S. Miller  <davem@davemloft.net>
64432         [BZ #13840]
64433         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
64434         double-precision for the calculation instead of scaling.
64436 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
64438         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
64439         manipulate bits before adding and subtracting TWO52[sx].
64440         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
64441         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
64442         Likewise.
64443         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
64445 2012-03-13  David S. Miller  <davem@davemloft.net>
64447         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
64448         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
64449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
64450         rtld-global-offsets.h
64451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64453         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
64454         large parameters.
64456         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
64458         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
64459         'err' in the ifdef scope in which it is actually used.
64461         * nss/nss_db/db-init.c: Include string.h
64463 2012-03-12  David S. Miller  <davem@davemloft.net>
64465         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64466         masking out of the most significant byte of random value used.
64467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64468         Fix coding style in previous change.
64470         * sysdeps/unix/sysv/linux/kernel-features.h
64471         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
64472         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
64473         expression.
64474         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
64475         later.
64477 2012-03-11  David S. Miller  <davem@davemloft.net>
64479         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64480         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
64481         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
64482         for 'resultvar' otherwise things get truncated on 64-bit.
64484         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64485         Fix masking out of the most significant byte of random value used.
64487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64489 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
64491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64493 2012-03-09  David S. Miller  <davem@davemloft.net>
64495         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
64496         variables with appropriate CPP guards.
64497         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
64498         from the frame pointer, not the stack pointer.  Correct layout
64499         comments.  Fix test on resulting framesize and the management of
64500         the outregs buffer for pltexit.  Preserve floating point return
64501         values across _dl_call_pltexit call.
64502         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
64503         framesize and the management of the outregs buffer for pltexit.
64504         Preserve floating point return values across _dl_call_pltexit
64505         call.
64506         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
64507         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
64508         (la_sparc64_gnu_pltexit): New functions.
64509         (print_exit): Fix format string for return register value.
64511 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
64513         * sunrpc/Makefile (others): Add rpcgen.
64514         ($(objpfx)rpcgen): Remove special build rule and dependency on
64515         libc.
64516         * sunrpc/rpcgen.c: New file.
64518 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
64520         [BZ #13673]
64521         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
64522         * stdio-common/bug-vfprintf-nargs.c: Likewise.
64523         * sysdeps/i386/crti.S: Likewise.
64524         * sysdeps/i386/crtn.S: Likewise.
64525         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
64526         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
64527         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
64528         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
64529         * sysdeps/sh/crti.S: Likewise.
64530         * sysdeps/sh/crtn.S: Likewise.
64531         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64533         [BZ #13673]
64534         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
64535         with URL.
64536         * locale/programs/locfile-kw.gperf: Likewise.
64537         * locale/programs/charmap-kw.h: Regenerated.
64538         * locale/programs/locfile-kw.h: Likewise.
64540         [BZ #13673]
64541         * intl/plural.y: Replace FSF snail mail address with URL.
64542         * intl/plural.c: Regenerated.
64544 2012-03-09  Richard Henderson  <rth@twiddle.net>
64546         * include/math_private.h: Remove file.
64547         * math/math_private.h: Move file ...
64548         * sysdeps/generic/math_private.h: ... here.
64550         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
64551         * sysdeps/powerpc/fpu/math_private.h: Likewise.
64552         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64554         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
64555         and <math_private.h>.
64556         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64557         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64558         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64559         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64560         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64561         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
64562         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64564         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64565         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64567         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64568         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64569         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64570         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64571         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64575         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64577         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64578         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64580         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
64581         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64582         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64585         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64586         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64587         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64588         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
64589         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64593         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64594         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64596         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
64597         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64598         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64599         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
64600         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
64601         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64602         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
64603         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
64604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64606         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
64607         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
64608         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
64609         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64610         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
64611         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64612         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64613         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
64614         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
64615         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
64616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64617         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
64618         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64619         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64620         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
64621         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64622         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64623         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64624         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
64625         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
64626         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64627         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64628         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64629         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64630         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
64631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
64632         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
64633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64634         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
64635         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
64636         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64637         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
64638         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64639         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
64642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
64643         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
64644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64648         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64649         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64651         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64652         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64653         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64654         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64656         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64657         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64658         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64659         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64664         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64666         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64667         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64668         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64669         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64670         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
64671         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64672         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64673         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64674         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64675         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64676         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64677         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64679         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
64680         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64681         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64682         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64683         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
64684         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64685         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
64686         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
64687         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64688         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64689         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
64690         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
64691         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64692         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64693         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64694         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
64695         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64696         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64697         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64698         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64699         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
64700         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
64701         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64702         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64703         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64704         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
64705         * sysdeps/ieee754/k_standard.c: Likewise.
64706         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64707         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64709         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64710         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64711         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64712         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64713         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64718         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64719         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64720         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64721         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64722         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64723         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64725         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
64726         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
64727         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
64728         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64729         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64730         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64731         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
64732         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64733         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64734         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64735         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64736         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64737         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64738         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64739         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64740         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64741         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64742         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64743         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
64744         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
64745         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64746         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64747         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64748         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64749         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64750         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64751         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64752         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64754         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64755         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64757         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64758         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64759         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
64760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64762         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
64763         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64767         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64768         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64769         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64770         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64772         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64774         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64775         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64776         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64780         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64781         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64782         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
64783         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64785         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64786         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64787         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64788         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64790         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
64791         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64792         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64793         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
64794         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64796         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
64797         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64798         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
64799         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64802         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
64803         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
64804         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
64805         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
64806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64809         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64810         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
64811         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64812         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64813         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
64814         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
64815         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64816         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64817         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64818         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64819         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64820         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64821         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64822         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64823         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64824         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64825         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64826         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64827         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64828         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64829         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64831         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
64832         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64833         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64834         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64835         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64836         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64837         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64838         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64839         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
64840         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64841         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64842         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
64843         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
64844         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64845         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
64846         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
64847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64848         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
64849         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
64850         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64851         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64852         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64853         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64855         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64856         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64857         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64858         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64859         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64860         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64861         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64862         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64863         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64864         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64865         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64866         * sysdeps/ieee754/s_lib_version.c: Likewise.
64867         * sysdeps/ieee754/s_matherr.c: Likewise.
64868         * sysdeps/ieee754/s_signgam.c: Likewise.
64869         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64870         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64871         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64872         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64873         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64874         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64875         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64876         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64877         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64878         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64879         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64880         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64881         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64883         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64884         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64885         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64886         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64887         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64888         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64889         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64891 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64893         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64894         * sunrpc/rpc_main.c: Likewise.
64895         * sunrpc/rpc_svcout.c: Likewise.
64897 2012-03-09  David S. Miller  <davem@davemloft.net>
64899         * include/math_private.h: New file.
64901 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64903         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64904         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64905         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64906         from <bits/socket_type.h>.
64907         (enum __socket_type): Don't define here.
64908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64909         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64910         bits/socket_type.h.
64912         [BZ #13566]
64913         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64914         checking __USE_GNU.
64916         * Makerules ($(inst_includedir)/%.h): New rule.
64917         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64918         (install-others): Remove variable setting.
64919         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64921 2012-03-08  Richard Henderson  <rth@twiddle.net>
64923         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64924         from macro to inline function; merge with the
64925         !__LIBC_INTERNAL_MATH_INLINES version.
64926         (__ieee754_sqrtf): Likewise.
64928         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64929         to inline function.
64930         (__rintf, __floor, __floorf): Likewise.
64932         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64933         macro to inline function.
64934         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64936         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64937         not <math/math_private.h>.
64939 2012-03-08  David S. Miller  <davem@davemloft.net>
64941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64942         copyright year.
64943         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64945 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64947         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64948         normalization.
64949         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64950         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64952 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64954         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64955         be defined individually, they must be defined as a block.  Define
64956         S for printing a string instead of hidint the different by using a
64957         macro for adding the 'l'.
64958         * stdio-common/tst-fphex-wide.c: Adjust.
64960 2012-03-07  Marek Polacek  <polacek@redhat.com>
64962         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64964 2012-03-08  Marek Polacek  <polacek@redhat.com>
64966         [BZ #13806]
64967         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64968         * stdio-common/tst-fphex.c: Define a few macros to make the
64969         test reusable.  Use them.
64970         * stdio-common/tst-fphex-wide.c: New file.
64972 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64974         [BZ #6911]
64975         * manual/macros.texi (gnusystems): New macro.
64976         (nongnusystems): Likewise.
64977         (gnulinuxhurdsystems): Likewise.
64978         (gnuhurdsystems): Likewise..
64979         (gnulinuxsystems): Likewise.
64980         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64981         variants of the GNU system, not "GNU system".
64982         * manual/conf.texi: Likewise.
64983         * manual/errno.texi: Likewise.  Update example of errno macro
64984         expansion.
64985         * manual/filesys.texi: Likewise.
64986         (getumask): Document as specific to GNU/Hurd.
64987         * manual/install.texi: Likewise.  Reword some references to
64988         GNU/Linux.
64989         * manual/intro.texi: Likewise.
64990         * manual/io.texi: Likewise.
64991         (File Name Portability): Detail which constraints are inapplicable
64992         to all GNU systems and which are only inapplicable to GNU/Hurd.
64993         * manual/job.texi: Likewise.
64994         * manual/llio.texi: Likewise.
64995         (O_NOCTTY): Document as present on GNU/Linux.
64996         * manual/maint.texi: Likewise.
64997         * manual/memory.texi: Likewise.
64998         * manual/pattern.texi: Likewise.
64999         * manual/pipe.texi: Likewise.
65000         * manual/process.texi: Likewise.
65001         * manual/resource.texi: Likewise.
65002         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65003         child on GNU/Hurd.
65004         * manual/setjmp.texi: Likewise.
65005         * manual/signal.texi: Likewise.
65006         * manual/startup.texi: Likewise.
65007         * manual/stdio.texi: Likewise.
65008         * manual/terminal.texi: Likewise.
65009         (ONLCR): Document as POSIX.
65010         (OXTABS): Document availability on GNU/Linux as XTABS.
65011         (ONOEOT): Document availability separately from other bits.
65012         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65013         * manual/time.texi: Likewise.
65014         * manual/users.texi: Likewise.
65015         * INSTALL: Regenerated.
65016         * sysdeps/gnu/errlist.c: Regenerated.
65018         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65019         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65020         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65021         puts.
65022         * configure: Regenerated.
65024 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65026         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65027         default includes instead of AC_HEADER_CHECK.
65028         * sysdeps/i386/configure: Regenerated.
65030         [BZ #10716]
65031         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65032         * math/s_cacoshf.c (__cacoshf): Likewise.
65033         * math/s_cacoshl.c (__cacoshl): Likewise.
65034         * math/s_casinh.c (__casinh): Set signs of result from argument.
65035         * math/s_casinhf.c (__casinhf): Likewise.
65036         * math/s_casinhl.c (__casinhl): Likewise.
65037         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65038         (casinh_test): Add more tests.
65039         * sysdeps/i386/fpu/libm-test-ulps: Update.
65040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65042 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65044         * po/zh_TW.po: Update from translation team.
65046         * login/Makefile (distribute): Remove variable.
65047         * catgets/Makefile: Likewise.
65048         * mach/Makefile: Likewise.
65049         * malloc/Makefile: Likewise.
65050         * misc/Makefile: Likewise.
65051         * iconv/Makefile: Likewise.
65052         * nscd/Makefile: Likewise.
65053         * hurd/Makefile: Likewise.
65054         * manual/Makefile: Likewise.
65055         * locale/Makefile: Likewise.
65056         * intl/Makefile: Likewise.
65057         * conform/Makefile: Likewise.
65058         * nss/Makefile: Likewise.
65059         * time/Makefile: Likewise.
65060         * soft-fp/Makefile: Likewise.
65061         * dirent/Makefile: Likewise.
65062         * gmon/Makefile: Likewise.
65063         * po/Makefile: Likewise.
65064         * rt/Makefile: Likewise.
65065         * socket/Makefile: Likewise.
65066         * math/Makefile: Likewise.
65067         * signal/Makefile: Likewise.
65068         * debug/Makefile: Likewise.
65069         * elf/Makefile: Likewise.
65070         * timezone/Makefile: Likewise.
65071         * stdlib/Makefile: Likewise.
65072         * iconvdata/Makefile: Likewise.
65073         * sunrpc/Makefile: Likewise.
65074         * io/Makefile: Likewise.
65075         * argp/Makefile: Likewise.
65076         * inet/Makefile: Likewise.
65077         * hesiod/Makefile: Likewise.
65078         * grp/Makefile: Likewise.
65079         * csu/Makefile: Likewise.
65080         * wctype/Makefile: Likewise.
65081         * crypt/Makefile: Likewise.
65082         * libio/Makefile: Likewise.
65083         * string/Makefile: Likewise.
65084         * nis/Makefile: Likewise.
65085         * resolv/Makefile: Likewise.
65086         * stdio-common/Makefile: Likewise.
65087         * wcsmbs/Makefile: Likewise.
65088         * dlfcn/Makefile: Likewise.
65089         * posix/Makefile: Likewise.
65091         [BZ #6959]
65092         * timezone/Makefile: Don't install timezone files, just the programs
65093         and scripts.
65095 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65097         * nss/databases.def: Add missing gshadow entry.
65099         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65101 2012-03-06  Marek Polacek  <polacek@redhat.com>
65103         [BZ #13726]
65104         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65105         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65106         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65107         * stdio-common/tst-long-dbl-fphex.c: New file.
65109 2012-03-06  David S. Miller  <davem@davemloft.net>
65111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65112         (set_obp_int): New function.
65113         (get_obp_int): New function.
65114         (__get_clockfreq_via_dev_openprom): Likewise.
65115         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65116         Avoid unused variable warnings on 'val' and use builtin_expect.
65117         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65118         __builtin_expect.
65119         (INLINE_CLONE_SYSCALL): Likewise.
65121 2012-03-05  David S. Miller  <davem@davemloft.net>
65123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65125 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65130         only for |x| >= 40.
65131         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65133 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65136         Replace gettimeofday with __vdso_gettimeofday.
65138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65139         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65140         __vdso_clock_gettime and __vdso_getcpu.
65142         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65143         time with __vdso_time.
65145 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65147         * manual/lang.texi (size_t): Note types to which size_t may be
65148         equivalent with the GNU C Library, but do not describe when
65149         differences between them are significant.
65151 2012-03-05  Andreas Jaeger  <aj@suse.de>
65153         * sysdeps/i386/fpu/libm-test-ulps: Update.
65155 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65157         [BZ #3976]
65158         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65159         (__ieee754_pow): Save and restore rounding mode and use
65160         round-to-nearest for main computations.
65161         * math/libm-test.inc (pow_test_tonearest): New function.
65162         (pow_test_towardzero): Likewise.
65163         (pow_test_downward): Likewise.
65164         (pow_test_upward): Likewise.
65165         (main): Call the new functions.
65166         * sysdeps/i386/fpu/libm-test-ulps: Update.
65167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65169         [BZ #3976]
65170         * math/libm-test.inc (cosh_test_tonearest): New function.
65171         (cosh_test_towardzero): Likewise.
65172         (cosh_test_downward): Likewise.
65173         (cosh_test_upward): Likewise.
65174         (sinh_test_tonearest): Likewise.
65175         (sinh_test_towardzero): Likewise.
65176         (sinh_test_downward): Likewise.
65177         (sinh_test_upward): Likewise.
65178         (main): Call the new functions.
65179         * sysdeps/i386/fpu/libm-test-ulps: Update.
65180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65182 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65184         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65185         default stack guard is set in last bytes.
65186         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65188 2012-03-05  Kees Cook  <keescook@chromium.org>
65190         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65192         [BZ #13656]
65193         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65194         possibly allocate from heap instead of stack.
65195         * stdio-common/bug-vfprintf-nargs.c: New file.
65196         * stdio-common/Makefile (tests): Add nargs overflow test.
65198 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65202 2012-03-03  Marek Polacek  <polacek@redhat.com>
65204         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65205         * math/math_private.h: Likewise.
65206         * stdlib/tst-strtod.c: Likewise.
65207         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65208         * sysdeps/x86_64/bits/atomic.h: Likewise.
65210 2012-03-02  David S. Miller  <davem@davemloft.net>
65212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65216         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65217         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65218         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65219         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65221 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65223         [BZ #13792]
65224         * manual/examples/README: New file, says the example source files
65225         can be used under GPL>=2.
65226         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65227         line containing just "*/".
65228         * manual/examples/add.c: Add copyright header (GPL>=2).
65229         * manual/examples/argp-ex1.c: Likewise.
65230         * manual/examples/argp-ex2.c: Likewise.
65231         * manual/examples/argp-ex3.c: Likewise.
65232         * manual/examples/argp-ex4.c: Likewise.
65233         * manual/examples/atexit.c: Likewise.
65234         * manual/examples/db.c: Likewise.
65235         * manual/examples/dir.c: Likewise.
65236         * manual/examples/dir2.c: Likewise.
65237         * manual/examples/execinfo.c: Likewise.
65238         * manual/examples/filecli.c: Likewise.
65239         * manual/examples/filesrv.c: Likewise.
65240         * manual/examples/fmtmsgexpl.c: Likewise.
65241         * manual/examples/genpass.c: Likewise.
65242         * manual/examples/inetcli.c: Likewise.
65243         * manual/examples/inetsrv.c: Likewise.
65244         * manual/examples/isockad.c: Likewise.
65245         * manual/examples/longopt.c: Likewise.
65246         * manual/examples/memopen.c: Likewise.
65247         * manual/examples/memstrm.c: Likewise.
65248         * manual/examples/mkfsock.c: Likewise.
65249         * manual/examples/mkisock.c: Likewise.
65250         * manual/examples/mygetpass.c: Likewise.
65251         * manual/examples/pipe.c: Likewise.
65252         * manual/examples/popen.c: Likewise.
65253         * manual/examples/rprintf.c: Likewise.
65254         * manual/examples/search.c: Likewise.
65255         * manual/examples/select.c: Likewise.
65256         * manual/examples/setjmp.c: Likewise.
65257         * manual/examples/sigh1.c: Likewise.
65258         * manual/examples/sigusr.c: Likewise.
65259         * manual/examples/stpcpy.c: Likewise.
65260         * manual/examples/strdupa.c: Likewise.
65261         * manual/examples/strftim.c: Likewise.
65262         * manual/examples/strncat.c: Likewise.
65263         * manual/examples/subopt.c: Likewise.
65264         * manual/examples/swapcontext.c: Likewise.
65265         * manual/examples/termios.c: Likewise.
65266         * manual/examples/testopt.c: Likewise.
65267         * manual/examples/testpass.c: Likewise.
65268         * manual/examples/timeval_subtract.c: Likewise.
65270         [BZ #13792]
65271         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65272         function to ...
65273         * manual/timeval_subtract.c.texi: ... here, new file.
65275 2012-03-02  David S. Miller  <davem@davemloft.net>
65277         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65279 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65281         [BZ #3976]
65282         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65283         (__sin): Save and restore rounding mode and use round-to-nearest
65284         for all computations.
65285         (__cos): Save and restore rounding mode and use round-to-nearest
65286         for all computations.
65287         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65288         <fenv.h>.
65289         (tan): Save and restore rounding mode and use round-to-nearest for
65290         all computations.
65291         * math/libm-test.inc (cos_test_tonearest): New function.
65292         (cos_test_towardzero): Likewise.
65293         (cos_test_downward): Likewise.
65294         (cos_test_upward): Likewise.
65295         (sin_test_tonearest): Likewise.
65296         (sin_test_towardzero): Likewise.
65297         (sin_test_downward): Likewise.
65298         (sin_test_upward): Likewise.
65299         (tan_test_tonearest): Likewise.
65300         (tan_test_towardzero): Likewise.
65301         (tan_test_downward): Likewise.
65302         (tan_test_upward): Likewise.
65303         (main): Call the new functions.
65304         * sysdeps/i386/fpu/libm-test-ulps: Update.
65305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65307         [BZ #10135]
65308         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65309         small n, then large n, before computing and testing k+n.
65310         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65311         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65312         Likewise.
65313         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65314         Likewise.
65315         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65316         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65322         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65323         * math/libm-test.inc (scalbn_test): Add more tests.
65324         (scalbln_test): Likewise.
65326         * manual/filesys.texi (mode_t): Describe constraints on size and
65327         signedness, not exact equivalence to a particular type.
65328         (ino_t): Likewise.
65329         (ino64_t): Likewise.
65330         (dev_t): Likewise.
65331         (nlink_t): Likewise.
65332         (blkcnt_t): Likewise.
65333         (blkcnt64_t): Likewise.
65334         * manual/llio.texi (off_t): Likewise.
65336         [BZ #3976]
65337         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
65338         (__ieee754_exp): Save and restore rounding mode and use
65339         round-to-nearest for all computations.
65340         * math/libm-test.inc (exp_test_tonearest): New function.
65341         (exp_test_towardzero): Likewise.
65342         (exp_test_downward): Likewise.
65343         (exp_test_upward): Likewise.
65344         (main): Call the new functions.
65345         * sysdeps/i386/fpu/libm-test-ulps: Update.
65346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65348 2012-03-01  Chris Demetriou  <cgd@google.com>
65350         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
65351         have predictable order.
65353 2012-03-01  David S. Miller  <davem@davemloft.net>
65355         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
65357         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
65358         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
65359         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
65360         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
65362         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
65363         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
65364         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
65365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
65366         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
65367         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
65368         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
65369         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
65370         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
65372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65374         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
65375         * sysdeps/sparc/fpu/libm-test-ulps: to here.
65376         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
65378         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
65379         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65380         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65381         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
65382         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
65383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
65384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
65385         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65386         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65387         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
65388         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
65389         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65391         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65392         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65394         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
65395         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
65396         * sysdeps/sparc/elf/configure: Regenerated.
65398 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
65400         * configure.in (AS, LD): Require binutils 2.20 or later.
65401         * configure: Regenerated.
65402         * manual/install.texi (Tools for Compilation): Give binutils 2.20
65403         as required minimum version.
65404         * INSTALL: Regenerated.
65406         [BZ #2541]
65407         [BZ #4108]
65408         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
65409         before squaring exponent.
65410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
65411         bottom long double and 27 bits of top long double before squaring
65412         exponent.
65413         * math/libm-test.inc (erfc_test): Add more tests.
65414         * sysdeps/i386/fpu/libm-test-ulps: Update.
65415         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65418 2012-03-01  Kai Tietz  <ktietz@redhat.com>
65420         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
65421         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
65422         containing bit-fields.
65423         * soft-fp/extended.h (_FP_UNION_E): Likewise.
65424         * soft-fp/single.h (_FP_UNION_S): Likewise.
65425         * soft-fp/double.h (_FP_UNION_D): Likewise.
65427 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65429         [BZ #13786]
65430         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
65431         not include ../strcmp.S.
65432         [USE_AS_STRNCASECMP_L]: Likewise.
65433         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
65434         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
65435         * sysdeps/i386/i686/multiarch/strncase_l-c.c
65436         (__strncasecmp_l_ia32): Define as alias to
65437         __strncasecmp_l_nonascii.
65439         [BZ #5794]
65440         * math/libm-test.inc (expm1_test): Add test for bug 5794.
65441         * sysdeps/i386/fpu/libm-test-ulps: Update.
65442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65444         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
65445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65447 2012-02-29  Jeff Law  <law@redhat.com>
65449         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
65450         out of bounds read.
65452 2012-02-29  Marek Polacek  <polacek@redhat.com>
65454         [BZ #13706]
65455         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
65456         * elf/Makefile: Add rules to run tst-unused-dep.out.
65458 2012-02-28  David S. Miller  <davem@davemloft.net>
65460         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
65461         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
65462         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
65463         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
65464         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
65465         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
65467 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
65469         * math/libm-test.inc (llround_test): Move one test from
65470         lround_test.  Use TEST_f_L in moved test.
65471         (lround_test): Move misplaced test to llround_test.  Add testcase
65472         from bug 2561.
65474 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
65476         * sysdeps/x86_64/fpu/e_expf.S: New file.
65477         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
65479 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
65481         [BZ #13637]
65482         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
65483         of remain_len that may cause incomplete multi-byte character and
65484         false match.
65485         * posix/bug-regex33.c: New file.
65486         * posix/Makefile (tests): Add bug-regex33.
65488 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
65490         * manual/macros.texi: New file.
65491         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
65492         * manual/libc.texinfo: Include macros.texi.
65493         * manual/creatute.texi: Likewise.
65494         * manual/install.texi: Likewise.
65495         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
65496         @glibcadj{} in references to the GNU C Library.
65497         * manual/charset.texi: Likewise.
65498         * manual/conf.texi: Likewise.
65499         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
65500         when not using those macros.
65501         * manual/creature.texi: Likewise.
65502         * manual/crypt.texi: Likewise.
65503         * manual/errno.texi: Likewise.
65504         * manual/filesys.texi: Likewise.
65505         * manual/header.texi: Likewise.
65506         * manual/install.texi: Likewise.
65507         * manual/intro.texi: Likewise.
65508         * manual/io.texi: Likewise.
65509         * manual/job.texi: Likewise.
65510         * manual/lang.texi: Likewise.
65511         * manual/libc.texiinfo: Likewise.
65512         * manual/llio.texi: Likewise.
65513         * manual/locale.texi: Likewise.
65514         * manual/maint.texi: Likewise.
65515         * manual/math.texi: Likewise.
65516         * manual/memory.texi: Likewise.
65517         * manual/message.texi: Likewise.
65518         * manual/nss.texi: Likewise.
65519         * manual/pattern.texi: Likewise.
65520         * manual/process.texi: Likewise.
65521         * manual/resource.texi: Likewise.
65522         * manual/search.texi: Likewise.
65523         * manual/setjmp.texi: Likewise.
65524         * manual/signal.texi: Likewise.
65525         * manual/socket.texi: Likewise.
65526         * manual/startup.texi: Likewise.
65527         * manual/stdio.texi: Likewise.
65528         * manual/string.texi: Likewise.
65529         * manual/sysinfo.texi: Likewise.
65530         * manual/syslog.texi: Likewise.
65531         * manual/terminal.texi: Likewise.
65532         * manual/time.texi: Likewise.
65533         * manual/users.texi: Likewise.
65534         * INSTALL: Regenerated.
65535         * NOTES: Regenerated.
65536         * sysdeps/gnu/errlist.c: Regenerated.
65538 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
65540         * include/dirent.h: Include <dirstream.h> before
65541         <dirent/dirent.h>.
65543 2012-02-28  David S. Miller  <davem@davemloft.net>
65545         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
65546         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
65547         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
65548         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
65550 2012-02-27  David S. Miller  <davem@davemloft.net>
65552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
65553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
65554         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
65555         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
65557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
65558         frame pointer instead of stack pointer relative arg slot.
65559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65560         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65561         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65563 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
65565         [BZ #3992]
65566         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
65568 2012-02-27  David S. Miller  <davem@davemloft.net>
65570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
65571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
65572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
65574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
65575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
65576         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
65577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
65579 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65581         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
65582         later.  Allow versions 5-9.
65583         * configure: Regenerated.
65584         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
65585         required minimum version and 4.6 as recommended version.  Do not
65586         mention bugs in GCC 2.7 and 2.8.
65587         * INSTALL: Regenerated.
65589 2012-02-27  David S. Miller  <davem@davemloft.net>
65591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
65592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
65593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
65594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
65595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
65596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
65597         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
65598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
65600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
65601         manipulate bits before adding and subtracting TWO112[sx].
65602         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65604 2012-02-27  Roland McGrath  <roland@hack.frob.com>
65606         [BZ #13775]
65607         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
65608         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
65609         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
65610         being in POSIX, because they are in 1003.1-2008.
65612         * rt/tst-aio.c: Include <fcntl.h>.
65613         * rt/tst-aio7.c: Likewise.
65614         * rt/tst-aio64.c: Likewise.
65616         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
65618 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
65620         * manual/install.texi (--with-headers): Describe headers as
65621         interface headers, not private headers.
65622         (Specific advice for GNU/Linux systems): Describe use of headers
65623         from "make headers_install", not private headers from older
65624         kernels.
65625         * INSTALL: Regenerated.
65626         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
65627         Change to 2.6.19.
65628         * sysdeps/unix/sysv/linux/configure: Regenerated.
65630         * manual/llio.texi (fclean): Remove documentation.
65632         * manual/Makefile (libc-texi-generated): New variable.  Include
65633         version.texi.
65634         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
65635         $(libc-texi-generated), not duplicated list of files.
65636         (version.texi, stamp-version): New rules.
65637         (realclean): Remove $(libc-texi-generated), not individual files
65638         from that list.  Do not remove dir-add.texinfo.
65639         * manual/libc.texinfo: Comment out uses of edition numbers and
65640         references to printed manual.  Remove last-updated dates.
65641         (EDITION): Comment out.
65642         (ISBN): Likewise.
65643         (VERSION, UPDATED): Remove.
65644         (version.texi): Include.
65646 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
65648         * sysdeps/posix/spawni.c: Include <signal.h>.
65649         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
65650         * sysdeps/pthread/aio_fsync.c: Likewise.
65652 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
65654         * conform/Makefile (tests): Run only when not cross-compiling and
65655         when fast-check is not defined.
65657         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
65658         * conform/data/limits.h-data: Fixes for POSIX2008.
65659         * conform/run-conformtest.sh: Run all tests.
65660         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
65661         headers.
65662         * include/bits/dlfcn.h: Likewise.
65663         * include/langinfo.h: Likewise.
65664         * include/monetary.h: Likewise.
65665         * include/sys/poll.h: Likewise.
65667         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
65668         for __USE_GNU.
65669         * posix/spawn.h: Define __need_sigset_t.
65670         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
65671         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
65672         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
65673         to get sigevent_t only.
65674         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
65675         only for __USE_GNU.
65676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65677         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65678         process_vm_writev only for __USE_GNU.
65679         * termios/termios.h: Declare tcgetsid also for POSIX2008.
65681         * conform/Makefile: For now ignore errors from run-conformtest.
65682         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
65683         POSIX to avoid namespace pollution.  Don't prepend headers.
65684         * conform/data/aio.h-data: Fixes for POSIX testing.
65685         * conform/data/fcntl.h-data: Likewise.
65686         * conform/data/glob.h-data: Likewise.
65687         * conform/data/grp.h-data: Likewise.
65688         * conform/data/pthread.h-data: Likewise.
65689         * conform/data/pwd.h-data: Likewise.
65690         * conform/data/signal.h-data: Likewise.
65691         * conform/data/spawn.h-data: Likewise.
65692         * conform/data/stdio.h-data: Likewise.
65693         * conform/data/stdlib.h-data: Likewise.
65694         * conform/data/stropts.h-data: Likewise.
65695         * conform/data/sys/mman.h-data: Likewise.
65696         * conform/data/sys/stat.h-data: Likewise.
65697         * conform/data/sys/types.h-data: Likewise.
65698         * conform/data/sys/wait.h-data: Likewise.
65699         * conform/data/time.h-data: Likewise.
65700         * conform/data/unistd.h-data: Likewise.
65701         * conform/data/utime.h-data: Likewise.
65703         * io/sys/stat.h: fchmod was always in POSIX.
65704         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
65705         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
65706         * rt/aio.h: Define __need_timespec before including <time.h>.
65707         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
65708         struct.  Add forward declaration of pthread_attr_t and use it in
65709         sigevent.
65710         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
65711         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65712         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
65713         always remove CLK_TCK definition.
65715 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
65717         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
65719 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
65721         * conform/run-conformtest.sh: New file.
65722         * conform/Makefile: Run run-conformtest for tests.
65723         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
65724         support.
65726         * conform/data/uchar.h-data: New file.
65727         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
65728         * conform/data/arpa/inet.h-data: Likewise.
65729         * conform/data/assert.h-data: Likewise.
65730         * conform/data/complex.h-data: Likewise.
65731         * conform/data/cpio.h-data: Likewise.
65732         * conform/data/ctype.h-data: Likewise.
65733         * conform/data/dirent.h-data: Likewise.
65734         * conform/data/dlfcn.h-data: Likewise.
65735         * conform/data/errno.h-data: Likewise.
65736         * conform/data/fcntl.h-data: Likewise.
65737         * conform/data/float.h-data: Likewise.
65738         * conform/data/fmtmsg.h-data: Likewise.
65739         * conform/data/fnmatch.h-data: Likewise.
65740         * conform/data/ftw.h-data: Likewise.
65741         * conform/data/glob.h-data: Likewise.
65742         * conform/data/grp.h-data: Likewise.
65743         * conform/data/iconv.h-data: Likewise.
65744         * conform/data/inttypes.h-data: Likewise.
65745         * conform/data/langinfo.h-data: Likewise.
65746         * conform/data/libgen.h-data: Likewise.
65747         * conform/data/limits.h-data: Likewise.
65748         * conform/data/locale.h-data: Likewise.
65749         * conform/data/math.h-data: Likewise.
65750         * conform/data/monetary.h-data: Likewise.
65751         * conform/data/mqueue.h-data: Likewise.
65752         * conform/data/ndbm.h-data: Likewise.
65753         * conform/data/net/if.h-data: Likewise.
65754         * conform/data/netdb.h-data: Likewise.
65755         * conform/data/netinet/in.h-data: Likewise.
65756         * conform/data/nl_types.h-data: Likewise.
65757         * conform/data/poll.h-data: Likewise.
65758         * conform/data/pthread.h-data: Likewise.
65759         * conform/data/pwd.h-data: Likewise.
65760         * conform/data/regex.h-data: Likewise.
65761         * conform/data/sched.h-data: Likewise.
65762         * conform/data/search.h-data: Likewise.
65763         * conform/data/semaphore.h-data: Likewise.
65764         * conform/data/setjmp.h-data: Likewise.
65765         * conform/data/signal.h-data: Likewise.
65766         * conform/data/spawn.h-data: Likewise.
65767         * conform/data/stdarg.h-data: Likewise.
65768         * conform/data/stdio.h-data: Likewise.
65769         * conform/data/stdlib.h-data: Likewise.
65770         * conform/data/string.h-data: Likewise.
65771         * conform/data/strings.h-data: Likewise.
65772         * conform/data/stropts.h-data: Likewise.
65773         * conform/data/sys/ipc.h-data: Likewise.
65774         * conform/data/sys/mman.h-data: Likewise.
65775         * conform/data/sys/msg.h-data: Likewise.
65776         * conform/data/sys/resource.h-data: Likewise.
65777         * conform/data/sys/select.h-data: Likewise.
65778         * conform/data/sys/sem.h-data: Likewise.
65779         * conform/data/sys/shm.h-data: Likewise.
65780         * conform/data/sys/socket.h-data: Likewise.
65781         * conform/data/sys/stat.h-data: Likewise.
65782         * conform/data/sys/statvfs.h-data: Likewise.
65783         * conform/data/sys/time.h-data: Likewise.
65784         * conform/data/sys/timeb.h-data: Likewise.
65785         * conform/data/sys/times.h-data: Likewise.
65786         * conform/data/sys/types.h-data: Likewise.
65787         * conform/data/sys/uio.h-data: Likewise.
65788         * conform/data/sys/un.h-data: Likewise.
65789         * conform/data/sys/utsname.h-data: Likewise.
65790         * conform/data/sys/wait.h-data: Likewise.
65791         * conform/data/syslog.h-data: Likewise.
65792         * conform/data/tar.h-data: Likewise.
65793         * conform/data/termios.h-data: Likewise.
65794         * conform/data/utime.h-data: Likewise.
65795         * conform/data/utmpx.h-data: Likewise.
65796         * conform/data/varargs.h-data: Likewise.
65797         * conform/data/wchar.h-data: Likewise.
65798         * conform/data/wctype.h-data: Likewise.
65799         * conform/data/wordexp.h-data: Likewise.
65801         * include/stropts.h: New file.
65802         * include/uchar.h: New file.
65803         * include/aio.h: Changes to allow conformtest.pl to use the headers.
65804         * include/assert.h: Likewise.
65805         * include/ctype.h: Likewise.
65806         * include/dirent.h: Likewise.
65807         * include/dlfcn.h: Likewise.
65808         * include/fcntl.h: Likewise.
65809         * include/fnmatch.h: Likewise.
65810         * include/glob.h: Likewise.
65811         * include/grp.h: Likewise.
65812         * include/libio.h: Likewise.
65813         * include/locale.h: Likewise.
65814         * include/math.h: Likewise.
65815         * include/net/if.h: Likewise.
65816         * include/netdb.h: Likewise.
65817         * include/netinet/in.h: Likewise.
65818         * include/pthread.h: Likewise.
65819         * include/pwd.h: Likewise.
65820         * include/regex.h: Likewise.
65821         * include/sched.h: Likewise.
65822         * include/search.h: Likewise.
65823         * include/setjmp.h: Likewise.
65824         * include/signal.h: Likewise.
65825         * include/stdio.h: Likewise.
65826         * include/stdlib.h: Likewise.
65827         * include/string.h: Likewise.
65828         * include/sys/cdefs.h: Likewise.
65829         * include/sys/mman.h: Likewise.
65830         * include/sys/msg.h: Likewise.
65831         * include/sys/resource.h: Likewise.
65832         * include/sys/select.h: Likewise.
65833         * include/sys/socket.h: Likewise.
65834         * include/sys/stat.h: Likewise.
65835         * include/sys/statvfs.h: Likewise.
65836         * include/sys/time.h: Likewise.
65837         * include/sys/times.h: Likewise.
65838         * include/sys/uio.h: Likewise.
65839         * include/sys/utsname.h: Likewise.
65840         * include/sys/wait.h: Likewise.
65841         * include/termios.h: Likewise.
65842         * include/time.h: Likewise.
65843         * include/ulimit.h: Likewise.
65844         * include/unistd.h: Likewise.
65845         * include/utime.h: Likewise.
65846         * include/wchar.h: Likewise.
65847         * include/wctype.h: Likewise.
65848         * include/wordexp.h: Likewise.
65850         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
65852         * time/time.h: TIME_UTC must be a macro.
65853         Make timespec_get available for ISO C11 only as well.
65855 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65857         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65858         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65860 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65862         * configure.in: Use -o not -a in test for unsupported multi-arch.
65864 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65866         * manual/texinfo.tex: Update to version 2012-01-19.16.
65868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65870         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65872 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65874         [BZ #13738]
65875         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65876         * manual/fdl-1.3.texi: New file.
65877         * manual/fdl-1.1.texi: File removed.
65879         [BZ #13738]
65880         * manual/libc.texinfo (FDL_VERSION): New @set.
65881         Use it for mention of FDL in cover text.
65882         (Documentation License): Use it in @include file name.
65884 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65885             Roland McGrath  <roland@hack.frob.com>
65887         [BZ #5461]
65888         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65889         (not LONG_LONG_MAX and LONG_LONG_MIN.
65890         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65891         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65892         name.
65893         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65895 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65897         [BZ #2547]
65898         [BZ #11365]
65899         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65900         manipulate bits before adding and subtracting TWO23[sx].
65901         * math/libm-test.inc (nearbyint_test): Add more tests.
65903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65905         [BZ #2548]
65906         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65907         bits before adding and subtracting TWO23[sx].
65908         * math/libm-test.inc (rint_test): Add more tests.
65909         (rint_test_tonearest): Likewise.
65910         (rint_test_towardzero): Likewise.
65911         (rint_test_downward): Likewise.
65912         (rint_test_upward: Likewise.
65914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65916         [BZ #10110]
65917         * include/stdc-predef.h: New file.  Extracted from features.h.
65918         * include/features.h: Include stdc-predef.h.
65919         * Makefile (headers): Add stdc-predef.h.
65920         * CONFORMANCE (Compiler limitations): Update.
65922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65924         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65926 2012-02-21  David S. Miller  <davem@davemloft.net>
65928         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65929         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65931 2012-02-20  David S. Miller  <davem@davemloft.net>
65933         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65934         using a normal save/restore sequence, rather than allocating a
65935         dummy stack frame just to store a frame pointer and restore.
65936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65938 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65940         * manual/install.texi: Fix stray word in line-wrapped comment.
65942 2012-02-20  David S. Miller  <davem@davemloft.net>
65944         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65945         both binutils and gcc support GOTDATA.
65947         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65948         "rd %pc" in the PIC register setup sequences.
65950         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65951         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65952         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65953         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65954         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65955         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65959         (SYSCALL_ERROR_HANDLER): Likewise.
65960         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65961         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65962         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65963         (SYSCALL_ERROR_HANDLER): Likewise.
65965         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65966         (HAVE_GCC_GOTDATA): New.
65967         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65968         relocation support in both binutils and gcc.
65969         * sysdeps/sparc/elf/configure: Regenerate.
65971         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65972         * sysdeps/sparc/sparc32/elf/configure: Delete.
65973         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65974         * sysdeps/sparc/sparc64/elf/configure: Delete.
65975         * sysdeps/sparc/elf/configure.in: New file.
65976         * sysdeps/sparc/elf/configure: Generate.
65978         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65979         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65980         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65981         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65982         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65984 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65986         * manual/install.texi: Do not mention specific glibc version
65987         numbers.
65988         * manual/libc.texinfo (VERSION, UPDATED): Update.
65989         (@copying): Use @copyright{} and range of years.
65991 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65993         [BZ #13695]
65994         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65995         [crti.S not in sysdirs] (generated): Do not append.
65996         [crti.S not in sysdirs] (omit-deps): Likewise.
65997         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65998         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65999         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66000         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66001         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66002         Likewise.
66003         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66004         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66005         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66006         * csu/defs.awk: Remove file.
66007         * sysdeps/generic/initfini.c: Likewise.
66008         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66009         variable.
66010         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66011         Likewise.
66013 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66015         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66016         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66017         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66018         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66019         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66020         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66021         <bits/epoll.h>.
66022         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66023         (__EPOLL_PACKED): Define to empty if not defined by
66024         <bits/epoll.h>.
66025         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66027         bits/epoll.h.
66029 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66031         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66032         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66034         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66035         <bits/timerfd.h>.
66036         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66038         bits/timerfd.h.
66040 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66042         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66043         in C locale.
66044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66046         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66049 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66051         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66052         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66054 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66056         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66057         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66058         defined.
66059         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66060         Likewise.
66061         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66062         entry for 2.16.
66064 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66066         * math/w_acos.c: Use non-signaling floating-point comparisons.
66067         * math/w_acosf.c: Likewise.
66068         * math/w_acosh.c: Likewise.
66069         * math/w_acoshf.c: Likewise.
66070         * math/w_acoshl.c: Likewise.
66071         * math/w_acosl.c: Likewise.
66072         * math/w_asin.c: Likewise.
66073         * math/w_asinf.c: Likewise.
66074         * math/w_asinl.c: Likewise.
66075         * math/w_atanh.c: Likewise.
66076         * math/w_atanhf.c: Likewise.
66077         * math/w_atanhl.c: Likewise.
66078         * math/w_exp2.c: Likewise.
66079         * math/w_exp2f.c: Likewise.
66080         * math/w_exp2l.c: Likewise.
66081         * math/w_j0.c: Likewise.
66082         * math/w_j0f.c: Likewise.
66083         * math/w_j0l.c: Likewise.
66084         * math/w_j1.c: Likewise.
66085         * math/w_j1f.c: Likewise.
66086         * math/w_j1l.c: Likewise.
66087         * math/w_jn.c: Likewise.
66088         * math/w_jnf.c: Likewise.
66089         * math/w_log.c: Likewise.
66090         * math/w_log10.c: Likewise.
66091         * math/w_log10f.c: Likewise.
66092         * math/w_log10l.c: Likewise.
66093         * math/w_log2.c: Likewise.
66094         * math/w_log2f.c: Likewise.
66095         * math/w_log2l.c: Likewise.
66096         * math/w_logf.c: Likewise.
66097         * math/w_logl.c: Likewise.
66098         * math/w_sqrt.c: Likewise.
66099         * math/w_sqrtf.c: Likewise.
66100         * math/w_sqrtl.c: Likewise.
66101         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66102         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66103         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66104         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66105         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66109         [BZ #9739]
66110         * manual/string.texi (strnlen): Use correct parameter name in
66111         equivalent expression.
66113 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66115         [BZ #11174]
66116         * manual/users.texi (seteuid): Consistently use neweuid for
66117         argument name.
66119 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #13704]
66122         * manual/nss.texi (Services in the NSS configuration): Correct
66123         list of services in example configuration file.
66125 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66127         [BZ #11322]
66128         * manual/arith.texi: Remove statements about negative zero
66129         behaving identically to zero.
66131 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66133         [BZ #5993]
66134         * manual/install.texi: Do not document upgrading from libc5.
66136 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66138         [BZ #4596]
66139         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66141 2012-02-18  David S. Miller  <davem@davemloft.net>
66143         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66144         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66145         %o7 across the call.
66146         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66147         instead.
66148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66149         SETUP_PIC_REG_LEAF.
66150         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66151         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66152         * sysdeps/sparc/crtn.S: Likewise.
66154 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66156         * aout/Makefile: Remove.
66158 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66160         [BZ #13058]
66161         * manual/examples/argp-ex1.c (main): Format definition in GNU
66162         style.
66163         * manual/examples/argp-ex2.c (main): Likewise.
66164         * manual/examples/argp-ex3.c (main): Likewise.
66165         * manual/examples/argp-ex4.c (main): Likewise.
66166         * manual/examples/longopt.c (main): Use new-style prototype
66167         definition.
66168         * manual/examples/strncat.c (main): Specify return type and use
66169         (void) for arguments.
66170         * manual/examples/subopt.c (main): Use char **argv argument.
66172 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66174         [BZ #5077]
66175         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66176         rounding modes.
66178 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66180         [BZ #6907]
66181         * manual/string.texi (strchr): Change when strchrnul is
66182         recommended.
66184 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66186         [BZ #174]
66187         * manual/locale.texi (setlocale): Document LOCPATH.
66189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66191         [BZ #10210]
66192         * manual/process.texi (execle): Move @dots{} before last argument.
66194 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66196         [BZ #12047]
66197         * manual/charset.texi (Generic Charset Conversion): Fix typo
66198         (LC_TYPE -> LC_CTYPE).
66200 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66202         [BZ #5805]
66203         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66204         (scalbnf): Likewise.
66205         (scalbnl): Likewise.
66206         (scalbln): Likewise.
66207         (scalblnf): Likewise.
66208         (scalblnl): Likewise.
66209         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66210         (vwarnx): Likewise.
66211         (verr): Likewise.
66212         (verrx): Likewise.
66213         * manual/filesys.texi (telldir): Use braces around return type.
66214         * manual/llio.texi (mmap): Add space after comma.
66215         (mmap64): Likewise.
66216         * manual/math.texi (jn): Use @var{} on parameter names.
66217         (jnf): Likewise.
66218         (jnl): Likewise.
66219         (yn): Likewise.
66220         (ynf): Likewise.
66221         (ynl): Likewise.
66222         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66223         line.
66224         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66225         "...".
66226         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66227         (sched_get_priority_max): Likewise.
66228         * manual/signal.texi (sigvec): Add space after comma.
66229         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66230         names.
66231         (if_indextoname): Likewise.
66232         (if_freenameindex): Likewise.
66233         (sendto): Use ',' instead of '.' in prototype.
66234         * manual/startup.texi (syscall): Use @dots{} instead of literal
66235         "...".
66236         * manual/stdio.texi (__fpending): Separate initial words of
66237         paragraph from @deftypefun line.
66238         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66239         "...".
66240         (vsyslog): Use @var{} on parameter names.
66241         * manual/terminal.texi (stty): Use @var{} on parameter names.
66242         * manual/users.texi (getutmp): Use @var{} on parameter names.
66243         (getutmpx): Likewise.
66245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66247         [BZ #6884]
66248         * manual/stdio.texi (fopen): Fix typos in description of
66249         ",ccs=STRING".
66251 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66253         [BZ #4026]
66254         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66255         get clock_id definition.
66257 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66259         [BZ #4822]
66260         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66261         (madvise): Cast every argument to void on its own.
66263 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66265         [BZ #9902]
66266         * manual/startup.texi (Exit Status): Fix typo.
66268 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66270         [BZ #10140]
66271         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66272         * manual/examples/argp-ex2.c: Likewise.
66273         * manual/examples/argp-ex3.c: Likewise.
66275 2012-02-16  Richard Henderson  <rth@redhat.com>
66277         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66278         * sysdeps/s390/s390-32/initfini.c: Remove.
66279         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66280         * sysdeps/s390/s390-64/initfini.c: Remove.
66282 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66284         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66285         compiler output for sysdeps/generic/initfini.c.
66286         * sysdeps/sh/elf/initfini.c: Remove file.
66288 2012-02-16  David S. Miller  <davem@davemloft.net>
66290         [BZ #11494]
66291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66293         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66294         * sysdeps/sparc/crti.S: New file.
66295         * sysdeps/sparc/crtn.S: New file.
66296         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66297         * sysdeps/sparc/sparc64/Makefile: Likewise.
66299 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66301         [BZ #3335]
66302         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66304 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66306         [BZ #4822]
66307         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66309         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66310         (write, read, close): Likewise.
66311         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66313 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66315         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66316         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66317         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66318         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66319         <bits/signalfd.h>.
66320         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66322         bits/signalfd.h.
66324 2012-02-14  Marek Polacek  <polacek@redhat.com>
66326         * sysdeps/x86_64/crti.S: New file.
66327         * sysdeps/x86_64/crtn.S: New file.
66328         * sysdeps/x86_64/elf/initfini.c: Remove file.
66330 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66332         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
66333         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
66334         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
66335         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
66336         <bits/inotify.h>.
66337         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
66338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66339         bits/inotify.h.
66341 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
66343         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
66344         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
66345         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
66346         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
66347         <bits/eventfd.h>.
66348         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
66349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66350         bits/eventfd.h.
66352 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
66354         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
66355         __feraiseexcept instead of feraiseexcept.
66357         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
66358         nanosleep invocations.
66359         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
66360         strings, and add error checking for a nanosleep invocations.
66362 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
66364         Replace FSF snail mail address with URLs, as per GNU coding standards.
66365         Most of the snail mail addresses were wrong anyway, and omitting
66366         them makes the source code easier to maintain.  Almost all of the
66367         changes are to license notices and to locale LC_IDENTIFICATION
66368         addresses, except for this one:
66369         * manual/libc.texinfo: In "Published by", give the FSF's URL,
66370         not its snail mail address.
66372 2012-02-09  Richard Henderson  <rth@twiddle.net>
66374         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
66375         of kernel-features.h.
66377         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
66379 2012-02-08  Marek Polacek  <polacek@redhat.com>
66381         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
66382         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
66383         * sysdeps/gnu/_G_config.h: Likewise.
66384         * sysdeps/generic/_G_config.h: Likewise.
66386 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
66388         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
66389         tests.
66390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66392         * sysdeps/powerpc/powerpc32/crti.S: New file.
66393         * sysdeps/powerpc/powerpc32/crtn.S: New file.
66394         * sysdeps/powerpc/powerpc64/crti.S: New file.
66395         * sysdeps/powerpc/powerpc64/crtn.S: New file.
66397         * Makeconfig (have-initfini): Don't set.
66398         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
66399         * configure.in (nopic_initfini): Don't substitute.
66400         * config.h.in (HAVE_INITFINI): Don't #undef.
66401         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
66402         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
66404 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
66406         Support crti.S and crtn.S provided directly by architectures.
66407         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
66408         [crti.S in sysdirs] (omit-deps): Likewise.
66409         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
66410         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
66411         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
66412         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
66413         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
66414         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
66415         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
66416         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
66417         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
66418         compiler output for sysdeps/generic/initfini.c.
66419         * sysdeps/i386/elf/Makefile: Remove file.
66420         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
66422 2012-02-07  Marek Polacek  <polacek@redhat.com>
66424         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
66425         * sysdeps/gnu/_G_config.h: Likewise.
66426         * sysdeps/mach/hurd/_G_config.h: Likewise.
66428 2012-02-07  Marek Polacek  <polacek@redhat.com>
66430         * math/Makefile (tests): Add tst-CMPLX2.
66431         * math/tst-CMPLX2.c: New file.
66433 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
66435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66437         * math/libm-test.inc (jn_test): Add missing L suffix.
66439 2012-02-06  Marek Polacek  <polacek@redhat.com>
66441         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
66442         * sysdeps/i386/fpu/e_powf.S: Likewise.
66443         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66444         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66445         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66446         * sysdeps/i386/fpu/e_pow.S: Likewise.
66447         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
66448         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66449         * sysdeps/i386/fpu/s_expm1.S: Likewise.
66450         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66451         * sysdeps/i386/fpu/e_log2.S: Likewise.
66452         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66453         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66454         * sysdeps/i386/fpu/e_powl.S: Likewise.
66455         * sysdeps/i386/fpu/s_log1p.S: Likewise.
66456         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66457         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
66458         * sysdeps/i386/fpu/e_logl.S: Likewise.
66459         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
66460         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
66461         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
66462         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
66463         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66464         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66465         * sysdeps/i386/fpu/e_log.S: Likewise.
66466         * sysdeps/i386/fpu/s_cexp.S: Likewise.
66467         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66468         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
66469         * sysdeps/i386/fpu/e_logf.S: Likewise.
66470         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66471         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66472         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
66473         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
66474         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66475         * sysdeps/i386/fpu/e_log10.S: Likewise.
66476         * sysdeps/i386/fpu/s_frexp.S: Likewise.
66477         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66478         * sysdeps/i386/fpu/s_asinh.S: Likewise.
66479         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
66480         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66481         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66482         * sysdeps/i386/asm-syntax.h: Likewise.
66483         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66485         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66486         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
66487         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
66488         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66489         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
66490         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
66491         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66492         * sysdeps/powerpc/sysdep.h: Likewise.
66493         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
66494         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66496 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66498         [BZ #411]
66499         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
66501 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
66503         * sysdeps/i386/sysdep.h: Include <features.h>.
66504         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
66505         version.
66507 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
66509         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
66510         Define.
66511         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
66512         LOAD_PIC_REG_STR.
66514 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66516         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
66517         (SETUP_PIC_REG): Use GET_PC_THUNK.
66518         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
66519         macro.
66521 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66523         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
66524         for non-PIC compilation.
66525         (SETUP_PIC_REG): Add .p2align directive.
66526         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
66527         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
66528         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66529         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66530         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
66531         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66532         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
66533         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
66534         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66535         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66536         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66537         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66538         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66539         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66540         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66541         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
66542         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
66543         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66544         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66545         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66546         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66547         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
66548         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66549         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66550         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
66551         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
66552         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66553         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
66554         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66555         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66556         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66557         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66558         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66559         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66560         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66561         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66562         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66563         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66564         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66565         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66566         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66568 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
66570         * math/tst-CMPLX.c: Include <stdio.h>.
66572 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
66574         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
66575         float.
66576         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66577         * sysdeps/sparc/bits/mathdef.h: Likewise.
66579 2012-01-31  Marek Polacek  <polacek@redhat.com>
66581         * libio/libio.h: Don't define _PARAMS.
66582         * locale/programs/config.h: Don't define PARAMS.
66583         * stdlib/strtol_l.c: Likewise.
66584         (__strtol_l): Remove PARAMS from the prototype.
66586 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
66588         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
66589         names.  Just use the correct names.  Remove unnecessary wrapper
66590         functions.
66591         * malloc/arena.c: Likewise.
66592         * malloc/hooks.c: Likewise.
66594         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
66595         ARENA_TEST says not to.  Simplify test for creation of a new arena.
66596         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
66598 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
66600         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
66601         into tail calls.
66602         (update_get_addr): New function.
66603         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
66604         GET_ADDR_MODULE parameter.
66606 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66608         * crypt/cert.c: Remove __STDC__ conditionals.
66609         * crypt/crypt-entry.c: Likewise.
66610         * crypt/crypt_util.c: Likewise.
66611         * libio/filedoalloc.c: Likewise.
66612         * libio/fileops.c: Likewise.
66613         * libio/genops.c: Likewise.
66614         * libio/iofclose.c: Likewise.
66615         * libio/iofdopen.c: Likewise.
66616         * libio/iofopen.c: Likewise.
66617         * libio/iofopen64.c: Likewise.
66618         * libio/iogetdelim.c: Likewise.
66619         * libio/iopopen.c: Likewise.
66620         * libio/obprintf.c: Likewise.
66621         * libio/oldfileops.c: Likewise.
66622         * libio/oldiofclose.c: Likewise.
66623         * libio/oldiofdopen.c: Likewise.
66624         * libio/oldiofopen.c: Likewise.
66625         * libio/oldiopopen.c: Likewise.
66626         * libio/wfiledoalloc.c: Likewise.
66627         * libio/wgenops.c: Likewise.
66628         * locale/programs/xmalloc.c: Likewise.
66629         * misc/syslog.c: Likewise.
66630         * stdio-common/xbug.c: Likewise.
66631         * string/memchr.c: Likewise.
66632         * string/memcmp.c: Likewise.
66633         * string/memrchr.c: Likewise.
66634         * string/rawmemchr.c: Likewise.
66635         * sysdeps/posix/getcwd.c: Likewise.
66636         * time/strftime_l.c: Likewise.
66638 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
66640         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
66641         * config.make.in (config-cflags-sse2avx): Define.
66642         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
66643         Fix typo.
66645 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
66647         * scripts/config.guess: Update from upstream config git repository.
66648         * scripts/config.sub: Likewise.
66650 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
66652         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
66653         (EM_NUM): Update.
66654         (R_TILEPRO_*, R_TILEGX_*): New macros.
66656         * scripts/firstversions.awk: Fix bug in version range handling.
66658         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
66660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
66662         * include/sys/epoll.h: New file.
66663         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
66664         libc_hidden_def.
66666 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
66668         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
66669         Avoid unnecessary __WORDSIZE == 64 test.
66670         (fmaxf): Use VEX format if possible.
66671         (fmax): Likewise.
66672         (fminf): Likewise.
66673         (fmin): Likewise.
66675         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
66676         * math/math_private.h: Remove libc_fegetround* and
66677         libc_fesetround*.
66678         * sysdeps/i386/configure.in: Check for -msse2avx.
66679         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
66680         also if SSE2AVX is defined.
66681         Remove libc_fegetround* and libc_fesetround*.
66682         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
66683         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
66684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
66685         of HAS_YMM_USABLE.
66686         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66687         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66688         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66689         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66690         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66692         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
66694 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66696         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
66697         size is not set.
66698         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
66700 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
66702         [BZ #13618]
66703         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
66704         relocation.
66705         * Makeconfig (libm): Define.
66706         * elf/Makefile: Add rules to build and run tst-relsort1.
66707         * elf/tst-relsort1.c: New file.
66708         * elf/tst-relsort1mod1.c: New file.
66709         * elf/tst-relsort1mod2.c: New file.
66711 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
66713         * math/s_ldexp.c: Remove __STDC__ conditionals.
66714         * math/s_ldexpf.c: Likewise.
66715         * math/s_ldexpl.c: Likewise.
66716         * math/s_nextafter.c: Likewise.
66717         * math/s_nexttowardf.c: Likewise.
66718         * math/s_significand.c: Likewise.
66719         * math/s_significandf.c: Likewise.
66720         * math/s_significandl.c: Likewise.
66721         * math/w_jnl.c: Likewise.
66722         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66723         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66724         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66725         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66726         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66728         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
66729         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66730         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66731         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66732         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66733         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66734         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66735         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66737         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66738         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66739         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66741         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66742         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66743         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66744         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66745         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66746         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66747         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66748         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66749         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66750         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66751         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66754         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66755         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66756         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66757         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66758         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66759         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66760         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66761         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66762         * sysdeps/ieee754/k_standard.c: Likewise.
66763         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66765         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66766         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66767         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66768         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66769         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66770         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66771         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66772         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66773         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66774         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66775         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66776         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66777         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66778         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66779         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66780         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66781         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66782         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66783         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66784         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66788         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66793         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66794         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
66795         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66796         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66797         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66798         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66799         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
66800         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66801         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66802         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
66803         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
66804         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66805         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
66806         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
66807         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
66809         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
66810         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66811         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
66813         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
66814         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66815         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66816         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66817         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66818         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
66820         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66821         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66822         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66823         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66824         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66825         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66827         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66828         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66829         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66830         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66831         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66833         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66834         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66835         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66836         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66837         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66838         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66839         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66840         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66841         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66842         * sysdeps/ieee754/s_matherr.c: Likewise.
66843         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66844         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66845         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66850         * crypt/md5.h: Remove __STDC__ conditionals.
66851         * libio/libioP.h: Likewise.
66852         * locale/programs/config.h: Likewise.
66853         * sysdeps/generic/sysdep.h: Likewise.
66854         * sysdeps/i386/asm-syntax.h: Likewise.
66855         * sysdeps/s390/asm-syntax.h: Likewise.
66856         * sysdeps/unix/sysdep.h: Likewise.
66857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66860 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66862         * libio/libio.h: Remove __STDC__ conditionals.
66863         * malloc/obstack.h: Likewise.
66864         * math/complex.h: Likewise.
66865         * math/math.h: Likewise.
66866         * sysdeps/generic/_G_config.h: Likewise.
66867         * sysdeps/gnu/_G_config.h: Likewise.
66868         * sysdeps/mach/hurd/_G_config.h: Likewise.
66869         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66870         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66871         * sysdeps/sparc/bits/mathdef.h: Likewise.
66873 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66875         [BZ #13583]
66876         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66877         Clean up HAS_* macros.
66878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66879         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66880         possible.
66881         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66882         HAS_AVX.
66883         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66884         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66885         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66886         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66887         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66889 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66891         * elf/tst-unique3.cc (gets): Remove declaration.
66892         * elf/tst-unique3lib.cc (gets): Likewise.
66893         * elf/tst-unique3lib2.cc (gets): Likewise.
66894         * elf/tst-unique4.cc (gets): Likewise.
66896 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66898         * include/stdio.h: Add C++ protection.  Add gets declarations and
66899         definitions.
66900         * debug/tst-chk1.c: Don't declare gets here.
66901         * stdio-common/tst-gets.c: Likewise.
66903 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66905         * posix/glob: Remove directory.
66907 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66909         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66911 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66913         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66914         of the non-standard EPFNOSUPPORT.
66916 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66918         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66919         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66920         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66922 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66924         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66926 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66928         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66929         transient errors.
66930         * nscd/grpcache.c (cache_addgr): Likewise.
66931         * nscd/hstcache.c (cache_addhst): Likewise.
66932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66933         * nscd/pwdcache.c (cache_addpw): Likewise.
66934         * nscd/servicescache.c (cache_addserv): Likewise.
66936 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66938         * malloc/malloc.c: Various cleanups.
66939         * malloc/hooks.c: Likewise.
66941         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66942         * stdlib/bug-fmtmsg1.c: New file.
66944         * stdlib/fmtmsg.c (init): Add missing unlock.
66945         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66947 2012-01-12  Marek Polacek  <polacek@redhat.com>
66949         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66950         and _GNU_SOURCE.
66952 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66954         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66955         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66956         macro to ensure uniqueness of label name.
66957         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66958         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66960 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66964         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66965         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66966         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66967         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66969 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66971         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66973         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66974         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66975         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66977         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66979         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66980         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66981         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66982         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66984         * math/bits/math-finite.h: Add ldexp support.
66986 2012-01-10  Marek Polacek  <polacek@redhat.com>
66988         * locale/programs/localedef.h (show_archive_content): Add noreturn
66989         attribute.
66991 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66995 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66997         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66999         * io/Makefile (headers): Add bits/poll2.h.
67001 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67004         typo #include statement.
67006 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67008         * include/sys/cdefs.h: Define __attribute_alloc_size.
67009         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67010         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67011         * elf/pldd.c: Likewise.
67012         * iconv/iconv_charmap.c: Likewise.
67013         * iconv/iconvconfig.c: Likewise.
67014         * iconv/strtab.c: Likewise.
67015         * locale/programs/locale.c: Likewise.
67016         * locale/programs/localedef.h: Likewise.
67017         * locale/programs/simple-hash.c: Likewise.
67018         * nscd/nscd.h: Likewise.
67019         * nss/makedb.c: Likewise.
67020         * sysdeps/generic/ldconfig.h: Likewise.
67021         * locale/programs/localedef.c: Remove xmalloc prototype.
67022         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67024 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67026         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67027         appropriate.
67029 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67031         * math/Makefile (tests): Add tst-CMPLX.
67032         * math/tst-CMPLX.c: New file.
67034         * math/complex.h (CMPLXL): Fix typo.
67036         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67037         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67038         GLIBC_2.16.
67039         * debug/tst-chk1.c: Add poll and ppoll tests.
67040         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67041         * include/sys/poll.h: Add hidden proto for ppoll.
67042         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67043         * sysdeps/mach/hurd/ppoll.c: Likewise.
67044         * io/ppoll.c: Likewise.
67045         * debug/poll_chk.c: New file.
67046         * debug/ppoll_chk.c: New file.
67047         * include/bits/poll2.h: New file.
67048         * io/bits/poll2.h: New file.
67050         [BZ #1350]
67051         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67053         * configure.in: static is always set to yes.  Remove.
67054         * config.make.in: Don't set build-static.
67055         * Makeconfig: Remove use of build-static.
67056         * dlfcn/Makefile: Likewise.
67057         * elf/Makefile: Likewise.
67058         * math/Makefile: Likewise.
67059         * misc/Makefile: Likewise.
67060         * nptl/Makefile: Likewise.
67061         * sysdeps/mach/hurd/Makefile: Likewise.
67063         * configure.in: PWD_P is not used anymore.
67064         * config.make.in: Remove PWD_P entry.
67066         * configure.in: Remove last remnants of RANLIB.
67067         No need to check for signed size_t anymore.
67068         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67069         and IA-64.
67070         Remove __builtin_expect test because we require at least gcc 3.4.
67071         * aclocal.m4: Likewise.
67073         * wcsmbs/mbrtoc16.c: Implement using towc function.
67074         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67075         * wcsmbs/wcsmbsload.c: Likewise.
67076         * iconv/gconv_simple.c: Likewise.
67077         * iconv/gconv_int.h: Likewise.
67078         * iconv/gconv_builtin.h: Likewise.
67079         * iconv/iconv_prog.c: Remove CHAR16 handling.
67081         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67083         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67085         * configure.in: Remove --with-elf and --enable-bounded options.
67086         Dont set base_machine for ia64.  More non-ELF conditions removed.
67087         Remove testing and setting of leading underscore information.
67088         * config.make.in (build-bounded): Set to no.
67089         * config.h.in: Remove NO_UNDERSCORES entry.
67090         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67091         them.
67092         * csu/start.c: Remove !NO_UNDERSCORE code.
67093         * locale/localeinfo.h: Likewise.
67094         * sysdeps/generic/machine-gmon.h: Likewise.
67095         * sysdeps/generic/sysdep.h: Likewise.
67096         * sysdeps/i386/sysdep.h: Likewise.
67097         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67098         * sysdeps/mach/sysdep.h: Likewise.
67099         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67100         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67101         * sysdeps/sh/sysdep.h: Likewise.
67102         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67103         * sysdeps/unix/i386/sysdep.S: Likewise.
67104         * sysdeps/unix/sparc/start.c: Likewise.
67105         * sysdeps/unix/sparc/sysdep.S: Likewise.
67106         * sysdeps/unix/sparc/sysdep.h: Likewise.
67107         * sysdeps/unix/start.c: Likewise.
67108         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67109         * sysdeps/x86_64/sysdep.h: Likewise.
67111 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67113         [BZ #13553]
67114         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67115         for non-gcc.
67116         * argp/argp-fmtstream.h: Use const instead __const.
67117         * argp/argp.h: Likewise.
67118         * assert/assert.h: Likewise.
67119         * bits/fenv.h: Likewise.
67120         * bits/sched.h: Likewise.
67121         * bits/sigset.h: Likewise.
67122         * bits/sigthread.h: Likewise.
67123         * catgets/nl_types.h: Likewise.
67124         * conform/data/pthread.h-data: Likewise.
67125         * crypt/crypt-private.h: Likewise.
67126         * crypt/crypt.h: Likewise.
67127         * crypt/crypt_util.c: Likewise.
67128         * ctype/ctype.h: Likewise.
67129         * debug/execinfo.h: Likewise.
67130         * debug/mbsnrtowcs_chk.c: Likewise.
67131         * debug/mbsrtowcs_chk.c: Likewise.
67132         * debug/wcsnrtombs_chk.c: Likewise.
67133         * debug/wcsrtombs_chk.c: Likewise.
67134         * debug/wcstombs_chk.c: Likewise.
67135         * dirent/dirent.h: Likewise.
67136         * dlfcn/dlfcn.h: Likewise.
67137         * elf/neededtest4.c: Likewise.
67138         * grp/grp.h: Likewise.
67139         * gshadow/gshadow.h: Likewise.
67140         * iconv/gconv.h: Likewise.
67141         * iconv/gconv_int.h: Likewise.
67142         * iconv/gconv_simple.c: Likewise.
67143         * iconv/iconv.h: Likewise.
67144         * iconv/loop.c: Likewise.
67145         * iconv/skeleton.c: Likewise.
67146         * include/aio.h: Likewise.
67147         * include/aliases.h: Likewise.
67148         * include/argz.h: Likewise.
67149         * include/arpa/inet.h: Likewise.
67150         * include/assert.h: Likewise.
67151         * include/dirent.h: Likewise.
67152         * include/dlfcn.h: Likewise.
67153         * include/execinfo.h: Likewise.
67154         * include/fcntl.h: Likewise.
67155         * include/fenv.h: Likewise.
67156         * include/glob.h: Likewise.
67157         * include/grp.h: Likewise.
67158         * include/libintl.h: Likewise.
67159         * include/mntent.h: Likewise.
67160         * include/netdb.h: Likewise.
67161         * include/pwd.h: Likewise.
67162         * include/rpc/netdb.h: Likewise.
67163         * include/sched.h: Likewise.
67164         * include/search.h: Likewise.
67165         * include/shadow.h: Likewise.
67166         * include/signal.h: Likewise.
67167         * include/stdio.h: Likewise.
67168         * include/stdlib.h: Likewise.
67169         * include/string.h: Likewise.
67170         * include/sys/socket.h: Likewise.
67171         * include/sys/stat.h: Likewise.
67172         * include/sys/statfs.h: Likewise.
67173         * include/sys/statvfs.h: Likewise.
67174         * include/sys/syslog.h: Likewise.
67175         * include/sys/time.h: Likewise.
67176         * include/sys/uio.h: Likewise.
67177         * include/time.h: Likewise.
67178         * include/unistd.h: Likewise.
67179         * include/utmp.h: Likewise.
67180         * include/wchar.h: Likewise.
67181         * include/wctype.h: Likewise.
67182         * inet/aliases.h: Likewise.
67183         * inet/arpa/inet.h: Likewise.
67184         * inet/netinet/ether.h: Likewise.
67185         * inet/netinet/in.h: Likewise.
67186         * intl/libintl.h: Likewise.
67187         * io/bits/fcntl2.h: Likewise.
67188         * io/fcntl.h: Likewise.
67189         * io/ftw.h: Likewise.
67190         * io/sys/poll.h: Likewise.
67191         * io/sys/stat.h: Likewise.
67192         * io/sys/statfs.h: Likewise.
67193         * io/sys/statvfs.h: Likewise.
67194         * io/utime.h: Likewise.
67195         * libio/bits/stdio.h: Likewise.
67196         * libio/bits/stdio2.h: Likewise.
67197         * libio/libio.h: Likewise.
67198         * libio/libioP.h: Likewise.
67199         * libio/stdio.h: Likewise.
67200         * locale/lc-ctype.c: Likewise.
67201         * locale/locale.h: Likewise.
67202         * login/utmp.h: Likewise.
67203         * malloc/arena.c: Likewise.
67204         * malloc/malloc.c: Likewise.
67205         * malloc/malloc.h: Likewise.
67206         * malloc/mcheck.c: Likewise.
67207         * malloc/mtrace.c: Likewise.
67208         * math/bits/mathcalls.h: Likewise.
67209         * math/fenv.h: Likewise.
67210         * math/math_private.h: Likewise.
67211         * misc/bits/error.h: Likewise.
67212         * misc/bits/syslog.h: Likewise.
67213         * misc/err.h: Likewise.
67214         * misc/error.h: Likewise.
67215         * misc/fstab.h: Likewise.
67216         * misc/mntent.h: Likewise.
67217         * misc/regexp.h: Likewise.
67218         * misc/search.h: Likewise.
67219         * misc/sgtty.h: Likewise.
67220         * misc/sys/mman.h: Likewise.
67221         * misc/sys/syslog.h: Likewise.
67222         * misc/sys/uio.h: Likewise.
67223         * misc/sys/xattr.h: Likewise.
67224         * misc/ttyent.h: Likewise.
67225         * nis/rpcsvc/ypclnt.h: Likewise.
67226         * nss/nss.h: Likewise.
67227         * posix/bits/unistd.h: Likewise.
67228         * posix/fnmatch.h: Likewise.
67229         * posix/glob.h: Likewise.
67230         * posix/sched.h: Likewise.
67231         * posix/spawn.h: Likewise.
67232         * posix/sys/wait.h: Likewise.
67233         * posix/unistd.h: Likewise.
67234         * posix/wordexp.h: Likewise.
67235         * pwd/pwd.h: Likewise.
67236         * resolv/netdb.h: Likewise.
67237         * resource/sys/resource.h: Likewise.
67238         * rt/aio.h: Likewise.
67239         * rt/bits/mqueue2.h: Likewise.
67240         * rt/mqueue.h: Likewise.
67241         * shadow/shadow.h: Likewise.
67242         * signal/signal.h: Likewise.
67243         * socket/send.c: Likewise.
67244         * socket/sendto.c: Likewise.
67245         * socket/sys/socket.h: Likewise.
67246         * stdio-common/printf.h: Likewise.
67247         * stdlib/bits/stdlib.h: Likewise.
67248         * stdlib/fmtmsg.h: Likewise.
67249         * stdlib/monetary.h: Likewise.
67250         * stdlib/stdlib.h: Likewise.
67251         * stdlib/ucontext.h: Likewise.
67252         * streams/stropts.h: Likewise.
67253         * string/argz.h: Likewise.
67254         * string/bits/string2.h: Likewise.
67255         * string/string.h: Likewise.
67256         * string/strings.h: Likewise.
67257         * sunrpc/rpc/auth.h: Likewise.
67258         * sunrpc/rpc/auth_des.h: Likewise.
67259         * sunrpc/rpc/clnt.h: Likewise.
67260         * sunrpc/rpc/netdb.h: Likewise.
67261         * sunrpc/rpc/pmap_clnt.h: Likewise.
67262         * sunrpc/rpc/xdr.h: Likewise.
67263         * sysdeps/generic/inttypes.h: Likewise.
67264         * sysdeps/generic/net/if.h: Likewise.
67265         * sysdeps/generic/sys/swap.h: Likewise.
67266         * sysdeps/gnu/net/if.h: Likewise.
67267         * sysdeps/gnu/utmpx.h: Likewise.
67268         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67269         * sysdeps/i386/i486/bits/string.h: Likewise.
67270         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67271         * sysdeps/s390/bits/string.h: Likewise.
67272         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67273         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67274         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67275         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67276         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67277         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67278         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67279         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67280         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67281         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67282         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67283         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67284         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67285         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67286         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67287         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67288         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67291         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67292         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67293         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67294         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67295         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67296         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67297         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67298         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67299         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67300         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67301         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67302         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67303         * sysvipc/sys/ipc.h: Likewise.
67304         * sysvipc/sys/msg.h: Likewise.
67305         * sysvipc/sys/sem.h: Likewise.
67306         * sysvipc/sys/shm.h: Likewise.
67307         * termios/termios.h: Likewise.
67308         * time/sys/time.h: Likewise.
67309         * time/time.h: Likewise.
67310         * wcsmbs/bits/wchar2.h: Likewise.
67311         * wcsmbs/uchar.h: Likewise.
67312         * wcsmbs/wchar.h: Likewise.
67313         * wctype/wctype.h: Likewise.
67315         [BZ #13551]
67316         * Makeconfig: Remove all but ELF support including AIX support.
67317         * Makerules: Likewise.
67318         * config.h.in: Likewise.
67319         * config.make.in: Likewise.
67320         * configure: Likewise.
67321         * configure.in: Likewise.
67322         * csu/Makefile: Likewise.
67323         * csu/version.c: Likewise.
67324         * debug/Makefile: Likewise.
67325         * dlfcn/Makefile: Likewise.
67326         * elf/Makefile: Likewise.
67327         * extra-lib.mk: Likewise.
67328         * iconv/Makefile: Likewise.
67329         * include/libc-symbols.h: Likewise.
67330         * include/shlib-compat.h: Likewise.
67331         * resolv/Makefile: Likewise.
67332         * resolv/res_libc.c: Likewise.
67333         * rt/Makefile: Likewise.
67334         * sysdeps/i386/asm-syntax.h: Likewise.
67335         * sysdeps/i386/sysdep.h: Likewise.
67336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67337         * sysdeps/mach/sysdep.h: Likewise.
67338         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
67339         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
67340         * sysdeps/s390/asm-syntax.h: Likewise.
67341         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67342         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67343         * sysdeps/sh/sysdep.h: Likewise.
67344         * sysdeps/unix/sparc/sysdep.h: Likewise.
67345         * sysdeps/wordsize-32/divdi3.c: Likewise.
67346         * sysdeps/x86_64/sysdep.h: Likewise.
67348         * argp/Versions: Remove _argp_unlock_xxx.
67350         [BZ #13559]
67351         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
67352         * abilist/libBrokenLocale.abilist: Likewise.
67353         * abilist/libanl.abilist: Likewise.
67354         * abilist/libc.abilist: Likewise.
67355         * abilist/libcrypt.abilist: Likewise.
67356         * abilist/libdl.abilist: Likewise.
67357         * abilist/libm.abilist: Likewise.
67358         * abilist/libnsl.abilist: Likewise.
67359         * abilist/libpthread.abilist: Likewise.
67360         * abilist/libresolv.abilist: Likewise.
67361         * abilist/librt.abilist: Likewise.
67362         * abilist/libthread_db.abilist: Likewise.
67363         * abilist/libutil.abilist: Likewise.
67364         * abilist/libnss_db.abilist: New file.
67366         * scripts/abilist.awk: Add support for indirect functions.
67368         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
67370         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
67372         * shlib-versions: Remove entries for ports architectures.
67374         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
67375         files in ports.
67376         * elf/stackguard-macros.h: Remove support for IA-64.
67377         * elf/tst-auditmod1.c: Likewise.
67378         * sysdeps/generic/ldsodefs.h: Likewise.
67380         * sysdeps/unix/sysv/linux/configure.in: Ports should define
67381         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
67382         configure files.
67384         [BZ #13552]
67385         * configure.in: Remove --enable-omitfp support.
67386         * FAQ.in: Adjust.
67387         * config.make.in: Likewise.
67388         * Makeconfig: Likewise.
67389         * manual/install.texi: Likewise.
67391         In case anyone cares, the IA-64 architecture could move to ports.
67392         * sysdeps/ia64/*: Removed.
67393         * sysdeps/unix/sysv/linux/ia64/*: Removed.
67394         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
67396         [BZ #13555]
67397         * configure.in: Remove entries for unsupported architectures.
67399         [BZ #13533]
67400         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
67401         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
67402         routines.
67403         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
67404         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
67405         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
67406         fall back to using wcrtomb.
67407         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
67408         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
67409         renaming.
67410         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
67411         * wcsmbs/tst-c16c32-1.c: New file.
67413         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
67414         local variable.
67416         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
67418         * elf/tst-unique3.cc: Add explicit declaration of gets.
67419         * elf/tst-unique3lib.cc: Likewise.
67420         * elf/tst-unique3lib2.cc: Likewise.
67421         * elf/tst-unique4.cc: Likewise.
67423         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
67425 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
67427         [BZ #13566]
67428         * assert/assert.h (static_assert): Don't define for C++.
67429         * libio/stdio.h (gets): Do declare for C++ <= C++11.
67430         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
67432 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
67434         * iconv/loop.c (single loop): Fix assertion in storing of
67435         remaining bytes.
67437         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
67439 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
67441         * posix/getconf.c: Update copyright year.
67442         * nss/getent.c: Likewise.
67443         * nss/makedb.c: Likewise.
67444         * iconv/iconvconfig.c: Likewise.
67445         * iconv/iconv_prog.c: Likewise.
67446         * elf/ldconfig.c: Likewise.
67447         * elf/pldd.c: Likewise.
67448         * elf/sotruss.ksh: Likewise.
67449         * catgets/gencat.c: Likewise.
67450         * csu/version.c: Likewise.
67451         * elf/ldd.bash.in: Likewise.
67452         * elf/sprof.c (print_version): Likewise.
67453         * locale/programs/locale.c: Likewise.
67454         * locale/programs/localedef.c: Likewise.
67455         * login/programs/pt_chown.c: Likewise.
67456         * nscd/nscd.c (print_version): Likewise.
67457         * debug/xtrace.sh: Likewise.
67458         * malloc/memusage.sh: Likewise.
67459         * malloc/mtrace.pl: Likewise.
67460         * debug/catchsegv.sh: Likewise.
67462 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
67464         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
67465         pure attribute.
67467 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
67469         [BZ #13533]
67470         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
67471         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
67472         transformations.
67473         * iconv/gconv_int.h: Likewise.
67474         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
67475         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
67476         from libc for GLIBC_2.16.
67477         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
67478         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
67479         * wcsmbs/uchar.h: Really define mbstate_t.
67480         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
67481         * wcsmbs/c16rtomb.c: New file.
67482         * wcsmbs/mbrtoc16.c: New file.
67483         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
67484         for C/POSIX locale.
67485         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
67486         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
67488         * wcsmbs/wchar.h: Add missing __restrict.
67490 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67492         [BZ #13532]
67493         * time/Makefile (routines): Add timespec_get.
67494         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
67495         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
67496         timespec for ISO C11.
67497         * time/timespec_get.c: New file.
67498         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
67499         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
67501         [BZ #13531]
67502         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
67503         * stdlib/stdlib.h: Declare aligned_alloc.
67504         * Versions.def: Add GLIBC_2.16 for libc.
67505         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
67507         [BZ 13527]
67508         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
67509         ISO C11.
67511         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
67512         code.
67514         [BZ #13528]
67515         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
67517         [BZ #13529]
67518         * assert/assert.h (static_assert): Define.
67520         * version.h: Update for 2.16 development version.
67522         [BZ #13526]
67523         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
67524         _ISOC11_SOURCE.
67526         * version.h (RELEASE): Bump for 2.15 release.
67527         * include/features.h (__GLIBC_MINOR__): Bump to 15.
67529         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
67530         Patch by Marek Polacek <mpolacek@redhat.com>.
67532         * bits/byteswap.h: Protect long long constants with __extension__.
67533         * sysdeps/i386/bits/byteswap.h: Likewise.
67534         * sysdeps/ia64/bits/byteswap.h: Likewise.
67535         * sysdeps/s390/bits/byteswap.h: Likewise.
67536         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67538 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67540         [BZ #13540]
67541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
67542         destination buffer.
67543         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
67545 2011-12-23  Marek Polacek  <polacek@redhat.com>
67547         * elf/dl-addr.c (determine_info): Add inline keyword.
67548         * elf/tst-auditmod4b.c (check_avx): Likewise.
67549         * elf/tst-auditmod6b.c (check_avx): Likewise.
67550         * elf/tst-auditmod6c.c (check_avx): Likewise.
67551         * elf/tst-auditmod7b.c (check_avx): Likewise.
67553 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
67555         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
67556         !__SSE_MATH__.
67558 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67560         [BZ #13540]
67561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
67562         processing for last bytes.
67564 2011-08-06  Bruno Haible  <bruno@clisp.org>
67566         [BZ #13061]
67567         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
67568         U+0385, not to U+1FEE.
67570         [BZ #13062]
67571         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
67572         entry for U+00A5 U+0301.
67574 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67576         [BZ #13166]
67577         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
67578         buffer for the output is too small.
67580         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
67581         optimization.
67583         [BZ #13185]
67584         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
67585         SSE flags if possible.
67587 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67589         [BZ #13540]
67590         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
67591         processing for last bytes.
67593 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
67595         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
67596         (syscall-list-default-options, syscall-list-default-condition)
67597         (syscall-list-includes): Define.
67598         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
67599         list of ABIs and options and #if conditions for each ABI.  Do not
67600         handle common syscalls between ABIs specially.
67601         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
67602         Remove.
67603         (syscall-list-variants, syscall-list-32bit-options)
67604         (syscall-list-32bit-condition, syscall-list-64bit-options)
67605         (syscall-list-64bit-condition): Define.
67606         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
67607         (syscall-list-variants, syscall-list-32bit-options)
67608         (syscall-list-32bit-condition, syscall-list-64bit-options)
67609         (syscall-list-64bit-condition): Define.
67610         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
67611         Remove.
67612         (syscall-list-variants, syscall-list-32bit-options)
67613         (syscall-list-32bit-condition, syscall-list-64bit-options)
67614         (syscall-list-64bit-condition): Define.
67615         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
67616         Remove.
67617         (syscall-list-variants, syscall-list-32bit-options)
67618         (syscall-list-32bit-condition, syscall-list-64bit-options)
67619         (syscall-list-64bit-condition): Define.
67621 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
67623         * locale/iso-639.def: Add brx entry.
67625         [BZ #13328]
67626         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
67627         Proposed by Mariusz_Cukr <marcukr@op.pl>.
67629         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
67630         __feraiseexcept_renamed.
67632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67634         [BZ #13538]
67635         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
67636         EPOLLET with unsigned values.
67637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67638         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67640         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
67641         to large cancellation.
67642         * math/s_cacoshf.c: Likewise.
67643         * math/s_cacoshl.c: Likewise.
67645 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
67647         [BZ #13305]
67648         [BZ #12786]
67649         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
67650         * math/s_cacoshf.c: Likewise.
67651         * math/s_cacoshl.c: Likewise.
67653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
67655         [BZ #13439]
67656         * iconv/gconv.h: Define __GCONV_SWAP.
67657         * iconvdata/unicode.c: The swap bit must be stored in __flags.
67658         * iconvdata/utf-16.c: Likewise.
67659         * iconvdata/utf-32.c: Likewise.
67661 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
67663         [BZ #13524]
67664         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
67665         numerator after shifting it by one limb.
67667 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
67669         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
67670         under [__USE_EXTERN_INLINES].
67672 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67674         [BZ #13446]
67675         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
67677 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67679         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
67680         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
67681         optimized code.
67682         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
67683         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
67684         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
67685         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
67686         for strncasecmp/strncasecmp_l compilation.
67687         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
67688         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
67690 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
67692         [BZ #13484]
67693         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
67694         of __asm__.
67696 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
67698         [BZ #13506]
67699         * time/tzfile.c (__tzfile_read): Check values from file header.
67701 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67703         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
67704         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
67705         * powerpc/powerpc32/dl-start.S: Likewise.
67706         * powerpc/powerpc32/elf/start.S: Likewise.
67707         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
67708         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
67709         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
67710         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
67711         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
67712         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
67713         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
67714         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67715         * powerpc/powerpc32/fpu/s_round.S: Likewise.
67716         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
67717         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
67718         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
67719         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
67720         * powerpc/powerpc32/memset.S: Likewise.
67721         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
67722         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67723         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67724         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67725         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67726         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
67727         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
67728         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
67729         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
67730         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
67731         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
67732         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67733         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67735 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67737         * math/libm-test.inc: Added more nearbyint tests.
67738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
67739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
67740         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
67741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
67743 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
67745         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
67746         FD_CLOEXEC.
67748 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67750         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
67751         Add wcscpy-ssse3 wcscpy-c.
67752         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
67753         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
67754         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
67755         * sysdeps/x86_64/wcschr.S: New file.
67756         * sysdeps/x86_64/wcsrchr.S: New file.
67757         * string/test-strcmp.c: Remove checking of wcscmp function for
67758         wrong alignments.
67759         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
67760         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
67761         wcsrchr-sse2 wcsrchr-c.
67762         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
67763         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
67764         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
67765         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
67766         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
67767         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
67768         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
67769         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
67770         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
67771         * wcsmbc/wcschr.c (WCSCHR): New macro.
67773 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67775         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
67776         * wcsmbs/test-wcsrchr.c: New file.
67777         * string/test-strrchr.c: Add wcsrchr support.
67778         (WIDE): New macro.
67779         * wcsmbs/test-wcscpy.c: New file.
67780         * string/test-strcpy.c: Add wcscpy support.
67781         (WIDE): New macro.
67783 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
67785         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
67786         the inner loop.
67788 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
67790         [BZ #13472]
67791         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
67793 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
67795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
67796         Minor optimizations.
67798         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
67799         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
67800         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
67802 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
67804         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
67805         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
67806         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
67807         for gcc to avoid warnings.
67808         * inet/Makefile (tests): Add tst-checks.
67809         * inet/tst-checks.c: New file.
67811         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
67812         warning.
67814         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
67815         __wmemcmp_sse2.
67817         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
67818         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
67820         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
67822 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
67824         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
67825         problem.
67827         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
67829 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
67831         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
67832         conditional on GCC version.
67833         (__arch_compare_and_exchange_val_8_acq)
67834         (__arch_compare_and_exchange_val_16_acq)
67835         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
67836         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
67837         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
67839 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
67841         * sysdeps/sh/backtrace.c: New file.
67843 2011-12-02  Andreas Schwab  <schwab@redhat.com>
67845         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
67846         parenthesis.
67848 2011-12-01  Andreas Schwab  <schwab@redhat.com>
67850         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
67851         falling back to utime.
67853 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67855         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67856         expectations for float.
67858 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67860         * locale/weight.h (findidx): Add parameter len.
67861         * locale/weightwc.h (findidx): Likewise.
67862         * posix/fnmatch_loop.c (FCT): Adjust caller.
67863         * posix/regcomp.c (build_equiv_class): Likewise.
67864         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67865         * posix/regexec.c (check_node_accept_bytes): Likewise.
67866         * string/strcoll_l.c (STRCOLL): Likewise.
67867         * string/strxfrm_l.c (STRXFRM): Likewise.
67869 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67871         * Makefile.in: Remove CVSOPT handling.
67872         * configure.in: Remove use of AC_REVISION.
67873         * iconvdata/Makefile (distribute): No need to filter out CVS.
67874         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67875         handling.
67877 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67880         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67881         [USE_AS_STRNCASECMP_L]: Likewise.
67882         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67883         NO_TLS_DIRECT_SEG_REFS.
67884         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67885         Fix argument offsets for non-PIC.
67886         [USE_AS_STRNCASECMP_L]: Likewise.
67887         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67888         NO_TLS_DIRECT_SEG_REFS.
67890 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67892         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67893         O_CLOEXEC.
67894         * locale/loadlocale.c (_nl_load_locale): Likewise.
67896 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67898         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67899         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67900         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67901         (SYSCALL_GETTIME): Set errno on error.
67903         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67904         count references to noai6ai_cached.
67906 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67908         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67910         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67911         FD_CLOEXEC for /proc/self/maps.
67913         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67914         FD_CLOEXEC for /proc/meminfo.
67916         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67917         gai.conf.
67919         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67920         FD_CLOEXEC for given file.
67922         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67924         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67925         FD_CLOEXEC for /etc/hosts.
67926         (_gethtent): Likewise.
67928         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67930         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67931         cancellation and set FD_CLOEXEC for /etc/netgroup.
67933         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67934         reading /etc/publickey.
67936         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67937         allow cancellation when reading /etc/group.
67939         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67940         cancellation.
67941         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67943         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67944         when using data file.
67946         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67948         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67949         (write_nis_obj): Use "c" and "e" in fopen.
67951         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67953         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67955         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67957         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67959         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67960         locale.alias.
67962         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67964         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67966         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67968         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67969         file parsing and set FD_CLOEXEC.
67971 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67973         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67975 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67977         * malloc/arena.c (arena_get2): Don't call reused_arena when
67978         _int_new_arena failed.
67980 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67982         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67983         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67984         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67985         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67986         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67988         to compile strcasecmp and strncasecmp.
67989         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67990         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67994 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67996         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67997         locale-defines.sym to gen-as-const-headers.
67998         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67999         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68001         to compile strcasecmp and strncasecmp.
68002         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68003         strcasecmp_l and strncasecmp_l.
68004         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68005         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68006         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68007         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68008         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68009         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68010         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68011         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68012         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68013         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68014         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68016 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68018         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68019         result of SYSDEP_GETTIME_CPU to retval.
68020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68021         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68023         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68024         variable.
68026         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68027         mantissa words.
68028         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68030         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68031         from unused variable.
68033         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68034         DWARF definitions.
68035         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68036         for assembling.
68038         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68039         over namespaces.
68041         * sunrpc/rpc_prot.c (rejected): Fix case value.
68043         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68044         unsigned long long int to avoid warnings in shift.
68046         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68047         of use of trans.
68048         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68049         variable tmp.
68051         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68052         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68053         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68055         * nis/nis_table.c (nis_list): Use variable of correct type for
68056         result of __follow_path call.
68058 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68060         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68061         of math functions ceil, trunc, floor, round, and sqrt, when
68062         avaliable on the platform.
68063         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68064         name clash.
68065         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68066         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68067         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68069 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68071         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68072         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68074 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68076         * include/unistd.h: Fix __readlink return type.
68077         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68079 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68081         * stdlib/ucontext.h: Undo last change for makecontext.
68083 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68085         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68087         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68088         * setjmp/setjmp.h: Mark functions as non-leaf.
68089         * setjmp/bits/setjmp2.h: Likewise.
68090         * stdlib/ucontext.h: Likewise.
68092 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68094         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68095         (reused_arena): Don't check arena limit.
68096         (arena_get2): Atomically check arena limit.
68098 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68100         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68101         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68103         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68104         instructions.
68106 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68108         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68109         handler when locking.
68111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68112         Fix size of allocated buffer.
68114 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68116         [BZ #10103]
68117         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68118         declarations for long double functions.
68119         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68121         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68123 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68125         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68126         installed.
68128         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68129         is disabled.
68131 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68133         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68135 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68137         * include/alloca.h (stackinfo_alloca_round): Define.
68138         (extend_alloca): Use it.
68139         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68140         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68141         here.
68143         * scripts/check-local-headers.sh: Ignore libaudit.h.
68145         * nscd/Makefile (extra-objs): Make recursively expanded.
68147 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68149         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68150         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68152         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68153         * posix/tst-rfc3484-2.c: Likewise.
68154         * posix/tst-rfc3484-3.c: Likewise.
68156         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68157         process_vm_writev.
68158         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68159         process_vm_writev.
68160         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68161         process_vm_writev from libc using GLIBC_2.15 version.
68163         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68165 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68167         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68168         stack usage.
68170 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68172         [BZ #13367]
68173         * nss/getent.c (initgroups_keys): Show error message in case no group
68174         names are given.
68176         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68177         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68178         __bump_nl_timestamp.
68179         * nscd/connections (nscd_init): When host database is served open
68180         netlink socket and request notification about configuration changes.
68181         (main_loop_poll): Track netlink file descriptor and bump timestamp
68182         in case data becomes available.
68183         (main_loop_epoll): Likewise.
68184         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68185         (database_pers_head): Add extra_data fileds.
68186         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68187         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68188         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68189         Adjust caller.
68190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68191         in6ai data, call __free_in6ai.
68192         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68193         Add -DHAVE_NETLINK.
68194         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68195         interface information.  Reuse previous data if netlink timestamp
68196         is not changed.
68197         (__bump_nl_timestamp): New function.
68198         (__free_in6ai): New function.
68200 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68202         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68203         close_not_cancel_no_status here.
68204         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68206 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68208         [BZ #13276]
68209         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68210         return value.
68212         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68213         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68214         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68216 2011-07-03  Andreas Jaeger  <aj@suse.de>
68218         [BZ #10709]
68219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68220         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68221         * math/libm-test.inc (sin_test): Add test case.
68223 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68225         [BZ #13337]
68226         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68227         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68229         * elf/chroot_canon.c (chroot_canon): Cleanups.
68231         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68233         [BZ #13335]
68234         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68235         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68237         * string/test-strchr.c: Make usable for strchrnul testing.
68238         * string/test-strchrnul.c: New file.
68239         * string/Makefile (strop-tests): Add strchrnul.
68241         * po/it.po: Update from translation team.
68242         * po/es.po: Likewise.
68244 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68246         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68247         the three constants needed as parameters.  Drop the others.
68248         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68249         __m128i_strloadu_tolower.
68250         Create and initialize variable zero and use it in all the places
68251         where _mm_setzero_si128 was used.
68253         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68254         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68255         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68256         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68257         anymore.
68258         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68259         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68260         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68261         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68262         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68263         __mpranred, __mptan.
68264         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68265         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68266         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68267         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68268         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68269         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68270         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68271         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68272         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68274 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68276         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68277         redefine if SHARED.
68278         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68281         wide char related routines to wcsmbs subdir.
68283 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68285         [BZ #13344]
68286         * misc/sys/cdefs.h (__THROWNL): Define.
68287         * posix/unistd.h: Use __THREADNL instead of __THREAD
68288         for memory synchronization functions.
68290 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68292         [BZ #13349]
68293         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68294         doesn't exist.
68295         * manual/stdio.texi (Obstack Streams): Node removed.
68297 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68299         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68300         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68301         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68303         * math/math_private.h (math_force_eval): Allow non-addressable
68304         arguments.
68305         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68307 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68309         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68310         file is not needed.
68312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68319         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68320         Add AVX variants.
68321         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68322         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68323         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68324         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
68325         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
68326         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
68327         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
68328         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
68329         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
68330         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
68331         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
68332         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
68333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
68334         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
68335         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
68336         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
68337         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
68338         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
68339         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
68341         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
68342         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
68344         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
68345         place.  Use VEX encoding when compiling for AVX.
68347 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68349         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
68350         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
68352         * string/test-strchr.c (do_test): Don't generate NUL bytes.
68354 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68356         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
68357         useless if() expression.
68358         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68359         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68360         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68362         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68363         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68364         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68365         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68367         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68369         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68370         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68371         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68372         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68373         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68375         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68376         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68378         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
68380 2011-10-25  Andreas Schwab  <schwab@redhat.com>
68382         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
68383         condition.
68384         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68386 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68388         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
68389         .text section.  Avoid duplicate constants.
68390         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68398         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
68399         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
68400         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
68402         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
68403         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
68404         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
68405         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
68406         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
68407         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
68408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68413         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
68414         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
68415         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
68416         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
68417         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
68418         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
68419         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
68420         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
68421         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
68422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68423         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
68424         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
68425         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
68426         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
68427         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
68428         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
68429         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
68430         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
68431         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
68432         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
68433         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
68434         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
68436 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
68438         * sysdeps/x86_64/dla.h: Move to ...
68439         * sysdeps/x86_64/fpu/dla.h: ...here.
68440         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
68441         situations.  Use __builtin_fma only for gcc 4.6 and up.
68443         * config.make.in: Add have-mfma4 entry.
68444         * configure.in: Substitute libc_cv_cc_fma4.
68445         * math/Makefile (dbl-only-routines): Add sincostab.
68446         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
68447         Use __sincostab not sincos.
68448         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
68449         name is a macro.
68450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68453         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
68454         using __copysign.
68455         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
68456         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
68457         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
68458         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
68459         and __inv.
68460         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
68461         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
68462         __copysign.
68463         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
68464         define aliases when function name is a macro.
68465         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
68466         sysdeps/ieee754/dbl-64/sincos.tbl.
68467         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
68468         fma4-enabled routines.
68469         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
68470         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
68471         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
68472         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
68473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
68474         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
68475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
68476         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
68477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
68478         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
68479         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
68480         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
68481         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
68482         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
68483         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
68484         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
68485         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
68486         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
68487         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
68488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
68489         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
68490         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
68491         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
68492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
68493         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
68494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
68495         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
68496         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
68497         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
68498         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
68500         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
68501         rename.
68502         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68511 2011-10-24  Andreas Schwab  <schwab@redhat.com>
68513         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
68515 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
68519         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
68520         prediction.
68521         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
68523         * string/strnlen.c: Don't define STRNLEN, reverse logic.
68524         Remove unused variable magic_bits.
68525         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
68527         * string/strnlen.c: Define and use STRNLEN macro.
68528         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
68529         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
68530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
68531         * wcsmbs/wcslen.c: Define and use WCSLEN.
68532         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
68533         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
68534         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
68535         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
68536         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
68537         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
68538         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68540 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68543         strnlen-sse2-no-bsf.
68544         Rename strlen-no-bsf to strlen-sse2-no-bsf.
68545         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
68546         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
68547         Add strnlen support.
68548         (USE_AS_STRNLEN): New macro.
68549         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
68550         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
68551         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
68552         * sysdeps/x86_64/wcslen.S: New file.
68554 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
68556         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68557         XMM-moves are used for copying on small sizes.
68559 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68561         * wcsmbs/Makefile (strop-tests): Add wcschr.
68562         * wcsmbs/test-wcschr.c: New file.
68563         * string/test-strchr.c: Update.
68564         Add wcschr support.
68565         (WIDE): New macro.
68567 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68569         * wcsmbs/Makefile (strop-tests): Add wcslen.
68570         * wcsmbs/test-wcslen.c: New file.
68571         * string/test-strlen.c: Update.
68572         Add wcslen support.
68573         (WIDE): New macro.
68575 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68577         * po/it.po: Update from translation team.
68579 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68581         * sysdeps/x86_64/wcscmp.S: Update.
68582         Fix wrong comparison semantics.
68583         wcscmp shall use signed comparison not unsigned.
68584         Don't use substraction to avoid overflow bug.
68585         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
68586         * wcsmbc/wcscmp.c: Likewise.
68587         * string/test-strcmp.c: Likewise.
68588         Add new tests to check cases with negative values.
68590 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
68592         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
68593         * sysdeps/x86_64/dla.h: ...here.  New file.
68594         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
68595         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68596         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68599         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68600         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68604 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
68606         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
68607         __ynl_finite aliases.
68609 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68613         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
68614         define DLA_FMA.
68615         [DLA_FMA] (EMULV): Use DLA_FMA.
68616         [DLA_FMA] (MUL12): Use EMULV.
68617         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
68618         that are not needed.
68619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68624         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68627 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
68629         * math/s_nan.c: Undef __nan.
68630         * math/s_nanf.c: Undef __nanf.
68631         * math/s_nanl.c: Undef __nanl.
68632         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
68633         "math_private.h".
68635 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
68637         * math/s_catan.c: Add branch predictions.
68638         * math/s_catanf.c: Likewise.
68639         * math/s_catanh.c: Likewise.
68640         * math/s_catanhf.c: Likewise.
68641         * math/s_catanhl.c: Likewise.
68642         * math/s_catanl.c: Likewise.
68643         * math/s_cexp.c: Likewise.
68644         * math/s_cexpf.c: Likewise.
68645         * math/s_cexpl.c: Likewise.
68646         * math/s_clog.c: Likewise.
68647         * math/s_clog10.c: Likewise.
68648         * math/s_clog10f.c: Likewise.
68649         * math/s_clog10l.c: Likewise.
68650         * math/s_clogf.c: Likewise.
68651         * math/s_clogl.c: Likewise.
68652         * math/s_csqrt.c: Likewise.
68653         * math/s_csqrtf.c: Likewise.
68654         * math/s_csqrtl.c: Likewise.
68655         * math/s_ctanf.c: Likewise.
68656         * math/s_ctanh.c: Likewise.
68657         * math/s_ctanhf.c: Likewise.
68658         * math/s_ctanhl.c: Likewise.
68659         * math/s_ctanl.c: Likewise.
68661         * math/math_private.h: Define __nan, __nanf, __nanl.
68662         * math/s_cacosh.c: Include <math_private.h>.
68663         * math/s_cacoshl.c: Likewise.
68664         * math/s_casinh.c: Likewise.
68665         * math/s_casinhf.c: Likewise.
68666         * math/s_casinhl.c: Likewise.
68667         * math/s_ccos.c: Rely entire on ccosh.
68668         * math/s_ccosf.c: Rely entire on ccoshf.
68669         * math/s_ccosl.c: Rely entirely on ccoshl.
68670         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
68671         Remove tests for FE_INVALID.
68672         * math/s_ccoshf.c: Likewise.
68673         * math/s_ccoshl.c: Likewise.
68674         * math/s_csin.c: Likewise.
68675         * math/s_csinf.c: Likewise.
68676         * math/s_csinh.c Likewise.
68677         * math/s_csinhf.c: Likewise.
68678         * math/s_csinhl.c: Likewise.
68679         * math/s_csinl.c: Likewise.
68680         * math/s_ctan.c: Likewise.
68681         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
68682         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
68683         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
68685 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
68687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
68688         compilation problems.
68690         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
68691         __builtin_expect.
68693 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
68695         * sysdeps/i386/configure.in: Test for -mfma4 option.
68696         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
68697         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
68698         COMMON_CPUID_INDEX_80000001.
68699         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
68700         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
68701         use it if FMA3 is not supported.
68702         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
68704         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
68705         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68707 2011-10-20  Andreas Schwab  <schwab@redhat.com>
68709         [BZ #12892]
68710         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
68711         it would create a cycle with a link time dependency.
68713 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
68715         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
68716         instruction.
68717         * string/Makefile (strop-tests): Add rawmemchr.
68718         * string/test-rawmemchr.c: New file.
68720         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
68721         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
68722         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
68723         when compiling str{,n}casecmp and when AVX is available.  Hook up
68724         new optimized code in initializers.
68726 2011-10-19  Andreas Schwab  <schwab@redhat.com>
68728         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
68729         __feraiseexcept instead of feraiseexcept.
68731 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
68733         * math/math_private.h: Define defaults for libc_fetestexcept and
68734         libc_feupdateenv.
68735         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
68736         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
68737         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68738         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68739         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68740         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68741         libc_fetestexcept and libc_feupdateenv.
68743         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
68744         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
68745         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
68746         * sysdeps/x86_64/fpu/math_private.h: Define special version of
68747         libc_feholdexcept_setround.
68749         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
68750         Add s_nearbyint-c and s_nearbyintf-c.
68751         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
68752         nearbyintf inlines.
68753         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
68754         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
68755         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
68756         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
68758         * math/math_private.h: Define defaults for libc_fegetround,
68759         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
68760         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
68761         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
68762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
68763         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
68764         standard functions.
68765         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68766         Remove comments and hacks for old compiler versions.
68767         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
68768         libc_fegetround, libc_fesetround, libc_feholdexcept, and
68769         libc_feholdexceptl.
68771 2011-10-18  Andreas Schwab  <schwab@redhat.com>
68773         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
68774         (__feraiseexcept_renamed): Add __NTH.
68775         (feraiseexcept): Add __NTH.  Rename local variables to fix
68776         namespace violations.
68778 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
68780         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
68782         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
68784         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
68785         recently added interfaces.
68786         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
68788         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
68789         about macro parameter expansion.
68791         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
68792         __NO_MATH_INLINES is defined.  Cleanups.
68794         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
68795         and __floorf is target has SSE4.1.
68796         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
68797         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
68798         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
68799         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
68801         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
68802         name.
68803         (floorf): Likewise.
68805         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
68807 2011-10-17  Andreas Schwab  <schwab@redhat.com>
68809         * misc/sys/cdefs.h: Fix last change.
68811         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
68812         database lookup.
68814 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
68816         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
68818         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
68819         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68820         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68822         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68823         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68824         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68826         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68827         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
68828         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
68829         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
68830         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
68831         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
68832         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
68833         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
68834         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
68835         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
68836         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
68837         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
68838         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
68839         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
68841         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
68842         ceil, ceilf, floor, floorf.
68844         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
68845         Perform IRELATIVE relocations last.
68847         * elf/do-rel.h: Add another parameter nrelative, replacing the
68848         local variable with the same name.  Change name of the function
68849         to end in Rel or Rela (uppercase).
68850         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
68851         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
68852         elf_dynamic_do_##reloc function.
68854 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68856         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68857         is sufficient, at least on modern CPUs.
68859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68861         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68862         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68864         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68865         __expl_finite.
68866         * math/bits/math-finite.h: Add entries for exp.
68867         * math/e_expl.c: Add __*_finite alias.
68868         * sysdeps/i386/fpu/e_exp.S: Likewise.
68869         * sysdeps/i386/fpu/e_expf.S: Likewise.
68870         * sysdeps/i386/fpu/e_expl.c: Likewise.
68871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68872         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68875         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68876         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68877         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68879         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68880         is sufficient, at least on modern CPUs.
68882         * ctype/ctype-info.c (__ctype_init): Define.
68883         * include/ctype.h (__ctype_init): Declare.
68884         (__ctype_b_loc): The variable is always initialized.
68885         (__ctype_toupper_loc): Likewise.
68886         (__ctype_tolower_loc): Likewise.
68887         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68888         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68890 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68892         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68894         * configure.in: Also look in $cxxmachine/include for C++ system
68895         headers.
68897 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68899         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68900         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68901         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68902         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68903         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68904         (USE_AS_WMEMCMP): New macro.
68905         Fixing indents.
68906         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68907         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68908         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68909         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68911         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68912         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68913         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68914         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68915         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68917         (USE_AS_WMEMCMP): New macro.
68918         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68919         * sysdeps/string/test-memcmp.c: Update.
68920         Fix simple_wmemcmp.
68921         Add new tests.
68922         * wcsmbs/wmemcmp.c: Update.
68923         (WMEMCMP): New macro.
68924         Fix overflow bug.
68926 2011-10-12  Andreas Jaeger  <aj@suse.de>
68928         [BZ #13268]
68929         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68931 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68933         * libio/iofwide.c (do_length): Avoid warning.
68935         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68937 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68939         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68941         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68942         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68943         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68944         * sysdeps/i386/i686/fpu/e_log.S: New file.
68945         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68946         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68948         * ctype/ctype.h: Add support for inlined isXXX functions when
68949         compiling C++ code.
68951 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68953         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68955         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68957 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68959         [BZ #13291]
68960         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68962 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68964         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68965         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68966         feraiseexcept.
68968         * sysdeps/x86_64/memrchr.S: Check for zero size.
68970         * string/stratcliff.c: Add memrchr tests.
68972 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68975         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68976         rawmemchr-sse2 rawmemchr-sse2-bsf.
68977         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68978         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68979         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68980         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68981         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68982         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68983         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68984         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68985         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68986         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68987         * string/memrchr.c (MEMRCHR): New macro.
68989 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68991         Add integration with gcc's -ffinite-math-only and optimize wrapper
68992         functions in libm.
68993         * Versions.def: Define GLIBC_2.15 version for libm.
68994         * math/Makefile (headers): Add bits/math-finite.h.
68995         * math/bits/math-finite.h: New file.
68996         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68997         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68998         * math/e_acoshl.c: Add __*_finite alias.
68999         * math/e_acosl.c: Likewise.
69000         * math/e_asinl.c: Likewise.
69001         * math/e_atan2l.c: Likewise.
69002         * math/e_atanhl.c: Likewise.
69003         * math/e_coshl.c: Likewise.
69004         * math/e_exp10.c: Likewise.
69005         * math/e_exp10f.c: Likewise.
69006         * math/e_exp10l.c: Likewise.
69007         * math/e_exp2l.c: Likewise.
69008         * math/e_fmodl.c: Likewise.
69009         * math/e_gammal_r.c: Likewise.
69010         * math/e_hypotl.c: Likewise.
69011         * math/e_j0l.c: Likewise.
69012         * math/e_j1l.c: Likewise.
69013         * math/e_jnl.c: Likewise.
69014         * math/e_lgammal_r.c: Likewise.
69015         * math/e_log10l.c: Likewise.
69016         * math/e_log2l.c: Likewise.
69017         * math/e_logl.c: Likewise.
69018         * math/e_powl.c: Likewise.
69019         * math/e_sinhl.c: Likewise.
69020         * math/e_sqrtl.c: Likewise.
69021         * math/e_scalb.c: Completely rewritten and optimized.
69022         * math/e_scalbf.c: Likewise.
69023         * math/e_scalbl.c: Likewise.
69024         * math/w_acos.c: Likewise.
69025         * math/w_acosf.c: Likewise.
69026         * math/w_acosl.c: Likewise.
69027         * math/w_acosh.c: Likewise.
69028         * math/w_acoshf.c: Likewise.
69029         * math/w_acoshl.c: Likewise.
69030         * math/w_asin.c: Likewise.
69031         * math/w_asinf.c: Likewise.
69032         * math/w_asinl.c: Likewise.
69033         * math/w_atan2.c: Likewise.
69034         * math/w_atan2f.c: Likewise.
69035         * math/w_atan2l.c: Likewise.
69036         * math/w_atanh.c: Likewise.
69037         * math/w_atanhf.c: Likewise.
69038         * math/w_atanhl.c: Likewise.
69039         * math/w_exp10.c: Likewise.
69040         * math/w_exp10f.c: Likewise.
69041         * math/w_exp10l.c: Likewise.
69042         * math/w_fmod.c: Likewise.
69043         * math/w_fmodf.c: Likewise.
69044         * math/w_fmodl.c: Likewise.
69045         * math/w_j0.c: Likewise.
69046         * math/w_j0f.c: Likewise.
69047         * math/w_j0l.c: Likewise.
69048         * math/w_j1.c: Likewise.
69049         * math/w_j1f.c: Likewise.
69050         * math/w_j1l.c: Likewise.
69051         * math/w_jn.c: Likewise.
69052         * math/w_jnf.c: Likewise.
69053         * math/w_log.c: Likewise.
69054         * math/w_logf.c: Likewise.
69055         * math/w_logl.c: Likewise.
69056         * math/w_log10.c: Likewise.
69057         * math/w_log10f.c: Likewise.
69058         * math/w_log10l.c: Likewise.
69059         * math/w_log2.c: Likewise.
69060         * math/w_log2f.c: Likewise.
69061         * math/w_log2l.c: Likewise.
69062         * math/w_pow.c: Likewise.
69063         * math/w_powf.c: Likewise.
69064         * math/w_powl.c: Likewise.
69065         * math/w_remainder.c: Likewise.
69066         * math/w_remainderf.c: Likewise.
69067         * math/w_remainderl.c: Likewise.
69068         * math/w_scalb.c: Likewise.
69069         * math/w_scalbf.c: Likewise.
69070         * math/w_scalbl.c: Likewise.
69071         * math/w_sqrt.c: Likewise.
69072         * math/w_sqrtf.c: Likewise.
69073         * math/w_sqrtl.c: Likewise.
69074         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69075         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69076         used.
69077         * math/math_private.h: Declare __kernel_standard_f.
69078         * math/w_cosh.c: Remove cruft and optimize a bit.
69079         * math/w_coshf.c: Likewise.
69080         * math/w_coshl.c: Likewise.
69081         * math/w_exp2.c: Likewise.
69082         * math/w_exp2f.c: Likewise.
69083         * math/w_exp2l.c: Likewise.
69084         * math/w_hypot.c: Likewise.
69085         * math/w_hypotf.c: Likewise.
69086         * math/w_hypotl.c: Likewise.
69087         * math/w_lgamma.c: Likewise.
69088         * math/w_lgamma_r.c: Likewise.
69089         * math/w_lgammaf.c: Likewise.
69090         * math/w_lgammaf_r.c: Likewise.
69091         * math/w_lgammal.c: Likewise.
69092         * math/w_lgammal_r.c: Likewise.
69093         * math/w_sinh.c: Likewise.
69094         * math/w_sinhf.c: Likewise.
69095         * math/w_sinhl.c: Likewise.
69096         * math/w_tgamma.c: Likewise.
69097         * math/w_tgammaf.c: Likewise.
69098         * math/w_tgammal.c: Likewise.
69099         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69100         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69101         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69102         Minor optimizations.  Pretty printing.  Remove cruft.
69103         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69104         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69105         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69106         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69107         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69108         * sysdeps/i386/fpu/e_asin.S: Likewise.
69109         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69110         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69111         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69112         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69113         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69114         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69115         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69116         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69117         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69118         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69119         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69120         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69121         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69122         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69123         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69124         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69125         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69126         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69127         * sysdeps/i386/fpu/e_log.S: Likewise.
69128         * sysdeps/i386/fpu/e_log10.S: Likewise.
69129         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69130         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69131         * sysdeps/i386/fpu/e_log2.S: Likewise.
69132         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69133         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69134         * sysdeps/i386/fpu/e_logf.S: Likewise.
69135         * sysdeps/i386/fpu/e_logl.S: Likewise.
69136         * sysdeps/i386/fpu/e_pow.S: Likewise.
69137         * sysdeps/i386/fpu/e_powf.S: Likewise.
69138         * sysdeps/i386/fpu/e_powl.S: Likewise.
69139         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69140         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69141         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69142         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69143         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69144         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69145         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69146         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69147         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69148         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69149         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69151         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69152         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69153         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69154         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69155         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69156         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69158         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69159         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69161         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69162         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69165         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69168         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69169         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69170         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69171         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69172         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69173         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69174         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69175         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69176         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69177         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69179         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69181         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69182         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69183         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69184         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69185         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69186         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69187         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69188         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69189         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69190         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69191         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69192         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69193         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69194         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69195         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69196         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69197         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69198         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69199         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69200         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69201         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69203         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69204         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69205         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69206         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69207         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69208         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69209         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69211         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69212         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69213         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69214         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69216         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69218         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69220         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69221         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69222         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69223         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69225         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69226         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69227         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69229         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69230         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69231         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69232         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69233         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69235         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69236         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69237         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69238         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69239         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69240         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69241         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69242         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69243         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69244         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69245         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69246         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69247         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69248         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69249         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69250         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69251         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69253         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69254         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69255         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69256         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69257         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69258         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69259         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69260         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69261         (__isnanf): Likewise.
69262         (__isinf_ns): Likewise.
69263         (__isinf_nsf): Likewise.
69264         (__finite): Likewise.
69265         (__finitef): Likewise.
69266         (__ieee754_sqrt): Define as macro.
69267         (__ieee754_sqrtf): Define as macro.
69268         (__ieee754_sqrtl): Define as macro.
69269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69270         inlined copy.
69271         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69272         __FINITE_MATH_ONLY__ consistent.
69273         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69275 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69277         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69278         of rawmemchr.
69280         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69282 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69284         * po/ja.po: Update from translation team.
69286 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69288         * locale/programs/locarchive.c (prepare_address_space): New function.
69289         (create_archive, enlarge_archive, open_archive): Use it.
69291         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69292         inside [SHARED], where it is used.
69294         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69296         * nss/getent.c (netgroup_keys): Remove unused variable.
69297         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69299 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69301         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69302         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69304         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69305         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69306         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69307         * math/Makefile (libm-calls): Add s_isinf_ns.
69308         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69309         * math/multc3.c: Likewise.
69310         * math/s_casin.c: Likewise.
69311         * math/s_casinf.c: Likewise.
69312         * math/s_casinl.c: Likewise.
69313         * math/s_ccos.c: Likewise.
69314         * math/s_ccosf.c: Likewise.
69315         * math/s_ccosl.c: Likewise.
69316         * math/s_ctan.c: Likewise.
69317         * math/s_ctanf.c: Likewise.
69318         * math/s_ctanh.c: Likewise.
69319         * math/s_ctanhf.c: Likewise.
69320         * math/s_ctanhl.c: Likewise.
69321         * math/s_ctanl.c: Likewise.
69322         * math/w_fmod.c: Likewise.
69323         * math/w_fmodf.c: Likewise.
69324         * math/w_fmodl.c: Likewise.
69325         * math/w_remainder.c: Likewise.
69326         * math/w_remainderf.c: Likewise.
69327         * math/w_remainderl.c: Likewise.
69328         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
69329         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
69330         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
69331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
69332         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
69333         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
69334         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
69335         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
69337         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
69338         of the number.
69339         * stdio-common/printf_fphex.c: Likewise.
69340         * stdio-common/printf_size.c: Likewise.
69342         * math/e_exp10.c: Include math_private.h using <...> not "...".
69343         * math/e_exp10f.c: Likewise.
69344         * math/e_exp10l.c: Likewise.
69345         * math/e_exp2l.c: Likewise.
69346         * math/e_j0l.c: Likewise.
69347         * math/e_j1l.c: Likewise.
69348         * math/e_jnl.c: Likewise.
69349         * math/e_lgammal_r.c: Likewise.
69350         * math/e_rem_pio2l.c: Likewise.
69351         * math/e_scalb.c: Likewise.
69352         * math/e_scalbf.c: Likewise.
69353         * math/e_scalbl.c: Likewise.
69354         * math/k_cosl.c: Likewise.
69355         * math/k_sinl.c: Likewise.
69356         * math/k_tanl.c: Likewise.
69357         * math/s_cacoshf.c: Likewise.
69358         * math/s_catan.c: Likewise.
69359         * math/s_catanf.c: Likewise.
69360         * math/s_catanh.c: Likewise.
69361         * math/s_catanhf.c: Likewise.
69362         * math/s_catanhl.c: Likewise.
69363         * math/s_catanl.c: Likewise.
69364         * math/s_ccosh.c: Likewise.
69365         * math/s_ccoshf.c: Likewise.
69366         * math/s_ccoshl.c: Likewise.
69367         * math/s_cexp.c: Likewise.
69368         * math/s_cexpf.c: Likewise.
69369         * math/s_cexpl.c: Likewise.
69370         * math/s_clog.c: Likewise.
69371         * math/s_clog10.c: Likewise.
69372         * math/s_clog10f.c: Likewise.
69373         * math/s_clog10l.c: Likewise.
69374         * math/s_clogf.c: Likewise.
69375         * math/s_clogl.c: Likewise.
69376         * math/s_csin.c: Likewise.
69377         * math/s_csinf.c: Likewise.
69378         * math/s_csinh.c: Likewise.
69379         * math/s_csinhf.c: Likewise.
69380         * math/s_csinhl.c: Likewise.
69381         * math/s_csinl.c: Likewise.
69382         * math/s_csqrt.c: Likewise.
69383         * math/s_csqrtf.c: Likewise.
69384         * math/s_csqrtl.c: Likewise.
69385         * math/s_ctan.c: Likewise.
69386         * math/s_ctanf.c: Likewise.
69387         * math/s_ctanh.c: Likewise.
69388         * math/s_ctanhf.c: Likewise.
69389         * math/s_ctanhl.c: Likewise.
69390         * math/s_ctanl.c: Likewise.
69391         * math/s_ldexp.c: Likewise.
69392         * math/s_ldexpf.c: Likewise.
69393         * math/s_ldexpl.c: Likewise.
69394         * math/s_significand.c: Likewise.
69395         * math/s_significandf.c: Likewise.
69396         * math/s_significandl.c: Likewise.
69397         * math/w_acos.c: Likewise.
69398         * math/w_acosf.c: Likewise.
69399         * math/w_acosh.c: Likewise.
69400         * math/w_acoshf.c: Likewise.
69401         * math/w_acoshl.c: Likewise.
69402         * math/w_acosl.c: Likewise.
69403         * math/w_asin.c: Likewise.
69404         * math/w_asinf.c: Likewise.
69405         * math/w_asinl.c: Likewise.
69406         * math/w_atan2.c: Likewise.
69407         * math/w_atan2f.c: Likewise.
69408         * math/w_atan2l.c: Likewise.
69409         * math/w_atanh.c: Likewise.
69410         * math/w_atanhf.c: Likewise.
69411         * math/w_atanhl.c: Likewise.
69412         * math/w_cosh.c: Likewise.
69413         * math/w_coshf.c: Likewise.
69414         * math/w_coshl.c: Likewise.
69415         * math/w_dremf.c: Likewise.
69416         * math/w_exp10.c: Likewise.
69417         * math/w_exp10f.c: Likewise.
69418         * math/w_exp10l.c: Likewise.
69419         * math/w_exp2.c: Likewise.
69420         * math/w_exp2f.c: Likewise.
69421         * math/w_fmod.c: Likewise.
69422         * math/w_fmodf.c: Likewise.
69423         * math/w_fmodl.c: Likewise.
69424         * math/w_hypot.c: Likewise.
69425         * math/w_hypotf.c: Likewise.
69426         * math/w_hypotl.c: Likewise.
69427         * math/w_j0.c: Likewise.
69428         * math/w_j0f.c: Likewise.
69429         * math/w_j0l.c: Likewise.
69430         * math/w_j1.c: Likewise.
69431         * math/w_j1f.c: Likewise.
69432         * math/w_j1l.c: Likewise.
69433         * math/w_jn.c: Likewise.
69434         * math/w_jnf.c: Likewise.
69435         * math/w_jnl.c: Likewise.
69436         * math/w_lgamma.c: Likewise.
69437         * math/w_lgamma_r.c: Likewise.
69438         * math/w_lgammaf.c: Likewise.
69439         * math/w_lgammaf_r.c: Likewise.
69440         * math/w_lgammal.c: Likewise.
69441         * math/w_lgammal_r.c: Likewise.
69442         * math/w_log.c: Likewise.
69443         * math/w_log10.c: Likewise.
69444         * math/w_log10f.c: Likewise.
69445         * math/w_log10l.c: Likewise.
69446         * math/w_log2.c: Likewise.
69447         * math/w_log2f.c: Likewise.
69448         * math/w_log2l.c: Likewise.
69449         * math/w_logf.c: Likewise.
69450         * math/w_logl.c: Likewise.
69451         * math/w_pow.c: Likewise.
69452         * math/w_powf.c: Likewise.
69453         * math/w_powl.c: Likewise.
69454         * math/w_remainder.c: Likewise.
69455         * math/w_remainderf.c: Likewise.
69456         * math/w_remainderl.c: Likewise.
69457         * math/w_scalb.c: Likewise.
69458         * math/w_scalbf.c: Likewise.
69459         * math/w_scalbl.c: Likewise.
69460         * math/w_sinh.c: Likewise.
69461         * math/w_sinhf.c: Likewise.
69462         * math/w_sinhl.c: Likewise.
69463         * math/w_sqrt.c: Likewise.
69464         * math/w_sqrtf.c: Likewise.
69465         * math/w_sqrtl.c: Likewise.
69466         * math/w_tgamma.c: Likewise.
69467         * math/w_tgammaf.c: Likewise.
69468         * math/w_tgammal.c: Likewise.
69470         * po/ja.po: Update from translation team.
69472 2011-09-29  Andreas Jaeger  <aj@suse.de>
69474         [BZ #13179]
69475         * sunrpc/netname.c (netname2host): Fix logic.
69477         [BZ #6779]
69478         [BZ #6783]
69479         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
69480         correctly.
69481         * math/w_remainder.c (__remainder): Likewise.
69482         * math/w_remainderf.c (__remainderf): Likewise.
69483         * math/libm-test.inc (remainder_test): Add test cases.
69485 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69487         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
69488         sdiv_qrnnd.
69490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69492         * string/test-memcmp.c: Avoid unncessary #defines.
69493         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69495 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69497         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
69498         Use new sse2 version for core i3 - i7 as it's faster
69499         than sse42 version.
69500         (bit_Prefer_PMINUB_for_stringop): New.
69501         * sysdeps/x86_64/rawmemchr.S: Update.
69502         Replace with faster SSE2 version.
69503         * sysdeps/x86_64/memrchr.S: New file.
69504         * sysdeps/x86_64/memchr.S: Update.
69505         Replace with faster SSE2 version.
69507 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
69509         * elf/dl-load.c (lose): Add cast to avoid warning.
69511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
69513         * po/ca.po: Update from translation team.
69515         * inet/getnetgrent_r.c: Hook up nscd.
69516         * nscd/Makefile (routines): Add nscd_netgroup.
69517         (nscd-modules): Add netgroupcache.
69518         (CFLAGS-netgroupcache.c): Define.
69519         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
69520         (cache_search): Add const to second parameter.
69521         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
69522         INNETGR.
69523         (dbs): Add netgrdb entry.
69524         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
69525         (verify_persistent_db): Handle netgrdb.
69526         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
69527         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
69528         GETFDNETGR.
69529         (netgroup_response_header): Define.
69530         (innetgroup_response_header): Define.
69531         (datahead): Add netgroup_response_header and innetgroup_response_header
69532         elements.
69533         * nscd/nscd.conf: Add entries for netgroup cache.
69534         * nscd/nscd.h (dbtype): Add netgrdb.
69535         (_PATH_NSCD_NETGROUP_DB): Define.
69536         (netgroup_iov_disabled): Declare.
69537         (xmalloc, xcalloc, xrealloc): Move declarations here.
69538         (cache_search): Adjust prototype.
69539         Add netgroup-related prototypes.
69540         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
69541         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
69542         (__nscd_innetgr): Declare.
69543         * nscd/selinux.c (perms): Use access_vector_t as element type and
69544         add netgroup-related initializers.
69545         * nscd/netgroupcache.c: New file.
69546         * nscd/nscd_netgroup.c: New file.
69547         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
69548         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
69549         For four parameters use innetgr.
69550         * nss/nss_files/files-init.c: Add definition and callback for netgr.
69551         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
69552         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
69553         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
69555         * nscd/connections.c (register_traced_file): Don't register file
69556         for disabled databases.
69558 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
69560         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
69562         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
69563         from tree and freeing node.
69565 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
69567         * nss/nsswitch.c (__nss_database_lookup): Handle
69568         nss_parse_service_list out of memory case.
69570 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
69572         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
69573         out of memory case.
69575 2011-10-04  Andreas Schwab  <schwab@redhat.com>
69577         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
69578         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
69579         pass it down.
69580         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
69581         elf_machine_rela, elf_machine_lazy_rel.
69582         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
69583         (ELF_DYNAMIC_DO_REL): Likewise.
69584         (ELF_DYNAMIC_DO_RELA): Likewise.
69585         (ELF_DYNAMIC_RELOCATE): Likewise.
69586         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
69587         to ELF_DYNAMIC_DO_REL.
69588         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
69589         (dl_main): In trace mode always set __RTLD_NOIFUNC.
69590         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
69591         elf_machine_rela.
69592         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
69593         skip_ifunc, don't call ifunc function if non-zero.
69594         (elf_machine_rela): Likewise.
69595         (elf_machine_lazy_rel): Likewise.
69596         (elf_machine_lazy_rela): Likewise.
69597         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
69598         (elf_machine_lazy_rel): Likewise.
69599         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
69600         Likewise.
69601         (elf_machine_lazy_rel): Likewise.
69602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69603         Likewise.
69604         (elf_machine_lazy_rel): Likewise.
69605         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
69606         (elf_machine_lazy_rel): Likewise.
69607         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
69608         (elf_machine_lazy_rel): Likewise.
69609         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
69610         (elf_machine_lazy_rel): Likewise.
69611         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
69612         (elf_machine_lazy_rel): Likewise.
69613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
69614         (elf_machine_lazy_rel): Likewise.
69615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
69616         (elf_machine_lazy_rel): Likewise.
69618 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
69620         * nss/nss_files/files-init.c (_nss_files_init): Use static
69621         initialization for all the *_traced_file variables.
69623 2011-09-28  Andreas Schwab  <schwab@redhat.com>
69625         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69627 2011-09-27  Roland McGrath  <roland@hack.frob.com>
69629         [BZ #13226]
69630         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
69632 2011-09-27  Andreas Schwab  <schwab@redhat.com>
69634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69635         Reread the line before reparsing it.
69637 2011-09-26  Andreas Schwab  <schwab@redhat.com>
69639         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
69641 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
69642             Maxim Kuvyrkov  <maxim@codesourcery.com>
69643             Joseph Myers  <joseph@codesourcery.com>
69645         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
69646         if needed for __stack_chk_guard.
69648 2011-09-19  Roland McGrath  <roland@hack.frob.com>
69650         * sysdeps/posix/spawni.c (script_execute): Always define it.
69651         It will be optimized away if unused.
69652         (maybe_script_execute): New function.
69653         (__spawni): Call it.
69655         * Makerules: Don't include tls.make.
69656         (config-tls): Always set to thread.
69657         * tls.make.c: File removed.
69659 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
69661         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
69662         * config.make.in (CPPFLAGS-config): New substituted variable.
69664 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69666         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
69668         [BZ #13192]
69669         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
69670         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
69672 2011-09-15  Roland McGrath  <roland@hack.frob.com>
69674         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
69675         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
69676         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69677         (CALL_FAIL): Likewise.
69678         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
69679         (CALL_FAIL): Macro removed.
69680         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
69682 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
69684         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
69685         for __FINITE_MATH_ONLY__ == 1.
69687 2011-09-15  Andreas Schwab  <schwab@redhat.com>
69689         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
69690         __ieee754_sqrt instead of sqrt.
69691         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
69692         __ieee754_sqrtf instead of sqrtf.
69693         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
69694         __floorf instead of floorf.
69695         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
69696         __floorf, __truncf instead of floorf, truncf.
69698 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
69700         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
69702         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
69703         __extern_always_inline.
69704         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
69705         32-bit.
69707 2011-09-14  Andreas Schwab  <schwab@redhat.com>
69709         * elf/rtld.c (dl_main): Also relocate in dependency order when
69710         doing symbol dependency testing.
69712 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
69714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69715         Always define `refsym'.
69717 2011-09-13  Andreas Schwab  <schwab@redhat.com>
69719         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
69720         (__FD_ELT): Renamed from __FDELT.
69721         * misc/bits/select2.h (__FD_ELT): Likewise.
69722         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
69723         __FD_MASK instead of __FDELT, __FDMASK.
69724         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69725         Likewise.
69726         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
69727         Likewise.
69729         * elf/Makefile (gen-ldd): Fix pattern.
69731         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
69732         (init_tls): Likewise.
69734 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
69736         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
69738 2011-09-12  Andreas Schwab  <schwab@redhat.com>
69740         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
69741         `struct cmsghdr *' instead of `void *'.
69742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
69743         Likewise.
69745 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
69747         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
69748         if non-absolute.
69749         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
69750         ldd_rewrite_script.
69752 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
69754         * configure.in: Remove --with-tls option.
69755         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
69756         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
69757         out in case it is missing.
69758         * sysdeps/ia64/elf/configure.in: Likewise.
69759         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
69760         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
69761         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
69762         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
69763         * sysdeps/sh/elf/configure.in: Likewise.
69764         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
69765         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69766         * sysdeps/x86_64/elf/configure.in: Likewise.
69767         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
69768         * sysdeps/mach/hurd/tls.h: Likewise.
69770         [BZ #13067]
69771         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
69773         [BZ #13090]
69774         * configure.in: Fix use of AC_INIT.
69776         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
69778 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
69780         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
69781         __set_errno.
69782         * malloc/hooks.c: Likewise.
69784         [BZ #11929]
69785         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
69786         variables statically.
69787         (narenas): Initialize.
69788         (list_lock): Initialize.
69789         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
69790         initializtion of main_arena and list_lock.  Small cleanups.
69791         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
69792         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
69793         Add initializers to main_arena and mp_.
69794         (malloc_state): Remove pagesize member.  Change all users to use
69795         GLRO(dl_pagesize).
69797         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
69798         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
69799         is always initialized.
69801         * malloc/malloc.c: Removed unused configurations and dead code.
69802         * malloc/arena.c: Likewise.
69803         * malloc/hooks.c: Likewise.
69804         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
69806         * include/tls.h: Removed.  USE___THREAD must always be defined.
69807         * bits/libc-tsd.h: Don't handle !USE___THREAD.
69808         * elf/dl-libc.c: Likewise.
69809         * elf/dl-tsd.c: Likewise.
69810         * include/errno.h: Likewise.
69811         * include/netdb.h: Likewise.
69812         * include/resolv.h: Likewise.
69813         * inet/herrno-loc.c: Likewise.
69814         * inet/herrno.c: Likewise.
69815         * malloc/arena.c: Likewise.
69816         * malloc/hooks.c: Likewise.
69817         * malloc/malloc.c: Likewise.
69818         * resolv/res-state.c: Likewise.
69819         * resolv/res_libc.c: Likewise.
69820         * sysdeps/i386/dl-machine.h: Likewise.
69821         * sysdeps/ia64/dl-machine.h: Likewise.
69822         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
69823         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69824         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
69825         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
69826         * sysdeps/sh/dl-machine.h: Likewise.
69827         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69829         * sysdeps/unix/i386/sysdep.S: Likewise.
69830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
69831         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
69832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
69833         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
69834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
69835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
69836         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
69837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
69840         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69841         * sysdeps/x86_64/dl-machine.h: Likewise.
69842         * tls.make.c: Likewise.
69844         * configure.in: Remove --with-__thread option.  Make tests for
69845         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
69846         tls_model attribute fail if no support is available.  Remove
69847         USE_IN_LIBIO.
69848         * Makeconfig: Adjust for dropped configure option.  All features are
69849         now mandatory.
69850         * Makerules: Likewise.
69851         * Versions.def: Likewise.
69852         * argp/argp-fmtstream.c: Likewise.
69853         * argp/argp-fmtstream.h: Likewise.
69854         * argp/argp-help.c: Likewise.
69855         * assert/assert.c: Likewise.
69856         * config.h.in: Likewise.
69857         * config.make.in: Likewise.
69858         * configure: Likewise.
69859         * configure.in: Likewise.
69860         * csu/Versions: Likewise.
69861         * csu/init.c: Likewise.
69862         * elf/tst-audit2.c: Likewise.
69863         * elf/tst-tls10.c: Likewise.
69864         * elf/tst-tls10.h: Likewise.
69865         * elf/tst-tls11.c: Likewise.
69866         * elf/tst-tls12.c: Likewise.
69867         * elf/tst-tls14.c: Likewise.
69868         * elf/tst-tlsmod11.c: Likewise.
69869         * elf/tst-tlsmod12.c: Likewise.
69870         * elf/tst-tlsmod13.c: Likewise.
69871         * elf/tst-tlsmod13a.c: Likewise.
69872         * elf/tst-tlsmod14a.c: Likewise.
69873         * elf/tst-tlsmod15b.c: Likewise.
69874         * elf/tst-tlsmod16a.c: Likewise.
69875         * elf/tst-tlsmod16b.c: Likewise.
69876         * elf/tst-tlsmod7.c: Likewise.
69877         * elf/tst-tlsmod8.c: Likewise.
69878         * elf/tst-tlsmod9.c: Likewise.
69879         * gmon/gmon.c: Likewise.
69880         * grp/fgetgrent_r.c: Likewise.
69881         * grp/putgrent.c: Likewise.
69882         * hurd/fopenport.c: Likewise.
69883         * include/libc-symbols.h: Likewise.
69884         * include/tls.h: Likewise.
69885         * intl/gettextP.h: Likewise.
69886         * intl/loadinfo.h: Likewise.
69887         * locale/global-locale.c: Likewise.
69888         * locale/localeinfo.h: Likewise.
69889         * mach/devstream.c: Likewise.
69890         * malloc/arena.c: Likewise.
69891         * malloc/set-freeres.c: Likewise.
69892         * misc/err.c: Likewise.
69893         * misc/getttyent.c: Likewise.
69894         * misc/mntent_r.c: Likewise.
69895         * posix/getopt.c: Likewise.
69896         * posix/wordexp.c: Likewise.
69897         * pwd/fgetpwent_r.c: Likewise.
69898         * resolv/Versions: Likewise.
69899         * resolv/res_hconf.c: Likewise.
69900         * shadow/fgetspent_r.c: Likewise.
69901         * shadow/putspent.c: Likewise.
69902         * stdio-common/printf_fphex.c: Likewise.
69903         * stdio-common/tmpfile.c: Likewise.
69904         * stdlib/abort.c: Likewise.
69905         * stdlib/fmtmsg.c: Likewise.
69906         * sunrpc/auth_unix.c: Likewise.
69907         * sunrpc/clnt_perr.c: Likewise.
69908         * sunrpc/clnt_tcp.c: Likewise.
69909         * sunrpc/clnt_udp.c: Likewise.
69910         * sunrpc/clnt_unix.c: Likewise.
69911         * sunrpc/openchild.c: Likewise.
69912         * sunrpc/svc_simple.c: Likewise.
69913         * sunrpc/svc_tcp.c: Likewise.
69914         * sunrpc/svc_udp.c: Likewise.
69915         * sunrpc/svc_unix.c: Likewise.
69916         * sunrpc/xdr.c: Likewise.
69917         * sunrpc/xdr_array.c: Likewise.
69918         * sunrpc/xdr_rec.c: Likewise.
69919         * sunrpc/xdr_ref.c: Likewise.
69920         * sunrpc/xdr_stdio.c: Likewise.
69922 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69924         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69926 2011-07-03  Andreas Jaeger  <aj@suse.de>
69928         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69929         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69930         regenerate with gen-libm-tests.pl.
69932 2010-05-12  Petr Baudis  <pasky@suse.cz>
69934         [BZ #11589]
69935         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69936         around j0() zero points by switching to j1().
69937         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69938         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69940         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69942 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69944         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69945         instead of 0.
69946         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69947         instead of 0.
69948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69949         Patch in part by Pavel Roskin <proski@gnu.org>.
69951         [BZ #13138]
69952         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69953         realloc.
69954         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69955         Free memory block if necessary.
69957         [BZ #12847]
69958         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69959         be NULL.  Don't lock in this case.
69961 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69963         * elf/elf.h (ELFOSABI_GNU): New macro.
69964         (ELFOSABI_LINUX): Define to that.
69966 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69968         * string/strncat.c (strncat): Undef the symbol in case it has been
69969         defined in bits/string.h.
69971 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69973         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69975         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69976         link map.
69978 2011-08-17  Andreas Jaeger  <aj@suse.de>
69980         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69982 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69983             Ian Lance Taylor  <iant@google.com>
69985         * math/libm-test.inc (lround_test): New testcase.
69986         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69988 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69990         * Makefile: Remove support for automatic cvs check-ins.
69991         * Makerules: Likewise.
69992         * config.make.in: Likewise.
69993         * configure.in: Likewise.
69994         * intl/Makefile: Likewise.
69995         * locale/Makefile: Likewise.
69996         * po/Makefile: Likewise.
69997         * posix/Makefile: Likewise.
69998         * sysdeps/gnu/Makefile: Likewise.
69999         * sysdeps/mach/hurd/Makefile: Likewise.
70000         * sysdeps/sparc/sparc32/Makefile: Likewise.
70002         [BZ #13118]
70003         * posix/Makefile (bug-regex32-ENV): Define.
70004         Patch by John Stanley <jpsinthemix@verizon.net>.
70006         * misc/Makefile (headers): Add bits/select2.h.
70007         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70008         * misc/bits/select2.h: New file.
70009         * include/bits/select2.h: New file.
70010         * debug/Makefile (routines): Add fdelt_chk.
70011         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70012         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70013         FD_ISSET.
70014         * debug/fdelt_chk.c: New file.
70016         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70017         * wcsmbs/test-wmemcmp.c: Likewise.
70018         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70019         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70021 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70023         * string/Makefile (strop-tests): Add memcmp.
70024         * string/test-wmemcmp.c: New file.
70025         * string/test-memcmp.c: Add wmemcmp support.
70027 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70029         [BZ #13153]
70030         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70031         2011-07-19 change.
70033         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70034         garbage value in a __mach_port_mod_refs call in the cases of the
70035         task-self and thread-self ports.
70037 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70039         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70041 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70043         * elf/dl-load.c (lose): Check for non-null L.
70045 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70047         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70049         * elf/dl-libc.c (dlerror_run): Pass back error code from
70050         dl_catch_error.
70052         [BZ #13123]
70053         * elf/dl-load.c (lose): Free l_origin if it is valid.
70055         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70056         names.
70057         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70058         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70059         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70060         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70061         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70062         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70064 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70066         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70067         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70068         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70069         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70070         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70071         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70072         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70073         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70074         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70075         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70077 2011-08-15  Alan Modra  <amodra@gmail.com>
70079         [BZ #13092]
70080         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70081         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70082         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70083         ppc_mcount to static-only-routines.
70084         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70085         __mcount_internal.
70086         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70087         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70089 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70091         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70092         for finite and infinity parameters.
70094 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70096         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70097         and add nop instructions for throughput optimization.
70098         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70100 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70103         aligned copy for power7 with vector-scalar instructions.
70104         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70106 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70108         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70109         AVX check.
70111 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70113         [BZ #13144]
70114         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70115         last change.
70117 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70119         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70120         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70121         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70123         clock_gettime.
70125 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70127         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70128         Forgot to demangle the pointer.
70130         * sysdeps/i386/sysdep.h: Define atom_text_section.
70131         * sysdeps/x86_64/sysdep.h: Likewise.
70132         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70133         section with atom_text_section.
70134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70135         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70136         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70137         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70138         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70140         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70142         already be defined.  Change to take two parameters and don't assign
70143         result to variable.  Adjust all users.
70144         Define INTERNAL_GETTIME if not already defined.
70145         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70146         call.
70147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70148         HAVE_CLOCK_GETTIME_VSYSCALL.
70149         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70151         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70152         gettimeofday vsyscall, just use time.
70154 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70157         <errno.h>.
70159 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70161         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70162         syscall on x86-64.
70163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70164         syscall.
70165         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70166         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70167         syscall if possible.
70169 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70171         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70172         e_ident.  Don't pass to find_mapsXX.
70173         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70175 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70178         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70179         * sysdeps/x86_64/multiarch/strchr.S: Update.
70180         Check bit_slow_BSF bit.
70181         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70182         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70183         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70185 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70187         [BZ #13134]
70188         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70189         before glibc 2.15.
70190         (tryshell): Define.
70191         (__spawni): Change last parameter to be flag.  Test
70192         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70193         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70194         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70195         * posix/spawni.c: Likewise.
70196         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70197         * posix/spawnp.c: Likewise.  Change normal version to use
70198         SPAWN_XFLAGS_USE_PATH.
70199         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70200         SPAWN_XFLAGS_TRY_SHELL.
70202         [BZ #13150]
70203         * posix/glob.h: Remove gcc 1.x support.
70205         [BZ #13068]
70206         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70208 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70210         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70211         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70212         strrchr-sse2-bsf
70213         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70214         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70215         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70216         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70217         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70218         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70220 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70222         * sysdeps/x86_64/wcscmp.S: New file.
70224         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70225         wcscmp-c wcscmp-sse2
70226         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70227         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70228         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70229         * wcsmbs/wcscmp.c: Allow renaming.
70231 2011-09-05  David S. Miller  <davem@davemloft.net>
70233         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70234         stack slot, rather than the struct return pointer slot.
70235         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70236         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70238         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70240 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70242         * po/ja.po: Update from translation team.
70244         [BZ #13144]
70245         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70246         kernel in 64-bit binaries.
70248 2011-09-01  David S. Miller  <davem@davemloft.net>
70250         * elf/elf.h (HWCAP_SPARC_*): Move to..
70251         * sysdeps/sparc/sysdep.h: this new file and add new values.
70252         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70253         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70254         _DL_HWCAP_COUNT to 24.
70255         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70256         entries.
70257         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70258         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70259         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70261         instead of magic constants.
70262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70264 2011-08-31  David S. Miller  <davem@davemloft.net>
70266         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70268         Reimplement to do errno handling inline.
70269         (SYSCALL_ERROR_HANDLER): New macro.
70270         (__SYSCALL_STRING): Do not do errno handling in asm.
70271         (__CLONE_SYSCALL_STRING): Delete.
70272         (__INTERNAL_SYSCALL_STRING): Delete.
70273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70274         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70275         (PSEUDO): Reimplement to do errno handling inline.
70276         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70277         (SYSCALL_ERROR_HANDLER): New macro.
70278         (__SYSCALL_STRING): Do not do errno handling in asm.
70279         (__CLONE_SYSCALL_STRING): Delete.
70280         (__INTERNAL_SYSCALL_STRING): Delete.
70281         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70282         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70283         i386.
70284         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70285         (inline_syscall*): Add 'err' argument.
70286         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70287         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70288         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70289         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70291         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70292         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70294 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70296         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70298 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70300         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70301         directive.
70303 2011-08-24  David S. Miller  <davem@davemloft.net>
70305         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70307 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70309         * elf/Makefile: Add rules to build and run unload8 test.
70310         * elf/unload8.c: New file.
70311         * elf/unload8mod1.c: New file.
70312         * elf/unload8mod1x.c: New file.
70313         * elf/unload8mod2.c: New file.
70314         * elf/unload8mod3.c: New file.
70316         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70317         it wasn't used.
70319 2011-08-23  David S. Miller  <davem@davemloft.net>
70321         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70322         subtract stack bias.
70323         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70324         %sp not %fp in calculations.
70325         (_JMPBUF_UNWINDS_ADJ): Likewise.
70327         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
70328         (aio_suspend): Call it to force an exception region around the
70329         AIO_MISC_WAIT() invocation.
70331 2011-08-23  Andreas Schwab  <schwab@redhat.com>
70333         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
70334         backslash.
70336 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
70338         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
70339         protection macro.
70340         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
70341         and <dl-machine.h>.
70342         (Elf64_FuncDesc): Remove.
70344 2011-08-22  David S. Miller  <davem@davemloft.net>
70346         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
70347         sigaltstack check, add missing cfi directives.
70348         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
70349         missing cfi directives, and sigaltstack handling.
70351 2011-08-16  Andreas Schwab  <schwab@redhat.com>
70353         [BZ #11724]
70354         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
70355         object is seen twice.
70356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70358         * elf/Makefile (distribute): Add tst-initorder2.c.
70359         (tests): Add tst-initorder2.
70360         (modules-names): Add tst-initorder2a tst-initorder2b
70361         tst-initorder2c tst-initorder2d.  Add rules to build them.
70362         ($(objpfx)tst-initorder2.out): New rule.
70363         * elf/tst-initorder2.c: New file.
70364         * elf/tst-initorder2.exp: New file.
70366 2011-08-22  Andreas Schwab  <schwab@redhat.com>
70368         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
70370         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
70371         dependencies back to end of function.
70373         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70374         $(elfobjdir)/ld.so.
70376 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
70378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
70379         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
70380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
70381         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
70382         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
70383         of __vdso_gettimeofday.
70384         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
70385         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
70386         attribute_hidden.
70387         (_libc_vdso_platform_setup): Remove initialization of
70388         __vdso_gettimeofday and __vdso_time.
70390 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70392         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
70393         and fgetc_unlocked.
70394         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
70395         getc_unlocked.
70397         * elf/dl-open.c (add_to_global): Report additions to the global scope
70398         for LD_DEBUG=scopes.
70399         (dl_open_worker): Also print scope of newly loaded dependencies.
70400         (_dl_show_scope): Indicate if there is no scope.
70402         [BZ #13114]
70403         * stdio-common/Makefile (tests): Add bug24.
70404         * stdio-common/bug24.c: New file.
70406 2011-08-19  Andreas Jaeger  <aj@suse.de>
70408         [BZ #13114]
70409         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
70410         non-existant file when using close-on-exec mode.
70412 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
70414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
70415         the very first instruction.
70417         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
70418         the CFI state in the end.
70419         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
70420         inclusion of dl-trampoline.h.
70421         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
70423 2011-08-19  Andreas Schwab  <schwab@redhat.com>
70425         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
70426         expectations for long double.
70428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
70429         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
70431 2011-08-14  David S. Miller  <davem@davemloft.net>
70433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
70434         artificual limit depends upon the system page size.
70436 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70438         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
70439         * resolv/Makefile: Define CFLAGS-libresolv.
70441 2011-08-17  Andreas Schwab  <schwab@redhat.com>
70443         * nss/makedb.c (compute_tables): Make variables used in nested
70444         function static.
70446 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
70448         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
70449         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
70450         if buffer was too small.
70452         * elf/pldd.c (main): Attach to all threads in the process.
70453         Rewrite /proc handling to use *at functions.
70455 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
70457         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
70458         specifies first scope to show.
70459         (dl_open_worker): Update callers.  Move printing scope of new
70460         object to before the relocation.
70461         * elf/rtld.c (dl_main): Update _dl_show_scope call.
70462         * sysdeps/generic/ldsodefs.h: Update declaration.
70464         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
70465         string for the scope number.
70467 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
70469         * nscd/servicescache.c (cache_addserv): Make sure written is always
70470         initialized.
70472 2011-08-14  Roland McGrath  <roland@hack.frob.com>
70474         * sysdeps/i386/i486/bits/atomic.h
70475         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
70476         statement expression, so as to suppress "set but not used" warning.
70477         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
70479         * string/strncat.c (STRNCAT): Use prototype definition.
70481         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
70482         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
70483         -Iprograms here.
70484         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
70485         (localedef-modules): Add localedef.
70486         (locale-modules): Add locale.
70488         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
70489         * elf/rtld.c (dl_main): Invert order of assignment in last change,
70490         to avoid a warning.
70492 2011-08-14  David S. Miller  <davem@davemloft.net>
70494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
70495         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
70497 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
70499         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
70500         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
70501         * elf/rtld.c (dl_main): Set l_name of vDSO.
70502         Call _dl_show_scope when DL_DEBUG_SCOPES.
70503         (process_dl_debug): Recognize scopes flag and also set it for all.
70504         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
70505         Declare _dl_show_scope.
70507         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
70508         (do_dlopen): Pass caller_dlopen to dl_open.
70509         (__libc_dlopen_mode): Initialize caller_dlopen.
70511         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
70512         of libc.  Make tolower call locale-independent.  Optimize a bit by
70513         using isdigit instead of isalnum.
70514         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
70516 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
70518         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
70519         was a dependency or dynamically loaded.
70521 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
70523         * intl/l10nflist.c: Allow architecture-specific pop function.
70524         * sysdeps/x86_64/l10nflist.c: New file.
70526         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
70527         classification.
70529 2011-08-10  Andreas Schwab  <schwab@redhat.com>
70531         * include/dirent.h: Add libc_hidden_proto for scandirat and
70532         scandirat64.  Don't declare __scandirat64.
70533         * dirent/scandirat.c: Add libc_hidden_def.
70534         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
70535         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
70537 2011-08-10  David S. Miller  <davem@davemloft.net>
70539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
70540         enum.
70541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70545 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
70547         * Versions.def [libc]: Add GLIBC_2.15.
70548         * dirent/Makefile (routines): Add scandirat and scandirat64.
70549         * dirent/Versions [libc]: Export scandirat and scandirat64 for
70550         GLIBC_2.15.
70551         * dirent/dirent.h: Declare scandirat and scandirat64.
70552         * dirent/scandirat.c: New file.
70553         * dirent/scandirat64.c: New file.
70554         * sysdeps/wordsize-64/scandirat.c: New file.
70555         * sysdeps/wordsize-64/scandirat64.c: New file.
70556         * dirent/opendir.c: Define opendirat.
70557         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
70558         using scandirat.
70559         * dirent/scandir64.c: Adjust for scandir.c change.
70560         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
70561         __scandirat64, and __scandir_cancel_handler.
70562         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
70563         additional parameter and use openat instead of open (outside of ld.so).
70564         Add new __opendir as wrapper around __opendirat.
70565         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
70566         here without requiring old scandirat implementation.
70568 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
70570         * dirent/scandir.c (cancel_handler): Renamed to
70571         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
70572         defined.  Adjust users.
70573         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
70574         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
70576 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
70578         * string/test-string.h (IMPL): Use __STRING to expand name and then
70579         stringify it.
70581         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
70582         of cleanups.
70584 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70586         * string/Makefile: Update.
70587         (strop-tests): Append strncat.
70588         * string/test-wcscmp.c: New file.
70589         New comprehensive test for wcscmp.
70590         * string/test-strcmp.c: Update.
70591         (WIDE): New define.
70593 2011-07-22  Andreas Schwab  <schwab@redhat.com>
70595         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
70596         line.
70598 2011-07-26  Andreas Schwab  <schwab@redhat.com>
70600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70601         encoding to ACE if AI_IDN.
70603 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
70605         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
70606         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
70608 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70610         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
70611         Fix overflow bug in strncat.
70612         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
70614         * string/test-strncat.c: Update.
70615         Add new tests for checking overflow bugs.
70617 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70620         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
70621         * sysdeps/i386/i686/multiarch/strcat.S: New file.
70622         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
70623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
70624         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
70625         * sysdeps/i386/i686/multiarch/strncat.S: New file.
70626         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
70627         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
70629         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
70630         (USE_AS_STRCAT): Define.
70631         Add strcat and strncat support.
70632         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70634 2011-07-25  Andreas Schwab  <schwab@redhat.com>
70636         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
70637         __n bigger than INT_MAX+1.
70638         (__strncmp_g): Likewise.
70640 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
70642         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
70643         * libio/stido.h: Likewise.
70645         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
70646         (AF_NFC): Define.
70647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
70648         (AF_NFC): Define.
70650         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
70651         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
70652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
70653         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
70654         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
70656         [BZ #13021]
70657         * scripts/test-installation.pl: Don't expect libnss_test1 to be
70658         installed.
70660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
70661         typo.
70662         (_dl_x86_64_save_sse): Likewise.
70664 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
70666         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
70667         OSXSAVE.
70668         (_dl_x86_64_save_sse): Likewise.
70670         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
70672         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
70674 2011-07-21  Andreas Schwab  <schwab@redhat.com>
70676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
70677         change.
70678         (_dl_x86_64_save_sse): Use correct AVX check.
70680 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70682         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
70683         bug in strncpy/strncat.
70684         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
70686 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
70688         * string/tester.c (test_strcat): Add tests for different alignments
70689         of source and destination.
70690         (test_strncat): Likewise.
70692 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70694         [BZ #12852]
70695         * posix/glob.c (glob): Check passed in values before using them in
70696         expressions to avoid some overflows.
70697         (glob_in_dir): Likewise.
70699         [BZ #13007]
70700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
70701         check for AVX enablement so that we don't crash with old kernels and
70702         new hardware.
70703         * elf/tst-audit4.c: Add same checks here.
70704         * elf/tst-audit6.c: Likewise.
70706         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
70708 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
70710         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
70712 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
70714         * po/cs.po: Update from translation team.
70715         * po/bg.po: Likewise.
70717 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
70719         * misc/sys/cdefs.h: Add support for const attribute.
70720         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
70721         to gnu_dev_{major,minor,makedev} functions.
70723 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
70725         * intl/dcigettext.c (get_output_charset): Add missing bracket.
70727 2011-07-20  Andreas Schwab  <schwab@redhat.com>
70729         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
70730         strlen results.
70732 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
70735         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
70736         register in order to avoid conflicts with the soft frame pointer
70737         being held in r11 when necessary.
70738         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
70739         (INTERNAL_VSYSCALL_NCS): Likewise.
70741 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
70743         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
70744         * elf/dl-fini.c (_dl_fini): Adjust caller.
70745         * elf/dl-close.c (_dl_close_worker): Likewise.
70746         * sysdeps/generic/ldsodefs.h: Adjust declaration.
70748 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70750         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
70751         "aux_cache->nlibs < 0".
70753         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
70754         in the reload-count case.
70756 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70759         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
70760         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
70761         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
70762         * sysdeps/x86_64/multiarch/strcat.S: New file.
70763         * sysdeps/x86_64/multiarch/strncat.S: New file.
70764         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
70765         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
70766         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
70767         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
70768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
70769         (USE_AS_STRCAT): Define.
70770         Add strcat and strncat support.
70771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70772         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
70773         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
70774         * string/strncat.c: Update.
70775         (USE_AS_STRNCAT): Define.
70776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70777         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
70778         and i7.
70779         * sysdeps/x86_64/multiarch/init-arch.h
70780         (bit_Prefer_PMINUB_for_stringop): New.
70781         (index_Prefer_PMINUB_for_stringop): Likewise.
70782         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
70783         bit_Prefer_PMINUB_for_stringop.
70785 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70787         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
70788         buffer64.
70789         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
70790         of casting of buffer.
70791         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
70792         buffer32 and buffer64.
70793         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
70794         writes instead of casting of buffer.
70795         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
70796         buffer32.
70797         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
70798         casting of buffer.
70800 2011-07-19  Andreas Schwab  <schwab@redhat.com>
70802         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
70804 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
70806         * nscd/nscd.c (termination_handler): Don't do anything for a database
70807         if it has not yet been initialized.
70809 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70811         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70813 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
70815         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
70817 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
70819         * po/nl.po: Update from translation team.
70820         * po/sv.po: Likewise.
70822 2011-07-16  Roland McGrath  <roland@hack.frob.com>
70824         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
70825         now disallowed by GCC.
70827         * configure.in (use-default-link): Default to yes if a test -shared
70828         link meets our qualifications.
70829         * configure: Regenerated.
70831         * config.make.in (output-format): New variable.
70832         * configure.in: Check for ld --print-output-format support.
70833         * configure: Regenerated.
70834         * Makerules ($(common-objpfx)format.lds)
70835         [$(output-format) != unknown]: Just use $(output-format),
70836         instead of the linker-script munging.
70838 2011-07-14  Roland McGrath  <roland@hack.frob.com>
70840         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
70841         of $(common-objpfx)shlib.lds.
70842         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
70844         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
70845         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
70847         * configure.in (-z relro check): Adjust test code to add a large
70848         writable data section after it.
70849         * configure: Regenerated.
70851 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70853         * configure.in (-z relro check): Fix test code to make the variable
70854         truly const.
70855         * configure: Regenerated.
70857 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70859         * nscd/nscd.h (struct traced_file): Define.
70860         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70861         elements.  Add traced_files.
70862         (inotify_fd): Declare.
70863         (register_traced_file): Declare.
70864         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70865         (inotify_fd): Export.
70866         (resolv_conf_descr): Remove.
70867         (nscd_init): Move inotify descriptor creation to main.
70868         Don't register files for notification here.
70869         (register_traced_file): New function.
70870         (invalidate_cache): Don't use reset_res to determine whether to call
70871         res_init, go through the list of registered files.
70872         (main_loop_poll): The inotify descriptors are now stored in the
70873         structures for the traced files.
70874         (main_loop_epoll): Likewise.
70875         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70876         to __nss_disable_nscd.
70877         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70878         for a database anymore.  Check the records for all the registered
70879         files instead.
70880         * nss/Makefile (libnss_files-routines): Add files-init.
70881         (libnss_db-routines): Add db-init.
70882         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70883         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70884         * nss/nss_db/db-init.c: New file.
70885         * nss/nss_files/files-init.c: New file.
70886         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70887         __nss_lookup_function.
70888         (__nss_lookup_function): Call nss_load_library.
70889         (nss_load_all_libraries): New function.
70890         (__nss_disable_nscd): Take parameter with callback function for files
70891         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70892         used for the cached services.
70893         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70894         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70895         options for features to all the files in nscd.
70897         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70899 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70901         * csu/elf-init.c (__libc_csu_init): Comment typo.
70903 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70905         * po/pl.po: Update from translation team.
70906         * po/ja.po: Likewise.
70907         * po/ru.po: Likewise.
70908         * po/ko.po: Likewise.
70909         * po/fr.po: Likewise.
70911 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70913         * configure.in (.ctors/.dtors header and trailer check):
70914         Use an empirical test on a built program.
70915         * configure: Regenerated.
70917         * configure.in (-z relro check): Use an empirical test on a built DSO.
70918         Detect, but do not require, on ia64.
70919         * configure: Regenerated.
70921         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70922         Update tests that use readelf to use $READELF instead.
70923         * configure: Regenerated.
70925 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70927         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70928         if the result is not used.
70930 2011-07-05  Andreas Jaeger  <aj@suse.de>
70932         [BZ#9696]
70933         * stdlib/tst-strtod.c: Add testcase.
70935 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70937         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70938         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70939         The latter has a higher limit.  Take additional parameter to pass to
70940         the new function.
70941         (__pathconf): Pass file to __statfs_link_max.
70942         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70943         __statfs_link_max.
70944         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70945         __statfs_link_max.
70947         [BZ #12868]
70948         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70949         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70950         Handle Lustre.
70951         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70952         (__statfs_filesize_max): Likewise.
70953         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70955 2011-07-05  Andreas Jaeger  <aj@suse.de>
70957         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70959 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70961         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70962         `status' variable.
70963         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70964         Likewise.
70966 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70968         * Makefile (strop-tests): Add strncat.
70969         * string/test-strncat.c: New file.
70971 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70973         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70975 2011-06-21  Andreas Jaeger  <aj@suse.de>
70977         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70978         Copy rule from iconvdata/Makefile.
70980 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70982         [BZ #12922]
70983         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70984         but no long options are defined, just return 'W'.
70986 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70988         [BZ #9696]
70989         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70991 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70993         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70994         netgroups to read.
70995         (innetgr): Likewise.
70997 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70999         * config.make.in (install_root): Default to $(DESTDIR).
71001 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71005 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71007         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71009         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71010         containing directory rather than embedding absolute directory names.
71012         * scripts/check-local-headers.sh: Rewritten using awk.
71013         Match by word, not by line.  Print error messages for matches.
71014         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71016         * Makerules [shlib-lds-flags empty]:
71017         ($(common-objpfx)libc_pic.opts): New target.
71018         ($(common-objpfx)libc_pic.os.clean): New target.
71019         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71021         * config.make.in (OBJCOPY): New variable.
71022         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71023         * configure: Regenerated.
71025         * config.make.in (use-default-link): New variable.
71026         * configure.in (use_default_link): Grok --with-default-link to set it.
71027         * configure: Regenerated.
71028         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71029         (shlib-lds, shlib-lds-flags): Define to empty.
71031         * Makerules (shlib-lds): New variable.
71032         (shlib-lds-flags): New variable.
71033         (build-shlib, build-moduile, build-module-asneeded): Use it.
71034         ($(common-objpfx)libc.so): Use $(shlib-lds).
71035         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71036         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71038         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71039         DT_FLAGS/DT_FLAGS_1 with zero flags.
71041         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71042         linker script munging.
71044 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71046         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71047         as 128-bit value.
71048         * crypt/sha512.c (sha512_process_block): Perform total addition using
71049         128-bit if possible.
71050         (__sha512_finish_ctx): Likewise.
71051         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71052         as 64-bit value.
71053         * crypt/sha256.c (SWAP64): Define.
71054         (sha256_process_block): Perform total addition using 64-bit if
71055         possible.
71056         (__sha256_finish_ctx): Likewise.
71058 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71060         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71062         * nscd/hstcache.c (cache_addhst): Likewise.
71063         * nscd/grpcache.c (cache_addgr): Likewise.
71064         * nscd/aicache.c (addhstaiX): Likewise.
71065         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71067 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71069         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71071         * nscd/hstcache.c (cache_addhst): Likewise.
71072         * nscd/grpcache.c (cache_addgr): Likewise.
71073         * nscd/aicache.c (addhstaiX): Likewise.
71075 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71078         domain only when needed.
71080 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71083         is always restored.
71085 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71087         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71088         are re-adding the entry.
71089         * nscd/servicescache.c (cache_addserv): Likewise.
71091 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71093         * sysdeps/generic/dl-irel.h: fix protection against multiple
71094         inclusions.
71095         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71097 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71099         [BZ #12935]
71100         * malloc/memusage.sh: Fix quoting in message.
71101         * debug/xtrace.sh: Likewise.
71103         * configure.in: Remove support for --experimental-malloc option, make
71104         it the default.
71105         * config.make.in: Likewise.
71106         * malloc/Makefile: Likewise.
71108 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71110         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71111         two-byte characters.
71113 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71115         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71116         AC_CACHE_CHECK invocation.
71117         * configure: Regenerated.
71119         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71121 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71123         [BZ #12350]
71124         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71125         bit from old_res_options.
71127         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71129         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71130         value type for setfct.
71132 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71134         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71135         __gettimeofday instead of gettimeofday.
71137 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71139         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71141 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71143         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71146         info.
71148 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71151         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71152         strcpy-sse2-unaligned strncpy-sse2-unaligned
71153         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71154         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71155         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71156         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71157         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71160         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71161         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71162         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71163         (STRCPY): Support SSE2 and SSSE3 versions.
71165 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71167         [BZ #12874]
71168         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71169         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71170         kernels which artificially limit size of requests.
71172 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71174         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71175         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71176         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71177         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71178         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71179         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71180         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71181         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71182         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71183         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71184         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71185         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71186         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71187         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71188         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71190         Enable unaligned load optimization for Intel Core i3, i5 and i7
71191         processors.
71192         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71193         Define.
71194         (index_Fast_Unaligned_Load): Define.
71195         (HAS_FAST_UNALIGNED_LOAD): Define.
71197 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71199         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71201 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71203         [BZ #12907]
71204         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71205         until it is clear that the information is realy needed.
71206         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71208 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71212 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71215         /sys/devices/system/cpu/online if it is usable.
71217         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71218         reading the information from the /proc filesystem to once a second.
71220 2011-06-21  Andreas Jaeger  <aj@suse.de>
71222         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71223         NULL after inclusion of kernel headers.
71225 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71227         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71228         calls to internal_setent.
71230         [BZ #12885]
71231         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71232         addresses using gethostbyname4_r ignore IPv4 addresses.
71234         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71235         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71237         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71239 2011-06-20  David S. Miller  <davem@davemloft.net>
71241         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71242         inclusions.
71243         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71245         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71246         (elf_irel): Use it.
71247         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71248         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71249         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71250         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71251         * sysdeps/x86_64/dl-irel.h: Likewise.
71253         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71254         * elf/dl-sym.c: Likewise.
71256 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71258         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71259         need to dereference resplen2.
71261 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71263         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71265 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71267         * Makeconfig: Define vardbdir and inst_vardbdir.
71268         * nss/Makefile: Add rules to install db-Makefile.
71270         * nss/nss_db/db-XXX.c: Cleanup.
71272         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71273         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71274         GLIBC_PRIVATE.
71275         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71276         * nss/makedb.c: Implement -g option to specify that value strings
71277         are generated and should not be added to table iterated over for
71278         get*ent calls.
71279         * nss/nss_db/db-initgroups.c: New file.
71281         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71282         interface.
71284         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71285         (internal_getgrouplist): Adjust to name change.
71286         Update use_initgroups_entry if this is not the first call.
71287         * nss/databases.def: Add initgroups entry.
71289         * nss/makedb.c (compute_tables): Check result of multiple hash table
71290         sizes to minimize maximum chain length.
71292 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71294         * Versions.def: Add entry for libnss_db.
71295         * shlib-versions: Likewise.
71296         * nss/Makefile: Add rules to build libnss_db.
71297         * nss/Versions: Add libnss_db information.  Organize libnss_files
71298         entries better.
71299         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71300         makedb progra.  Some minor improvements to generate smaller files.
71301         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71302         here from...
71303         * nss/makedb.c: ...here.
71304         Improve database format to be smaller and require less memory at
71305         runtime.
71306         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71307         db anymore.
71308         * nss/nss_db/db-netgrp.c: Likewise.
71309         * nss/nss_db/db-open.c: Likewise.
71310         * nss/nss_files/flies-XXX.x: Adjust comments.
71311         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71312         * nss/nss_files/files-grp.c: Likewise.
71313         * nss/nss_files/files-hosts.c: Likewise.
71314         * nss/nss_files/files-network.c: Likewise.
71315         * nss/nss_files/files-proto.c: Likewise.
71316         * nss/nss_files/files-pwd.c: Likewise.
71317         * nss/nss_files/files-rpc.c: Likewise.
71318         * nss/nss_files/files-service.c: Likewise.
71319         * nss/nss_files/files-sgrp.c: Likewise.
71320         * nss/nss_files/files-spwd.c: Likewise.
71321         * nss/nss_db/db-alias.c: Removed.
71322         * nss/nss_db/dummy-db.h: Removed.
71324 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
71326         * nss/makedb.c: Rewritten to not use database library.
71327         * nss/Makefile: Update to build new makedb program.
71329 2011-06-14  Andreas Jaeger  <aj@suse.de>
71331         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
71332         memset declaration.
71334 2011-06-10  Andreas Schwab  <schwab@redhat.com>
71336         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
71337         tmpbuf.
71339 2011-06-10  Roland McGrath  <roland@hack.frob.com>
71341         * Makerules (shlib.lds): Fail if the linker script comes out empty.
71342         * elf/Makefile ($(objpfx)ld.so): Likewise.
71344         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
71345         Don't list ld.so twice in dependencies.
71347         * posix/bug-regex31.c: Include <stdlib.h>.
71349         * nscd/hstcache.c (cache_addhst): Remove unused variable.
71351         * nis/nss_compat/compat-spwd.c
71352         (getspent_next_nss_netgr): Remove unused variable.
71353         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
71355         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
71356         nonmembers" output to use the right array.
71358         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
71360         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
71362         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
71363         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
71364         * catgets/gencat.c (read_input_file): Likewise.
71365         * locale/programs/locarchive.c (enlarge_archive): Likewise.
71367         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
71368         variable definition inside #if's controlling its use.
71370         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
71372         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
71374         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
71376         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
71377         unreachable code.
71379         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
71381         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
71382         * configure: Regenerated.
71384         * Makerules: Revert last change.
71385         * elf/Makefile: Likewise.
71387 2011-06-09  Roland McGrath  <roland@hack.frob.com>
71389         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
71390         * elf/Makefile ($(objpfx)librtld.os): Likewise.
71391         (reloc-link): Likewise.
71393 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
71395         * elf/Makefile: Add rules to build pldd.
71396         * elf/pldd.c: New file.
71397         * elf/pldd-xx.c: New file.
71399 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
71401         * version.h: Update for 2.15 development version.
71403 2011-06-07  David S. Miller  <davem@davemloft.net>
71405         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
71406         ifuncs.
71407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
71408         elf_machine_lazy_rel): Likewise.
71409         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
71410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
71411         elf_machine_lazy_rel): Likewise.
71412         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
71413         dl_hwcap via passed in argument.
71414         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
71415         Likewise.
71417 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71419         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
71421 2011-06-06  Roland McGrath  <roland@hack.frob.com>
71423         [BZ #12849]
71424         * manual/fdl-1.1.texi: New file, verbatim from:
71425         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
71426         * manual/lgpl-2.1.texi: New file, verbatim from:
71427         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
71428         * manual/Makefile (licenses): New variable, list those new file names.
71429         (texis): Use it.
71430         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
71432         * manual/fdl.texi: File removed.
71433         * manual/lesser.texi: File removed.
71434         * manual/libc.texinfo (Copying, Documentation License):
71435         Use new @include file names, put @appendix directive before @include.
71437 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
71439         [BZ #12841]
71440         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
71441         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
71442         (mq_open): Add __NTH.
71444 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
71446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71447         Assume Intel Core i3/i5/i7 processor if AVX is available.
71449 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71452         typo.
71454 2011-05-31  Andreas Schwab  <schwab@redhat.com>
71456         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
71457         memory.  Use alloca_account.  Fix memory leak when retrying.
71459 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
71461         * version.h (RELEASE): Bump for 2.14 release.
71462         * include/features.h (__GLIBC_MINOR__): Bump to 14.
71464         * config.make.in (RANLIB): Remove entry.
71466 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
71468         * po/Makefile (po-sed-cmd): Add ksh to extensions.
71469         (libc.pot): Work around missing support for .ksh extension in xgettext.
71471         [BZ #12684]
71472         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
71473         if both request failed.
71474         (send_dg): In case of server errors clear resplen or *resplen2.
71476         [BZ #12454]
71477         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
71478         when there are multiple maps.
71479         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
71480         (_dl_fini): Remove test here.
71482         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
71484 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
71486         [BZ #12350]
71487         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
71488         bit from old_res_options.
71489         (gaih_inet): Likewise.
71491         [BZ #11099]
71492         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
71493         as signed.
71495         * resolv/res_init.c (res_setoptions): Make the code more compact.
71497         [BZ #11558]
71498         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
71499         set RES_USEVC.
71501         [BZ #11634]
71502         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
71504         * malloc/malloc.h: Mark malloc hook variables as deprecated.
71506         [BZ #11781]
71507         * malloc/malloc.h: Declare malloc hook variables as volatile.
71509         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
71510         in last patch.
71512         [BZ #11799]
71513         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
71514         raise in the comment.
71515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71517         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
71519 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
71521         [BZ #12811]
71522         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
71523         grow the buffers more if it already has to be sufficient.
71524         (build_wcs_upper_buffer): Likewise.
71525         * posix/regexec.c (check_matching): Likewise.
71526         (clean_state_log_if_needed): Likewise.
71527         (extend_buffers): Don't enlarge buffers beyond size of the input
71528         buffer.
71529         Patches mostly by Emil Wojak <emil@wojak.eu>.
71530         * posix/bug-regex32.c: New file.
71531         * posix/Makefile (tests): Add bug-regex32.
71533         * locale/findlocale.c (_nl_find_locale): Return right away if
71534         _nl_explode_name failed.
71535         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
71537         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
71539         * debug/xtrace.sh: Unify messages.
71540         * malloc/memusage.sh: Likewise.
71542         [BZ #12813]
71543         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
71544         time symbol from vDSO.  Substitute with vsyscall if not available.
71545         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
71546         __vdso_time.
71548         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
71549         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
71550         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
71551         Add sendmmsg and internal_sendmmsg.
71552         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
71553         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
71554         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
71556         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
71557         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
71558         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
71560 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
71562         [BZ #12813]
71563         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
71564         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
71565         available.
71566         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
71567         __vdso_getcpu.
71569         [BZ #12814]
71570         * iconvdata/Makefile (tests): Add bug-iconv9.
71571         * iconvdata/bug-iconv9.c: New file.
71573 2011-05-27  Andreas Schwab  <schwab@redhat.com>
71575         [BZ #12814]
71576         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
71578 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
71580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71581         (struct user_regs_struct): Change intcs field back to cs.
71583 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
71585         * po/ja.po: Update from translation team.
71587 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
71589         [BZ #12795]
71590         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
71591         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
71593 2011-05-20  Andreas Schwab  <schwab@redhat.com>
71595         * stdlib/longlong.h: Update from GCC.
71597 2011-05-23  Andreas Schwab  <schwab@redhat.com>
71599         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
71600         parameter name.
71601         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
71602         Add parameter name.
71603         (__sysconf): Pass it down.
71605 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
71607         [BZ #12671]
71608         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
71609         some situations.
71610         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
71611         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
71612         add in in __libc_use_alloca calls.  Adjust callers.
71613         (glob): Use malloc in some situations.
71615         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
71616         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
71617         pltexit.
71619 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
71621         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
71622         and CLOCK_BOOTTIME_ALARM.
71624         [BZ #12782]
71625         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
71626         is returned.
71628         * string/_strerror.c (__strerror_r): Print negative errors as signed
71629         numbers.
71631         [BZ #12777]
71632         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
71633         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
71634         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
71636         * configure.in: Fix typo in redirection and correct removal of test
71637         files in two cases.
71639         [BZ #12788]
71640         * locale/setlocale.c (new_composite_name): Fix test to check for
71641         identical name of all categories.
71643         [BZ #12792]
71644         * libio/filedoalloc.c (local_isatty): New function.
71645         (_IO_file_doallocate): Use local_isatty.
71646         * stdio-common/perror.c (perror): In case a new stream is used
71647         forward the stream error.
71648         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
71649         error flag.
71651 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
71653         [BZ #11884]
71654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
71655         alloca.
71656         * include/alloca.h (extend_alloca_account): Define.
71658         [BZ #11857]
71659         * posix/regex.h: Fix comments with documentation of user-accessible
71660         fields after compilation and describe correct free'ing of pattern
71661         after re_compile_pattern.
71662         Patch by Reuben Thomas <rrt@sc3d.org>.
71664 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
71666         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
71667         and -mno-altivec to prevent the compiler from using Altivec and/or
71668         VSX instructions when the corresponding registers are not available.
71670 2011-05-19  Andreas Schwab  <schwab@redhat.com>
71672         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
71674 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
71676         * libio/freopen.c (freopen): Use __dup2, not dup2.
71677         * libio/freopen64.c (freopen64): Likewise.
71679 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71681         [BZ #12775]
71682         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
71683         * math/Makefile (tests): Add test-powl.
71684         (CFLAGS-test-powl.c): Define.
71685         * math/test-powl.c: New file.
71687 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71689         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
71691 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
71693         [BZ #11837]
71694         * iconvdata/gb18030.c: Update to GB18020-2005.
71696 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
71698         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
71699         RE_SYNTAX_POSIX_AWK): Update to match recent development.
71700         Patch by Aharon Robbins <arnold@skeeve.com>.
71702         [BZ #11892]
71703         * stdlib/putenv.c (putenv): Don't always create copy of the variable
71704         on the stack.
71706         [BZ #11895]
71707         * misc/pselect.c (__pselect): Handle timeout value errors hidden
71708         through underflows.
71710         [BZ #12766]
71711         * misc/error.c (error_at_line): Ensure file_name and old_file_name
71712         point to strings before performing equality test for error_one_per_line
71713         mode.
71715         [BZ #11697]
71716         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
71718         [BZ #11820]
71719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
71720         (struct user_fpregs_struct): Avoid __uint*_t types.
71722         [BZ #6420]
71723         * malloc/mtrace.c (tr_where): Add additional parameter to point to
71724         symbol info.  Use it instead of calling _dl_addr locally.
71725         (lock_and_info): New function.
71726         (tr_freehook): Call lock_and_info and pass symbol info as additional
71727         parameter to tr_where.
71728         (tr_mallochook): Likewise.
71729         (tr_reallochook): Likewise.
71730         (tr_memalignhook): Likewise.
71732         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
71733         used and couldn't be at all thread-safe.
71735 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
71737         * libio/freopen.c (freopen): Don't close old file descriptor
71738         before the new one is opened.  Instead dup the new file descriptor
71739         to the old one after the new stream is created.
71740         * libio/freopen64.c (freopen64): Likewise.
71741         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
71742         * libio/fileops.c (_IO_new_file_close_it): Handle new
71743         _IO_FLAGS2_NOCLOSE flag.
71744         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
71745         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
71746         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
71747         _IO_FLAGS2_NOCLOSE flag.
71748         * include/unistd.h: Add hidden_proto for dup3.
71749         Define __have_dup3.
71750         * io/dup3.c: Define hidden symbol.
71751         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
71753         [BZ #7101]
71754         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
71755         when an incomplete long option is used.
71756         * posix/tst-getopt_long1.c: New file.
71757         * posix/Makefile (tests): Add tst-getopt_long1.
71759         [BZ #10138]
71760         * scripts/config.guess: Update from autoconf-2.68.
71761         * scripts/config.sub: Likewise.
71763         [BZ #10157]
71764         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
71765         tests into ...
71766         (has_cpuclock): ...this.  New function.
71767         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
71768         macro here based on has_cpuclock code.
71770         [BZ #10149]
71771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71772         First byte (not low byte) is now always NUL.
71773         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
71775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71776         Use non-cancelable interfaces.
71778         [BZ #9809]
71779         * locale/iso-639.def: Add entry for Sorani.
71781         [BZ #11901]
71782         * include/stdlib.h: Move include protection to the right place.
71783         Define abort_msg_s.  Declare __abort_msg with it.
71784         * stdlib/abort.c (__abort_msg): Adjust type.
71785         * assert/assert.c (__assert_fail_base): New function.  Majority
71786         of code from __assert_fail.  Allocate memory for __abort_msg with
71787         mmap.
71788         (__assert_fail): Now call __assert_fail_base.
71789         * assert/assert-perr.c: Remove bulk of implementation.  Use
71790         __assert_fail_base.
71791         * include/assert.hL Declare __assert_fail_base.
71792         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
71793         mmap.
71794         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
71796 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
71798         [BZ #11952]
71799         [BZ #12453]
71800         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
71801         until all modules are registered in the DTV.
71802         * elf/Makefile: Add rules to build and run tst-tls19.
71803         * elf/tst-tls19.c: New file.
71804         * elf/tst-tls19mod1.c: New file.
71805         * elf/tst-tls19mod2.c: New file.
71806         * elf/tst-tls19mod3.c: New file.
71807         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
71809         [BZ #12083]
71810         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
71811         correctly.
71813         [BZ #12601]
71814         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
71815         two-byte sequence errors.
71816         * iconvdata/Makefile (tests): Add bug-iconv8.
71817         * iconvdata/bug-iconv8.c: New file.
71819         [BZ #12626]
71820         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
71821         buf2 definition.
71823         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
71825         [BZ #12432]
71826         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
71827         (dummy_getcfa): New function.
71828         (init): Get _Unwind_GetCFA address, use dummy if not found.
71829         (backtrace_helper): In recursion check, also check whether CFA changes.
71830         (__backtrace): Completely initialize arg.
71832         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
71833         storing incomplete byte sequence in state object.  Avoid testing for
71834         guaranteed too small input if we know there is enough data available.
71836 2011-05-11  Andreas Schwab  <schwab@redhat.com>
71838         * Makeconfig (+link-pie): Indent.
71839         * Rules (binaries-pie): Define if $(have-fpie) and
71840         $(build-shared).
71841         (binaries-shared): Also filter out $(binaries-pie).
71842         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
71843         * nscd/Makefile (others-pie): Add nscd.
71844         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
71845         ($(objpfx)nscd): Remove command override.
71846         * login/Makefile (others-pie): Add pt_chown.
71847         ($(objpfx)pt_chown): Remove command override.
71848         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
71849         remove command overrides.
71851 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71853         * libio/tst_putwc.c: Fix error messages.
71855         [BZ #12724]
71856         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71857         currently writing and seek to current position when not.
71858         * libio/Makefile (tests): Add bug-fclose1.
71859         * libio/bug-fclose1.c: New file.
71861 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71863         [BZ #12511]
71864         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71865         don't set DF_1_NODELETE here.
71866         (do_lookup_x): When entering new entry test for copy relocation
71867         and if necessary set DF_1_NODELETE flag.
71868         * elf/tst-unique4.cc: New file.
71869         * elf/tst-unique4.h: New file.
71870         * elf/tst-unique4lib.cc: New file.
71871         * elf/Makefile: Add rules to build and run tst-unique4.
71872         Patch by Piotr Bury <pbury@goahead.com>.
71874 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71876         [BZ #12052]
71877         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71879         [BZ #12625]
71880         * misc/mntent_r.c (addmntent): Flush the stream after the output
71882         [BZ #12393]
71883         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71884         (is_trusted_path_normalize): Skip initial colon.  Append slash
71885         to empty buffer.  Duplicate is_trusted_path code but allow
71886         constructed patch to be prefix.
71887         (is_dst): Allow $ORIGIN followed by /.
71888         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71889         Correct testing of result of is_trusted_path_normalize
71890         (decompose_rpath): Fix warning.
71892 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71894         [BZ #11257]
71895         * grp/initgroups.c (internal_getgrouplist): When we found the service
71896         list through the initgroups entry in nsswitch.conf do not always
71897         continue on a successful lookup.  Don't always use the
71898         __nss_group_database value if it is set.
71899         * nss/nsswitch.conf (initgroups): Change action for successful db
71900         lookup to continue for compatibility.
71902 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71904         [BZ #11532]
71905         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71906         and CP774 modules.
71907         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71908         and CP774 modules.
71909         * iconvdata/tst-tables.sh: Likewise.
71910         * iconvdata/cp770.c: New file.
71911         * iconvdata/cp771.c: New file.
71912         * iconvdata/cp772.c: New file.
71913         * iconvdata/cp773.c: New file.
71914         * iconvdata/cp774.c: New file.
71915         * iconvdata/testdata/CP770: New file.
71916         * iconvdata/testdata/CP770..UTF8: New file.
71917         * iconvdata/testdata/CP771: New file.
71918         * iconvdata/testdata/CP771..UTF8: New file.
71919         * iconvdata/testdata/CP772: New file.
71920         * iconvdata/testdata/CP772..UTF8: New file.
71921         * iconvdata/testdata/CP773: New file.
71922         * iconvdata/testdata/CP773..UTF8: New file.
71923         * iconvdata/testdata/CP774: New file.
71924         * iconvdata/testdata/CP774..UTF8: New file.
71926         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71927         END CHARMAP line.
71928         * iconvdata/gen-8bit-gap.sh: Likewise.
71929         * iconvdata/gen-8bit.sh: Likewise.
71931         * locale/iso-639.def: Add ary entry.
71933         [BZ #11258]
71934         * locale/C-translit.h.in: Add U20A1 transliteration.
71936         [BZ #12178]
71937         * locale/iso-639.def: Add wae entry.
71938         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71940         [BZ #12545]
71941         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71942         for n.
71944         [BZ #12711]
71945         * locale/C-translit.h.in: Add entry for U20B9.
71946         Patch by pravin.d.s@gmail.com.
71948 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71950         [BZ #12713]
71951         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71952         ENAMETOOLONG use generic getcwd.
71953         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71954         in rtld.  Use *stat64.
71955         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71956         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71957         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71958         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71959         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71960         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71961         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71962         __fstatat64 macros.
71963         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71964         * dirent/rewinddir.c: Add libc_hidden_def.
71965         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71966         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71968         * include/dirent.h (__alloc_dir): Add flags parameter.
71969         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71970         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71971         __alloc_dir.
71972         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71973         from fdopendir if O_CLOEXEC is already set.
71975 2011-03-15  Alan Modra  <amodra@gmail.com>
71977         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71978         l_tls_firstbyte_offset non-zero.  Save padding offset in
71979         l_tls_firstbyte_offset for later use.
71980         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71981         freeing static tls block.
71983 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71985         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71986         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71987         being defined by the kernel headers.
71989 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71991         [BZ #12734]
71992         * resolv/resolv.h: Define RES_NOTLDQUERY.
71993         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71994         no-tld-query and set RES_NOTLDQUERY.
71995         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71996         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71997         modern BIND to search name as TLD unless forbidden.
71999 2011-05-07  Petr Baudis  <pasky@suse.cz>
72000             Ulrich Drepper  <drepper@gmail.com>
72002         [BZ #12393]
72003         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72004         (is_trusted_path): ...to here.
72005         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72006         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72007         using is_trusted_path_normalize() in setuid scripts.
72009 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72011         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72012         __BEGIN/__END_DECLS.
72014 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72016         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72017         NSS_STATUS_NOTFOUND if no record was found.
72019 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72021         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72022         (headers-not-in-tirpc): Remove rpc/netdb.h
72023         * resolv/netdb.h: Revert last change.
72025 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72027         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72028         circular dependency between libgcc.a and libc.a.
72030 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72032         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72033         * nis/Makefile: Don't install rpcsvc/*.
72034         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72035         instead of <rpc/types.h>.
72036         (MAXHOSTNAMELEN): Define.
72038 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72040         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72042 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72044         [BZ #12714]
72045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72046         gethostbyname4_r when IPv6 results are possible.
72048 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72050         [BZ #12723]
72051         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72052         _PC_PIPE_BUF handling.
72054 2011-04-30  Bruno Haible  <bruno@clisp.org>
72056         [BZ #12717]
72057         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72058         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72059         to 'int'.
72060         * inet/getnameinfo.c (getnameinfo): Likewise.
72062 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72064         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72065         to groups setting in database lookup.
72066         * nss/nsswitch.conf: Add initgroups entry.
72068 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72070         [BZ #12685]
72071         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72072         mode string.
72073         Patch by Eric Blake <eblake@redhat.com>.
72075 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72077         * sunrpc/Makefile (need-export-routines): Add svc_run.
72078         (routines): Remove svc_run.
72079         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72080         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72081         * sunrpc/svc_run.c (svc_run): Likewise.
72082         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72084 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72086         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72087         problem in reallocation in last patch.
72089 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72091         * sunrpc/Makefile: Move inclusion of Rules.
72093 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72095         * nss/nss_files/files-initgroups.c: New file.
72096         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72097         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72098         _nss_files_initgroups_dyn.
72100 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72102         * elf/elf.h (R_ARM_IRELATIVE): Define.
72104 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72106         * po/ru.po: Update from translation team.
72108 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72110         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72111         dependencies.
72113 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72115         [BZ #12653]
72116         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72117         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72118         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72119         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72122 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72124         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72125         differing bytes.
72126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72128         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72130 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72132         [BZ #12420]
72133         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72134         storing it.
72135         * stdlib/bug-getcontext.c: New file.
72136         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72138 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72140         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72141         instructions into .machine "z9-109".
72142         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72143         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72145 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72147         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72148         between environment variables and auxiliary vector.
72150 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72152         * Makefile: Add rules to build linkobj/libc.so.
72153         * include/libc-symbols.h: Define libc_hidden_nolink.
72154         * include/rpc/auth.h: Mark functions which are to be hidden.
72155         * include/rpc/auth_des.h: Likewise.
72156         * include/rpc/auth_unix.h: Likewise.
72157         * include/rpc/clnt.h: Likewise.
72158         * include/rpc/des_crypt.h: Likewise.
72159         * include/rpc/key_prot.h: Likewise.
72160         * include/rpc/pmap_clnt.h: Likewise.
72161         * include/rpc/pmap_prot.h: Likewise.
72162         * include/rpc/pmap_rmt.h: Likewise.
72163         * include/rpc/rpc_msg.h: Likewise.
72164         * include/rpc/svc.h: Likewise.
72165         * include/rpc/svc_auth.h: Likewise.
72166         * include/rpc/xdr.h: Likewise.
72167         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72168         * nss/Makefile: Likewise.
72169         * sunrpc/Makefile: Don't install headers.  Build library with normal
72170         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72171         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72172         for the compat linking library.  Remove use of INTDEF/INTUSE.
72173         * sunrpc/auth_none.c: Likewise.
72174         * sunrpc/auth_unix.c: Likewise.
72175         * sunrpc/authdes_prot.c: Likewise.
72176         * sunrpc/authuxprot.c: Likewise.
72177         * sunrpc/clnt_gen.c: Likewise.
72178         * sunrpc/clnt_perr.c: Likewise.
72179         * sunrpc/clnt_raw.c: Likewise.
72180         * sunrpc/clnt_simp.c: Likewise.
72181         * sunrpc/clnt_tcp.c: Likewise.
72182         * sunrpc/clnt_udp.c: Likewise.
72183         * sunrpc/clnt_unix.c: Likewise.
72184         * sunrpc/des_crypt.c: Likewise.
72185         * sunrpc/des_soft.c: Likewise.
72186         * sunrpc/get_myaddr.c: Likewise.
72187         * sunrpc/key_call.c: Likewise.
72188         * sunrpc/key_prot.c: Likewise.
72189         * sunrpc/netname.c: Likewise.
72190         * sunrpc/pm_getmaps.c: Likewise.
72191         * sunrpc/pm_getport.c: Likewise.
72192         * sunrpc/pmap_clnt.c: Likewise.
72193         * sunrpc/pmap_prot.c: Likewise.
72194         * sunrpc/pmap_prot2.c: Likewise.
72195         * sunrpc/pmap_rmt.c: Likewise.
72196         * sunrpc/publickey.c: Likewise.
72197         * sunrpc/rpc_cmsg.c: Likewise.
72198         * sunrpc/rpc_common.c: Likewise.
72199         * sunrpc/rpc_dtable.c: Likewise.
72200         * sunrpc/rpc_prot.c: Likewise.
72201         * sunrpc/rpc_thread.c: Likewise.
72202         * sunrpc/rtime.c: Likewise.
72203         * sunrpc/svc.c: Likewise.
72204         * sunrpc/svc_auth.c: Likewise.
72205         * sunrpc/svc_authux.c: Likewise.
72206         * sunrpc/svc_raw.c: Likewise.
72207         * sunrpc/svc_run.c: Likewise.
72208         * sunrpc/svc_simple.c: Likewise.
72209         * sunrpc/svc_tcp.c: Likewise.
72210         * sunrpc/svc_udp.c: Likewise.
72211         * sunrpc/svc_unix.c: Likewise.
72212         * sunrpc/svcauth_des.c: Likewise.
72213         * sunrpc/xcrypt.c: Likewise.
72214         * sunrpc/xdr.c: Likewise.
72215         * sunrpc/xdr_array.c: Likewise.
72216         * sunrpc/xdr_float.c: Likewise.
72217         * sunrpc/xdr_intXX_t.c: Likewise.
72218         * sunrpc/xdr_mem.c: Likewise.
72219         * sunrpc/xdr_rec.c: Likewise.
72220         * sunrpc/xdr_ref.c: Likewise.
72221         * sunrpc/xdr_sizeof.c: Likewise.
72222         * sunrpc/xdr_stdio.c: Likewise.
72224 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72226         [BZ #12650]
72227         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72228         * sysdeps/ia64/dl-tls.h: Likewise.
72229         * sysdeps/powerpc/dl-tls.h: Likewise.
72230         * sysdeps/s390/dl-tls.h: Likewise.
72231         * sysdeps/sh/dl-tls.h: Likewise.
72232         * sysdeps/sparc/dl-tls.h: Likewise.
72233         * sysdeps/x86_64/dl-tls.h: Likewise.
72234         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72236 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72238         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72239         rpath element also skip the following colon.
72240         (expand_dynamic_string_token): Add is_path parameter and pass
72241         down to DL_DST_REQUIRED and _dl_dst_substitute.
72242         (decompose_rpath): Call expand_dynamic_string_token with
72243         non-zero is_path.  Ignore empty rpaths.
72244         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72245         with zero is_path.
72247 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72250         Make cancelable.
72252 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72254         [BZ #12655]
72255         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72256         Patch by Filipe David Manana <fdmanana@apache.org>.
72258 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72260         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72261         Maintain aligned stack.
72262         (CHECK_RSP): Remove unused macro.
72264 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72266         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72269 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72271         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72273         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72275 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72277         [BZ #12518]
72278         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72279         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72280         * sysdeps/x86_64/memmove.c: New file.
72281         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72282         (memcpy): Renamed to ...
72283         (__new_memcpy): This.
72284         (memcpy): Provide GLIBC_2_14 memcpy.
72285         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72286         (memcpy): Provide GLIBC_2_2_5 memcpy.
72288 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72290         [BZ #12631]
72291         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72293 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72295         * misc/syncfs.c: New file.
72296         * misc/Makefile (routines): Add syncfs.
72297         * posix/unistd.h: Declare syncfs.
72298         * sysdeps/unix/syscalls.list: Add syncfs.
72300 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72302         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72303         open_by_handle_at.
72304         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72305         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72307         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72309         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72312 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72316         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72317         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72318         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72322         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72323         sync_file_range.c with -fexceptions.
72324         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
72325         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
72326         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
72327         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
72328         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
72329         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
72331         sync_file_range as cancellation point
72332         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
72333         now a wrapper around __call_sync_file_range with cancellation handling.
72334         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
72335         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
72336         function name to __call_sync_file_range.
72337         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
72338         Add call_sync_file_range.
72340 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72343         bits/timex.h.
72345 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72347         * iconv/iconv.h: Fix typo in comment.
72348         * io/fcntl.h: Likewise.
72349         * libio/stdio.h: Likewise.
72350         * posix/spawn.h: Likewise.
72351         * posix/unistd.h: Likewise.
72352         * stdlib/stdlib.h: Likewise.
72353         * time/time.h: Likewise.
72354         * wcsmbs/wchar.h: Likewise.
72356         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
72357         open_by_handle): Add.
72358         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
72359         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
72360         Augment a few comments.
72361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72365         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72366         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
72367         open_by_handle.
72369         * io/fcntl.h (AT_EMPTY_PATH): Define.
72371 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
72373         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
72374         * sysdeps/unix/sysv/linux/bits/time.h: New file.
72375         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
72376         to...
72377         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
72378         * Versions.def: Add GLIBC_2.14.
72379         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
72380         Export.
72382 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
72384         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
72385         round counter.
72386         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72388 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72390         [BZ #12597]
72391         * string/test-strncmp.c (do_page_test): New function.
72392         (check2): Likewise.
72393         (test_main): Call check2.
72394         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
72396 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
72398         [BZ #12587]
72399         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
72400         Handle cache information in CPU leaf 4.
72401         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
72403 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
72405         [BZ #12583]
72406         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
72407         character representation.
72408         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
72410 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
72412         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
72413         END(__isnan) to END(__isnanf) to match function entry point/label
72414         EALIGN(__isnanf,...).
72416 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
72418         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
72420 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
72422         [BZ #12510]
72423         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
72424         copy from the symbol referenced in the relocation to initialize the
72425         used variable.
72426         Patch by Piotr Bury <pbury@goahead.com>.
72427         * elf/Makefile: Add rules to build and tst-unique3.
72428         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
72429         * elf/tst-unique3.cc: New file.
72430         * elf/tst-unique3.h: New file.
72431         * elf/tst-unique3lib.cc: New file.
72432         * elf/tst-unique3lib2.cc: New file.
72434         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
72436 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
72438         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
72439         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
72440         to _start.
72442 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
72444         * elf/dl-load.c (_dl_map_object): If we are looking for the first
72445         to-be-loaded object along a path to loader is ld.so.
72447 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72448             Ulrich Drepper  <drepper@gmail.com>
72450         * sysdeps/x86_64/memset.S: After aligning destination, code
72451         branches to different locations depending on the value of
72452         misalignment, when multiarch is enabled. Fix this.
72454 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
72456         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
72457         Set _x86_64_preferred_memory_instruction for AMD processsors.
72458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72459         Set bit_Prefer_SSE_for_memop for AMD processors.
72461 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
72463         * libio/fmemopen.c (fmemopen): Optimize a bit.
72465 2011-03-03  Andreas Schwab  <schwab@redhat.com>
72467         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
72469 2011-03-03  Roland McGrath  <roland@redhat.com>
72471         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
72473 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
72475         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
72476         __bzero_ultra1 instead of __memset_ultra1.
72478 2011-02-23  Andreas Schwab  <schwab@redhat.com>
72479             Ulrich Drepper  <drepper@gmail.com>
72481         [BZ #12509]
72482         * include/link.h (struct link_map): Add l_orig_initfini.
72483         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
72484         returning unsuccessfully.
72485         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
72486         close of a file loaded at startup, restore the original l_initfini
72487         list.
72488         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
72489         list, store the pointer.
72490         * elf/Makefile ($(objpfx)noload-mem): New rule.
72491         (noload-ENV): Define.
72492         (tests): Add $(objpfx)noload-mem.
72493         * elf/noload.c: Include <memcheck.h>.
72494         (main): Call mtrace.  Close all opened handles.
72496 2011-02-17  Andreas Schwab  <schwab@redhat.com>
72498         [BZ #12454]
72499         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
72500         dependencies are missing.
72502 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72504         Fix __if_freereq crash: Unlike the generic version which uses free,
72505         Hurd needs munmap.
72506         * sysdeps/mach/hurd/ifreq.h: New file.
72508 2011-01-27  Petr Baudis  <pasky@suse.cz>
72509             Ulrich Drepper  <drepper@gmail.com>
72511         [BZ 12445]#
72512         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
72513         to extend_alloca().
72514         * stdio-common/bug23.c: New file.
72515         * stdio-common/Makefile (tests): Add bug23.
72517 2010-09-28  Andreas Schwab  <schwab@redhat.com>
72518             Ulrich Drepper  <drepper@gmail.com>
72520         [BZ #12489]
72521         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
72522         before performing relro protection.  At old place add assertion
72523         to make sure nothing changed.
72525 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
72526             Glauber de Oliveira Costa  <glommer@gmail.com>
72528         * elf/elf.h: Add new ARM TLS relocs.
72530 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
72532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72533         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
72534         cast from r3.
72535         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
72536         'tests' variable.
72537         * sysdeps/wordsize-64/tst-writev.c: New file.
72539 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
72541         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
72542         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
72543         insns in _dl_start to prevent a TOC reference before relocs are
72544         resolved.
72546 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
72548         [BZ #12469]
72549         * Makeconfig: Remove RANLIB definition.
72550         * Makerules: Don't use RANLIB.
72551         * aclocal.m4: Remove ranlib test.
72552         * configure.in: No need to check for ranlib.
72553         * elf/rtld-Rules: Don't use RANLIB.
72555 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72557         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
72558         protection macro.
72559         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
72560         inclusion protection macro.
72562         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
72563         SIGRTMIN and SIGRTMAX and print information in that case only when
72564         SIGRTMIN is defined.
72566 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
72568         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
72569         arginfo fn returning -1.
72571         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
72572         and thousands string is zero terminated.
72574 2011-02-03  Andreas Schwab  <schwab@redhat.com>
72576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
72577         sysdeps/unix/sysv/linux/bits/socket.h.
72579 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72581         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
72582         (__CPU_COUNT): Remove old macros.
72583         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
72584         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
72585         (__CPU_ALLOC, __CPU_FREE): Add macros.
72586         (__sched_cpualloc, __sched_cpufree): Add declarations.
72588 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
72590         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
72591         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
72592         * nscd/aicache.c (addhstaiX): Return timeout of added value.
72593         (readdhstai): Return value of addhstaiX call.
72594         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
72595         (addgrbyX): Return value returned by cache_addgr.
72596         (readdgrbyname): Return value returned by addgrbyX.
72597         (readdgrbygid): Likewise.
72598         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
72599         (addpwbyX): Return value returned by cache_addpw.
72600         (readdpwbyname): Return value returned by addhstbyX.
72601         (readdpwbyuid): Likewise.
72602         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
72603         (addservbyX): Return value returned by cache_addserv.
72604         (readdservbyname): Return value returned by addservbyX:
72605         (readdservbyport): Likewise.
72606         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
72607         (addhstbyX): Return value returned by cache_addhst.
72608         (readdhstbyname): Return value returned by addhstbyX.
72609         (readdhstbyaddr): Likewise.
72610         (readdhstbynamev6): Likewise.
72611         (readdhstbyaddrv6): Likewise.
72612         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
72613         (readdinitgroups): Return value returned by addinitgroupsX.
72614         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
72615         (prune_cache): Keep track of timeout value of re-added entries.
72616         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
72617         * nscd/nscd.h: Adjust prototypes of readd* functions.
72619 2011-02-04  Roland McGrath  <roland@redhat.com>
72621         * nis/nis_server.c (nis_servstate): Use the right name for 0.
72622         (nis_stats): Likewise.
72623         * nis/nis_modify.c (nis_modify): Likewise.
72624         * nis/nis_remove.c (nis_remove): Likewise.
72625         * nis/nis_add.c (nis_add): Likewise.
72627         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
72629         * posix/fnmatch_loop.c: Add some consts.
72631         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
72633 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
72635         [BZ #12460]
72636         * config.make.in (config-cflags-novzeroupper): Define.
72637         * configure.in: Substitute libc_cv_cc_novzeroupper.
72638         * elf/Makefile (AVX-CFLAGS): Define.
72639         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
72640         (CFLAGS-tst-auditmod4a.c): Likewise.
72641         (CFLAGS-tst-auditmod4b.c): Likewise.
72642         (CFLAGS-tst-auditmod6b.c): Likewise.
72643         (CFLAGS-tst-auditmod6c.c): Likewise.
72644         (CFLAGS-tst-auditmod7b.c): Likewise.
72645         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
72647 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
72649         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
72650         function to the callback.
72651         Patch partly by Jiri Olsa <jolsa@redhat.com>.
72653 2011-02-02  Andreas Schwab  <schwab@redhat.com>
72655         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
72656         of errno.
72658 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
72660         [BZ #11724]
72661         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
72662         of constructors.
72663         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
72664         of destructors.
72665         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
72667         [BZ #11724]
72668         * elf/Makefile: Add rules to build and run new test.
72669         * elf/tst-initorder.c: New file.
72670         * elf/tst-initorder.exp: New file.
72671         * elf/tst-initordera1.c: New file.
72672         * elf/tst-initordera2.c: New file.
72673         * elf/tst-initordera3.c: New file.
72674         * elf/tst-initordera4.c: New file.
72675         * elf/tst-initorderb1.c: New file.
72676         * elf/tst-initorderb2.c: New file.
72677         * elf/tst-order-a1.c: New file.
72678         * elf/tst-order-a2.c: New file.
72679         * elf/tst-order-a3.c: New file.
72680         * elf/tst-order-a4.c: New file.
72681         * elf/tst-order-b1.c: New file.
72682         * elf/tst-order-b2.c: New file.
72683         * elf/tst-order-main.c: New file.
72684         New test case by George Gensure <werkt0@gmail.com>.
72686 2010-10-01  Andreas Schwab  <schwab@redhat.com>
72688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72689         decoding ACE if AI_CANONIDN.
72691 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
72693         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
72695 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
72697         * version.h (RELEASE): Bump for 2.13 release.
72698         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
72700         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
72702         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
72703         MADV_NOHUGEPAGE.
72704         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
72705         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
72706         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72707         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72709         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72711         * posix/getconf.c: Update copyright year.
72712         * catgets/gencat.c: Likewise.
72713         * csu/version.c: Likewise.
72714         * debug/catchsegv.sh: Likewise.
72715         * debug/xtrace.sh: Likewise.
72716         * elf/ldconfig.c: Likewise.
72717         * elf/ldd.bash.in: Likewise.
72718         * elf/sprof.c (print_version): Likewise.
72719         * iconv/iconv_prog.c: Likewise.
72720         * iconv/iconvconfig.c: Likewise.
72721         * locale/programs/locale.c: Likewise.
72722         * locale/programs/localedef.c: Likewise.
72723         * malloc/memusage.sh: Likewise.
72724         * malloc/mtrace.pl: Likewise.
72725         * nscd/nscd.c (print_version): Likewise.
72726         * nss/getent.c: Likewise.
72728         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
72729         PF_CAIF, and PF_ALG.
72730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72732 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
72734         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
72735         (modules-names): Use them.
72736         (ifunc-test-modules, ifunc-pie-tests): Define.
72737         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
72738         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
72739         (test-extras): Likewise.
72740         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
72741         $(compile-command.c).
72742         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
72743         (all-built-dso): Define.
72744         (check-textrel.out, check-execstack.out): Depend on it.
72746         * configure.in: Don't override --enable-multi-arch.
72748 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
72750         [BZ #6812]
72751         * nscd/hstcache.c (tryagain): Define.
72752         (cache_addhst): Return tryagain not notfound for temporary errors.
72753         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
72754         failed.
72756 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
72758         [BZ #10563]
72759         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
72760         to make the syscall.
72761         * sysdeps/unix/sysv/linux/setgroups.c: New file.
72763         [BZ #12378]
72764         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
72765         and fall back to matching as normal character if the string ends before
72766         the matching ']' is found.  This is what POSIX requires.
72767         * posix/testfnm.c: Adjust test result.
72768         * posix/globtest.sh: Adjust test result.  Add new test.
72769         * posix/tst-fnmatch.input: Likewise.
72770         * posix/tst-fnmatch2.c: Add new test.
72772 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
72774         * elf/Makefile (check-execstack): Revert last change.  Depend on
72775         check-execstack.h.
72776         (check-execstack.h): New target.
72777         (generated): Add check-execstack.h.
72778         * elf/check-execstack.c: Include "check-execstack.h".
72779         (main): Revert last change.
72780         (handle_file): Return zero if GNU_STACK is absent and
72781         DEFAULT_STACK_PERMS doesn't include PF_X.
72783 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
72785         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
72786         in child fails because the descriptor is already closed.
72787         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
72788         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
72789         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
72791         [BZ #12397]
72792         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
72793         syscall.
72795         [BZ #10484]
72796         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
72797         temporary buffer used to handle multi lookups locally.
72798         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
72800 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72802         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
72803         loader is ld.so.
72805 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
72807         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
72808         alignment for SSE2.
72810 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
72812         [BZ #12394]
72813         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
72814         characters.  When rounding increased number of integer digits recompute
72815         number of groups.
72816         * stdio-common/tst-grouping.c: New file.
72817         * stdio-common/Makefile: Add rules to build and run tst-grouping.
72819 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
72821         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
72822         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
72824         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
72825         void.
72826         * bits/select.h: Likewise.
72828 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
72830         * po/ja.po: Update from translation team.
72832 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
72834         [BZ #11155]
72835         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
72836         implementation just like for lxstat, fxstatat, et al.
72838 2010-12-27  Jim Meyering  <meyering@redhat.com>
72840         [BZ #12348]
72841         * posix/regexec.c (build_trtable): Return failure indication upon
72842         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
72844 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
72846         [BZ #12201]
72847         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
72848         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
72849         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
72850         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
72852         [BZ #12207]
72853         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72855         [BZ #12204]
72856         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72857         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72859 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72861         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72862         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72863         script has SORT_BY_INIT_PRIORITY.
72864         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72865         NO_CTORS_DTORS_SECTIONS is defined.
72866         * elf/soinit.c: Likewise.
72867         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72868         NO_CTORS_DTORS_SECTIONS is defined.
72869         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72870         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72871         * sysdeps/sh/init-first.c: Likewise.
72872         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72874 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72876         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72877         always use the slow path.
72879 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72881         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72882         similar rule which adds the sysdep directories to the header search in
72883         order to pick up the correct platform stackinfo.h.
72884         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72885         perform test if it is, otherwise return successfully without testing.
72886         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72887         DEFAULT_STACK_PERMS define in stackinfo.h.
72888         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72889         defined in stackinfo.h.
72890         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72891         DEFAULT_STACK_PERMS defined in stackinfo.h.
72892         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72893         * sysdeps/ia64/stackinfo.h: Likewise.
72894         * sysdeps/s390/stackinfo.h: Likewise.
72895         * sysdeps/sh/stackinfo.h: Likewise.
72896         * sysdeps/sparc/stackinfo.h: Likewise.
72897         * sysdeps/x86_64/stackinfo.h: Likewise.
72898         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72899         PF_X for powerpc64.  Retain PF_X for powerpc32.
72901 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72903         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72904         accurately.
72905         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72906         GETDENTS_64BIT_ALIGNED.
72908 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72910         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72912 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72914         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72915         _GNU_SOURCE.
72917         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72918         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72919         Remove __restrict.
72920         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72921         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72923 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72925         [BZ #11655]
72926         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72927         are initialized.
72929 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72931         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72933 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72935         * po/it.po: Update from translation team.
72937 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72939         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72940         unused codes.
72942 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72944         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72946 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72948         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72949         specially.
72950         (gaih_getanswer_slice): Likewise.
72952 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72956 2010-05-31  Petr Baudis  <pasky@suse.cz>
72958         [BZ #11149]
72959         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72960         silently even in the chroot mode.
72962 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72964         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72965         last patch a bit.  Pretty printing
72967 2010-05-31  Petr Baudis <pasky@suse.cz>
72969         [BZ #10085]
72970         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72971         initialization of skip_initgroups_dyn.
72973 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72975         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72978 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72980         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72982 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72984         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72985         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72986         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72987         ($(objpfx)tst-fnmatch-mem): New rule.
72988         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72989         * posix/tst-fnmatch.c (main): Call mtrace.
72991 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72994         Support Intel processor model 6 and model 0x2c.
72996 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72998         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72999           signed comparison.
73001 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73003         [BZ #12205]
73004         * string/test-strncasecmp.c (check_result): New function.
73005         (do_one_test): Use it.
73006         (check1): New function.
73007         (test_main): Use it.
73008         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73009         Support strcasecmp and strncasecmp.
73011 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73013         [BZ #12194]
73014         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73015         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73017 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73019         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73020         IFUNC support.
73021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73022         memset-x86-64.
73023         * sysdeps/x86_64/multiarch/bzero.S: New file.
73024         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73025         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73026         * sysdeps/x86_64/multiarch/memset.S: New file.
73027         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73029         Set bit_Prefer_SSE_for_memop for Intel processors.
73030         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73031         Define.
73032         (index_Prefer_SSE_for_memop): Define.
73033         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73035 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73037         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73038         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73040 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73042         [BZ #12191]
73043         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73044         (__x86_64_raw_data_cache_size_half): Likewise.
73045         (__x86_64_raw_shared_cache_size): Likewise.
73046         (__x86_64_raw_shared_cache_size_half): Likewise.
73048         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73049         (__x86_64_raw_data_cache_size_half): Likewise.
73050         (__x86_64_raw_shared_cache_size): Likewise.
73051         (__x86_64_raw_shared_cache_size_half): Likewise.
73052         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73053         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73054         and __x86_64_raw_shared_cache_size_half.  Round
73055         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73056         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73057         to multiple of 256 bytes.
73059 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73061         [BZ #12167]
73062         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73063         of inacessible symlinks.  Verify result of symlink before returning it.
73064         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73065         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73067 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73069         * math/math.h (isinf): Fix typo in comment.
73071 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73073         * po/da.po: Update from translation team.
73075 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73077         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73078         is added to the list.
73080 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73081             Ulrich Drepper  <drepper@gmail.com>
73083         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73084         the global list here.  Move code to...
73085         (_dl_add_to_namespace_list): ...here.  New function.
73086         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73087         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73088         * elf/dl-load.c (lose): Don't remove the element from the list.
73089         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73090         (_dl_map_object): Likewise.
73092 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73094         [BZ #12159]
73095         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73096         into all bytes of SSE register.
73097         Patch by Richard Li <richardpku@gmail.com>.
73099 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73101         [BZ #12140]
73102         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73103         perturbing.
73105 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73107         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73108         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73109         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73110         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73112         submachine.
73113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73115 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73117         * include/dlfcn.h (__RTLD_SECURE): Define.
73118         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73119         mode & __RTLD_SECURE instead.
73120         (open_path): Rename preloaded parameter to secure.
73121         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73122         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73123         * elf/dl-deps.c (openaux): Likewise.
73124         * elf/rtld.c (struct map_args): Remove is_preloaded.
73125         (map_doit): Don't use it.
73126         (dl_main): Likewise.
73127         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73128         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73130 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73132         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73133         (sysd-rules-targets): Remove duplicates.
73134         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73135         rtld-%.$o dependency.
73137 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73139         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73140         _dl_map_object do it.
73142 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73144         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73145         fast fma builtins, define the macros in the C99 standard.
73146         (FP_FAST_FMAF): Likewise.
73147         (FP_FAST_FMAL): Likewise.
73148         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73150         * bits/mathdef.h: Update copyright year.
73151         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73153 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73155         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73156         builtins, define the macros in the C99 standard.
73157         (FP_FAST_FMAF): Likewise.
73158         (FP_FAST_FMAL): Likewise.
73159         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73160         multiply/add.
73161         (FP_FAST_FMAF): Likewise.
73163 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73165         [BZ #3268]
73166         * math/libm-test.inc (fma_test): Some new testcases.
73167         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73168         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73169         y and infinite z.  Do multiplication by C already in long double.
73170         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73172         y and infinite z.  Do bitwise or of inexact bit into u.d.
73173         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73174         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73175         * sysdeps/i386/fpu/s_fma.S: Removed.
73176         * sysdeps/i386/fpu/s_fmal.S: Removed.
73178 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73180         [BZ #3268]
73181         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73183         computation is not scheduled after fetestexcept.  Fix value
73184         of minimum denormal long double.
73186 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73188         [BZ #3268]
73189         * math/libm-test.inc (fma_test): Add some more tests.
73190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73191         correctly.
73193 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73195         * scripts/data/localplt-s390-linux-gnu.data: New file.
73196         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73198 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73200         [BZ #3268]
73201         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73202         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73203         instead of dbl-64.
73204         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73205         inlines.
73206         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73208         if one of x and y is very large and the other is subnormal.
73209         * sysdeps/s390/fpu/s_fmaf.c: New file.
73210         * sysdeps/s390/fpu/s_fma.c: New file.
73211         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73212         * sysdeps/powerpc/fpu/s_fma.S: New file.
73213         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73214         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73215         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73217 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73219         [BZ #3268]
73220         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73221         fma tests.
73222         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73223         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73224         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73225         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73226         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73227         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73228         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73230 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73232         [BZ #12078]
73233         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73234         * posix/bug-regex31.input: Add test case.
73236 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73238         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73239         * posix/bug-regex31.input: New file.
73241         [BZ #12078]
73242         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73243         (parse_sub_exp): Fix last change, use postorder.
73245         * posix/bug-regex31.c: New file.
73246         * posix/Makefile: Add rules to build and run bug-regex31.
73248         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73250         [BZ #12078]
73251         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73253         [BZ #12108]
73254         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73255         to have entries in sys_siglist.
73257         [BZ #12093]
73258         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73259         be NULL.
73261 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73263         [BZ #3268]
73264         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73265         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73266         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73267         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73268         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73269         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73270         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73271         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73272         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73273         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73274         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73275         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73276         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73277         * math/ftestexcept.c (fetestexcept): Likewise.
73278         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73279         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73280         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73281         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73282         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73283         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73284         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73286 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73288         [BZ #12107]
73289         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73290         newline.
73292 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73294         * string/bug-strstr1.c: New file.
73295         * string/Makefile: Add rules to build and run bug-strstr1.
73297 2010-10-05  Eric Blake  <eblake@redhat.com>
73299         [BZ #12092]
73300         * string/str-two-way.h (two_way_long_needle): Always clear memory
73301         when skipping input due to the shift table.
73303 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73305         [BZ #12005]
73306         * malloc/mcheck.c: Handle large requests.
73308         [BZ #12077]
73309         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73310         for strncmp and strncasecmp.
73311         * string/stratcliff.c: Add tests for strcmp and strncmp.
73312         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73314 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73316         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73317         __set_fpscr.
73319 2010-09-30  Andreas Jaeger  <aj@suse.de>
73321         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73322         (CGROUP_SUPER_MAGIC): Define.
73323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73324         Handle btrfs and cgroup file systems.
73325         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
73326         Likewise.
73328 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
73330         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
73331         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73333 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73335         [BZ #12067]
73336         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
73337         trying to locate the ELF header.
73339 2010-09-27  Andreas Schwab  <schwab@redhat.com>
73341         [BZ #11611]
73342         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
73343         Mask out sign-bit copies when constructing f_fsid.
73345 2010-09-24  Petr Baudis <pasky@suse.cz>
73347         * debug/stack_chk_fail_local.c: Add missing licence exception.
73348         * debug/warning-nop.c: Likewise.
73350 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
73352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
73353         implementing getdents64 using getdents syscall, set d_type if
73354         __ASSUME_GETDENTS32_D_TYPE.
73356 2010-09-16  Andreas Schwab  <schwab@redhat.com>
73358         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
73359         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
73361 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
73363         [BZ #12037]
73364         * posix/unistd.h: Undo change of feature selection for ftruncate from
73365         2010-01-11.
73367 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
73369         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
73370         detection.
73372 2010-09-20  Andreas Schwab  <schwab@redhat.com>
73374         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
73375         fanotify_mark.
73376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73378 2010-09-14  Andreas Schwab  <schwab@redhat.com>
73380         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
73381         variables after CHECK_SP call.
73382         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
73384 2010-09-13  Andreas Schwab  <schwab@redhat.com>
73385             Ulrich Drepper  <drepper@redhat.com>
73387         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
73388         re-relocationg ld.so.
73389         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
73390         _dl_init_paths call.
73391         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
73392         here anymore.
73394 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
73396         * resolv/res_init.c (__res_vinit): Count the default server we added.
73398 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
73399             Ulrich Drepper  <drepper@redhat.com>
73401         [BZ #11968]
73402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73403         (____longjmp_chk): Use %ebx for saving value across system call.
73404         Add unwind info.
73406 2010-09-06  Andreas Schwab  <schwab@redhat.com>
73408         * manual/Makefile: Don't mix pattern rules with normal rules.
73410 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
73412         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
73413         operation.
73414         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
73415         * libio/iofopncook.c (_IO_cookie_init): Likewise.
73416         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
73417         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
73418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73419         Likewise.
73421 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
73423         [BZ #11979]
73424         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
73425         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
73427 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
73429         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
73430         * sysdeps/x86_64/addmul_1.S: Likewise.
73431         * sysdeps/x86_64/lshift.S: Likewise.
73432         * sysdeps/x86_64/mul_1.S: Likewise.
73433         * sysdeps/x86_64/rshift.S: Likewise.
73434         * sysdeps/x86_64/sub_n.S: Likewise.
73435         * sysdeps/x86_64/submul_1.S: Likewise.
73437 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73439         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
73440         Define __sched_param instead of SCHED_* and sched_param when
73441         <bits/sched.h> is included with __need_schedparam defined.
73442         * bits/sched.h [__need_schedparam]
73443         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
73444         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
73445         (__defined_schedparam): Define to 1.
73446         (__sched_param): New structure, identical to sched_param.
73447         (__need_schedparam): Undefine.
73449 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
73451         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
73452         (epoll_create1): Declare.
73454         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
73456 2010-08-31  Andreas Schwab  <schwab@redhat.com>
73458         [BZ #7066]
73459         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
73460         shifting retval into place.
73462 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
73464         * nis/rpcsvc/nis.h: Update copyright notice.
73465         * nis/rpcsvc/nis.x: Likewise.
73466         * nis/rpcsvc/nis_callback.h: Likewise.
73467         * nis/rpcsvc/nis_callback.x: Likewise.
73468         * nis/rpcsvc/nis_object.x: Likewise.
73469         * nis/rpcsvc/nis_tags.h: Likewise.
73470         * nis/rpcsvc/yp.h: Likewise.
73471         * nis/rpcsvc/yp.x: Likewise.
73472         * nis/rpcsvc/ypupd.h: Likewise.
73473         * nis/yp_xdr.c: Likewise.
73474         * nis/ypupdate_xdr.c: Likewise.
73476         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
73477         mainly the body of pmap_getport.  Add parameters to specify timeouts.
73478         (pmap_getport): Use __libc_rpc_getport.
73479         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
73480         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
73481         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
73483 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
73485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
73486         fanotify_mark.
73488 2010-08-27  Roland McGrath  <roland@redhat.com>
73490         * sysdeps/i386/i686/multiarch/Makefile
73491         (CFLAGS-varshift.c): New variable.
73493 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
73495         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
73496         * sysdeps/i386/i686/multiarch/varshift.c: New file.
73498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
73500         * sysdeps/x86_64/strlen.S: Minimal code improvement.
73502 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
73504         * sysdeps/x86_64/strlen.S: Unroll the loop.
73505         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73506         strlen-sse2 strlen-sse2-bsf.
73507         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
73508         __strlen_no_bsf if bit_Slow_BSF is set.
73509         (__strlen_sse42): Removed.
73510         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
73511         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
73513 2010-08-25  Roland McGrath  <roland@redhat.com>
73515         * sysdeps/x86_64/multiarch/varshift.S: File removed.
73516         * sysdeps/x86_64/multiarch/varshift.c: New file.
73517         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
73518         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
73519         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
73520         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73522 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
73524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73525         strlen-sse2 strlen-sse2-bsf.
73526         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
73527         __strlen_sse2_bsf if bit_Slow_BSF is unset.
73528         (__strlen_sse2): Removed.
73529         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
73530         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
73531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
73532         bit_Slow_BSF for Atom.
73533         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
73534         (index_Slow_BSF): Define.
73535         (HAS_SLOW_BSF): Define.
73537 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
73539         [BZ #10851]
73540         * resolv/res_init.c (__res_vinit): When no server address at all
73541         is given default to loopback.
73543 2010-08-24  Roland McGrath  <roland@redhat.com>
73545         * configure.in: Remove config-name.h generation.
73546         * configure: Regenerated.
73547         * config-name.in: File removed.
73548         * scripts/config-uname.sh: New file.
73549         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
73550         ($(objdir)config-name.h): New target.
73552         * sunrpc/rpc_parse.h: Avoid nested comment.
73554 2010-08-24  Richard Henderson  <rth@redhat.com>
73555             Ulrich Drepper  <drepper@redhat.com>
73556             H.J. Lu  <hongjiu.lu@intel.com>
73558         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
73559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
73560         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
73561         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
73562         _mm_alignr_epi8 with _mm_loadu_si128.
73563         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
73564         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
73565         (__m128i_shift_right): Removed.
73566         * sysdeps/i386/i686/multiarch/varshift.h: New file.
73567         * sysdeps/i386/i686/multiarch/varshift.S: New file.
73568         * sysdeps/x86_64/multiarch/varshift.h: New file.
73569         * sysdeps/x86_64/multiarch/varshift.S: New file.
73571 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
73573         * configure.in: Move assembler checks to before sysdep dir checking.
73575 2010-08-20  Petr Baudis  <pasky@suse.cz>
73577         * LICENSES: Sync the sunrpc license.
73579 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
73581         * sunrpc/auth_des.c: Update copyright notice once again.
73582         * sunrpc/auth_none.c: Likewise.
73583         * sunrpc/auth_unix.c: Likewise.
73584         * sunrpc/authdes_prot.c: Likewise.
73585         * sunrpc/authuxprot.c: Likewise.
73586         * sunrpc/bindrsvprt.c: Likewise.
73587         * sunrpc/clnt_gen.c: Likewise.
73588         * sunrpc/clnt_perr.c: Likewise.
73589         * sunrpc/clnt_raw.c: Likewise.
73590         * sunrpc/clnt_simp.c: Likewise.
73591         * sunrpc/clnt_tcp.c: Likewise.
73592         * sunrpc/clnt_udp.c: Likewise.
73593         * sunrpc/clnt_unix.c: Likewise.
73594         * sunrpc/des_crypt.c: Likewise.
73595         * sunrpc/des_soft.c: Likewise.
73596         * sunrpc/get_myaddr.c: Likewise.
73597         * sunrpc/getrpcport.c: Likewise.
73598         * sunrpc/key_call.c: Likewise.
73599         * sunrpc/key_prot.c: Likewise.
73600         * sunrpc/openchild.c: Likewise.
73601         * sunrpc/pm_getmaps.c: Likewise.
73602         * sunrpc/pm_getport.c: Likewise.
73603         * sunrpc/pmap_clnt.c: Likewise.
73604         * sunrpc/pmap_prot.c: Likewise.
73605         * sunrpc/pmap_prot2.c: Likewise.
73606         * sunrpc/pmap_rmt.c: Likewise.
73607         * sunrpc/rpc/auth.h: Likewise.
73608         * sunrpc/rpc/auth_unix.h: Likewise.
73609         * sunrpc/rpc/clnt.h: Likewise.
73610         * sunrpc/rpc/des_crypt.h: Likewise.
73611         * sunrpc/rpc/key_prot.h: Likewise.
73612         * sunrpc/rpc/netdb.h: Likewise.
73613         * sunrpc/rpc/pmap_clnt.h: Likewise.
73614         * sunrpc/rpc/pmap_prot.h: Likewise.
73615         * sunrpc/rpc/pmap_rmt.h: Likewise.
73616         * sunrpc/rpc/rpc.h: Likewise.
73617         * sunrpc/rpc/rpc_des.h: Likewise.
73618         * sunrpc/rpc/rpc_msg.h: Likewise.
73619         * sunrpc/rpc/svc.h: Likewise.
73620         * sunrpc/rpc/svc_auth.h: Likewise.
73621         * sunrpc/rpc/types.h: Likewise.
73622         * sunrpc/rpc/xdr.h: Likewise.
73623         * sunrpc/rpc_clntout.c: Likewise.
73624         * sunrpc/rpc_cmsg.c: Likewise.
73625         * sunrpc/rpc_common.c: Likewise.
73626         * sunrpc/rpc_cout.c: Likewise.
73627         * sunrpc/rpc_dtable.c: Likewise.
73628         * sunrpc/rpc_hout.c: Likewise.
73629         * sunrpc/rpc_main.c: Likewise.
73630         * sunrpc/rpc_parse.c: Likewise.
73631         * sunrpc/rpc_parse.h: Likewise.
73632         * sunrpc/rpc_prot.c: Likewise.
73633         * sunrpc/rpc_sample.c: Likewise.
73634         * sunrpc/rpc_scan.c: Likewise.
73635         * sunrpc/rpc_scan.h: Likewise.
73636         * sunrpc/rpc_svcout.c: Likewise.
73637         * sunrpc/rpc_tblout.c: Likewise.
73638         * sunrpc/rpc_util.c: Likewise.
73639         * sunrpc/rpc_util.h: Likewise.
73640         * sunrpc/rpcinfo.c: Likewise.
73641         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
73642         * sunrpc/rpcsvc/key_prot.x: Likewise.
73643         * sunrpc/rpcsvc/klm_prot.x: Likewise.
73644         * sunrpc/rpcsvc/mount.x: Likewise.
73645         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
73646         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
73647         * sunrpc/rpcsvc/rex.x: Likewise.
73648         * sunrpc/rpcsvc/rstat.x: Likewise.
73649         * sunrpc/rpcsvc/rusers.x: Likewise.
73650         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73651         * sunrpc/rpcsvc/spray.x: Likewise.
73652         * sunrpc/rpcsvc/yppasswd.x: Likewise.
73653         * sunrpc/rtime.c: Likewise.
73654         * sunrpc/svc.c: Likewise.
73655         * sunrpc/svc_auth.c: Likewise.
73656         * sunrpc/svc_authux.c: Likewise.
73657         * sunrpc/svc_raw.c: Likewise.
73658         * sunrpc/svc_run.c: Likewise.
73659         * sunrpc/svc_simple.c: Likewise.
73660         * sunrpc/svc_tcp.c: Likewise.
73661         * sunrpc/svc_udp.c: Likewise.
73662         * sunrpc/svc_unix.c: Likewise.
73663         * sunrpc/svcauth_des.c: Likewise.
73664         * sunrpc/xcrypt.c: Likewise.
73665         * sunrpc/xdr.c: Likewise.
73666         * sunrpc/xdr_array.c: Likewise.
73667         * sunrpc/xdr_float.c: Likewise.
73668         * sunrpc/xdr_mem.c: Likewise.
73669         * sunrpc/xdr_rec.c: Likewise.
73670         * sunrpc/xdr_ref.c: Likewise.
73671         * sunrpc/xdr_sizeof.c: Likewise.
73672         * sunrpc/xdr_stdio.c: Likewise.
73674         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
73675         handling.
73677 2010-08-19  Andreas Schwab  <schwab@redhat.com>
73679         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
73681 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
73683         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
73684         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
73685         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
73686         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
73687         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
73688         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
73689         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
73690         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
73691         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
73692         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
73693         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
73694         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
73695         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
73696         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
73698 2010-07-26  Anton Blanchard  <anton@samba.org>
73700         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
73701         * malloc/arena.c (heap_trim): Likewise.
73703 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
73705         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
73706         here.  Not...
73707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
73708         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
73710 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
73712         * sysdeps/i386/elf/Makefile: New file.
73714 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73716         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
73717         from fanotify_init.
73718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
73719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73721 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
73723         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
73724         of strncasecmp_l.
73725         * sysdeps/multiarch/strcmp.S: Likewise.
73727 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
73729         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73730         strncase_l-nonascii.
73731         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73732         Add strncase_l-ssse3.
73733         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
73734         * sysdeps/x86_64/strcmp.S: Likewise.
73735         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
73736         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
73737         * sysdeps/x86_64/strncase.S: New file.
73738         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
73739         * sysdeps/x86_64/strncase_l.S: New file.
73740         * string/Makefile (strop-tests): Add strncasecmp.
73741         * string/test-strncasecmp.c: New file.
73743         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
73744         warning.
73746         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
73747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
73749 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
73751         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
73753 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
73755         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
73756         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
73757         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
73759 2010-05-01  Alan Modra  <amodra@gmail.com>
73761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
73762         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
73763         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
73764         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
73765         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
73766         tidying.  Don't tail-call __sigjmp_save for static lib.
73767         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
73768         save location.
73769         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
73770         (CALL_MCOUNT): Add eh info, and nop after bl.
73771         (TAIL_CALL_SYSCALL_ERROR): New macro.
73772         (PSEUDO_RET): Use it.
73773         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
73774         Correct save location of integer regs and cr.
73775         (_dl_profile_resolve): Correct cr save location.  Delete nops
73776         after bl when SHARED.  Reduce cfi size a little by better
73777         placement of cfi directives.
73778         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
73779         make a stack frame.  Instead use parm save area as a temp.
73780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
73781         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
73782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
73783         Don't make a stack frame for parent, use parm save area.
73784         Increase child stack frame to 112 bytes.  Don't save unused reg,
73785         and adjust reg usage.  Set up cfi on error recovery and
73786         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
73787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73788         (__makecontext): Add dummy nop after jump to exit.
73789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
73790         Use correct parm save area and cr save, reduce stack frame.
73791         Correct cfi for possible PSEUDO_RET frame setup.
73792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
73793         Branch to local label emitted by PSEUDO_RET rather than
73794         __syscall_error.
73796 2010-08-12  Andreas Schwab  <schwab@redhat.com>
73798         [BZ #11904]
73799         * locale/programs/locale.c (print_assignment): New function.
73800         (show_locale_vars): Use it.
73802 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
73804         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
73805         field.
73806         (struct statfs64): Likewise.
73807         (_STATFS_F_FLAGS): Define.
73808         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
73809         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73810         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
73811         (ST_VALID): Define locally.
73812         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
73813         __statvfs_getflags, use the provided value.
73814         * sysdeps/unix/sysv/linux/kernel-features.h: Define
73815         __ASSUME_STATFS_F_FLAGS.
73817         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
73819         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
73820         Add sys/fanotify.h.
73821         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
73822         fanotify_mask for GLIBC_2.13.
73823         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
73824         fanotify_init and fanotify_mark.
73825         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
73826         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
73828         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
73829         Add prlimit.
73830         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
73831         prlimit64 for GLIBC_2.13.
73832         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
73833         prlimit64.
73834         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
73835         syscall.
73836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
73837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
73838         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
73839         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
73840         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
73841         add prlimit alias.
73842         * sysdeps/unix/sysv/linux/prlimit.c: New file.
73844         [BZ #11903]
73845         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
73846         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
73848         * nss/Makefile: Add rules to build and run tst-nss-test1.
73849         * shlib-versions: Add entry for libnss_test1.
73850         * nss/nss_test1.c: New file.
73851         * nss/tst-nss-test1.c: New file.
73853         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73854         (__nss_configure_lookup): Set appropriate entry in
73855         __nss_configure_lookup to true.
73856         * nss/nsswitch.h: Define enum with indeces of databases in
73857         databases and __nss_database_custom arrays.  Declare
73858         __nss_database_custom.
73859         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73860         to avoid using nscd when custom rules are installed.
73861         * nss/getXXbyYY_r.c: Likewise.
73862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73864         * nss/nss_files/files-parse.c: Whitespace fixes.
73866 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73868         [BZ #11883]
73869         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73870         * posix/fnmatch_loop.c: Likewise.
73872 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73874         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73875         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73876         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73877         * Versions.def [GLIBC_2.13]: Add.
73879 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73881         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73882         Also fail if tpwd after pwuid call is NULL.
73884 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73886         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73887         when converting to ms.
73889 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73891         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73892         EOPNOTSUPP errors with ENOTTY.
73893         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73894         EOPNOTSUPP errors with ENOTTY.
73896 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73898         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73899         Add strcasecmp_l-ssse3.
73900         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73901         strcasecmp.
73902         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73903         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73904         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73906 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73908         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73910         * string/Makefile (strop-tests): Add strcasecmp.
73911         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73912         strcasecmp_l-nonascii.
73913         (gen-as-const-headers): Add locale-defines.sym.
73914         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73915         * sysdeps/x86_64/strcasecmp.S: New file.
73916         * sysdeps/x86_64/strcasecmp_l.S: New file.
73917         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73918         * sysdeps/x86_64/locale-defines.sym: New file.
73919         * string/test-strcasecmp.c: New file.
73921         * string/test-strcasestr.c: Test both ends of the range of characters.
73922         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73924 2010-07-29  Roland McGrath  <roland@redhat.com>
73926         [BZ #11856]
73927         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73929 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73931         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73932         for ld.so.
73934 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73936         * manual/memory.texi (Malloc Tunable Parameters): Document
73937         M_PERTURB.
73939 2010-07-26  Roland McGrath  <roland@redhat.com>
73941         [BZ #11840]
73942         * configure.in (-fgnu89-inline check): Set and substitute
73943         gnu89_inline, not libc_cv_gnu89_inline.
73944         * configure: Regenerated.
73945         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73947 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73949         * string/test-strnlen.c: New file.
73950         * string/Makefile (strop-tests): Add strnlen.
73951         * string/tester.c (test_strnlen): Add a few more test cases.
73952         * string/tst-strlen.c: Better error reporting.
73954         * sysdeps/x86_64/strnlen.S: New file.
73956 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73958         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73959         lower-latency instructions.
73961 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73963         * string/test-strcasestr.c: New file.
73964         * string/test-strstr.c: New file.
73965         * string/Makefile (strop-tests): Add strstr and strcasestr.
73966         * string/str-two-way.h: Don't undefine MAX.
73967         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73969 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73972         strcasestr-nonascii.
73973         (CFLAGS-strcasestr-nonascii.c): Define.
73974         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73976         Remove unused attribute.
73978 2010-07-20  Roland McGrath  <roland@redhat.com>
73980         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73981         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73982         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73983         like LD_HWCAP_MASK can disable hwcaps.
73985 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73987         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73989 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73991         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73992         call in strcasestr.
73993         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73994         __strcasestr_sse42_nonascii.
73995         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73996         strcasestr-nonascii.c.
73997         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73999 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74001         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74004         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74006 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74008         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74009         fcntl.
74011 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74013         [BZ #11577]
74014         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74015         dl_signal_cerror.
74017 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74019         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74020         _PC_PIPE_BUF using F_GETPIPE_SZ.
74022 2010-07-05  Roland McGrath  <roland@redhat.com>
74024         * manual/arith.texi (Rounding Functions): Fix rint description
74025         implicit in round description.
74027 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74029         * elf/Makefile: Fix linking for a few tests to make recent linker
74030         happy.
74032 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74034         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74035         $(common-objpfx)libc_nonshared.a.
74037 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74039         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74040         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74041         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74042         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74043         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74044         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74045         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74046         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74061         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74062         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74063         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74064         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74065         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74066         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74067         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74068         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74069         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74070         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74071         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74072         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74088 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74090         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74091         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74092         * string/memmove.c (memmove): Renamed to ...
74093         (MEMMOVE): ...this.  Default to memmove.
74094         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74095         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74096         (END_CHK): Define.
74097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74098         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74099         mempcpy-ssse3-back memmove-ssse3-back.
74100         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74102         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74103         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74104         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74105         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74106         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74107         * sysdeps/x86_64/multiarch/memmove.c: New file.
74108         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74109         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74110         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74111         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74114         Define.
74115         (index_Fast_Copy_Backward): Define.
74116         (HAS_ARCH_FEATURE): Define.
74117         (HAS_FAST_REP_STRING): Define.
74118         (HAS_FAST_COPY_BACKWARD): Define.
74120 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74122         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74123         Restore proper fallback handling.
74125 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74127         [BZ #11701]
74128         * posix/group_member.c (__group_member): Correct checking loop.
74130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74131         OOM in getpwuid_r correctly.  Return error number when the caller
74132         should return, otherwise -1.
74133         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74134         call returning > 0 value.
74135         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74137 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74139         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74140         libc_nonshared.a from targets in modules-names.
74142 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74144         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74145         requires it.
74147 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74150         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74152         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74154 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74156         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74158 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74160         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74161         and F_GETPIPE_SZ.
74162         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74163         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74166         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74169 2010-06-14  Roland McGrath  <roland@redhat.com>
74171         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74173 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74175         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74176         __REDIRECT followed by __THROW.
74177         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74178         * posix/getopt.h (getopt): Likewise.
74180 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74182         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74183         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74184         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74185         in AT_FLAGS.
74186         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74187         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74189 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74191         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74193 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74195         [BZ #11640]
74196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74197         Properly check family and model.
74199 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74201         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74203 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74205         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74207 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74209         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74210         symbol reference.
74212 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74214         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74215         symbol reference.
74217 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74220         and internal_recvmmsg.
74221         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74223         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74224         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74226         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74227         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74228         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74230 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74232         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74234 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74236         POWER7 optimizations.
74237         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74238         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74240 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74242         * version.h: Update for 2.13 development version.
74244 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74246         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74247         exceptions.  Return 0.
74249 2010-05-07  Roland McGrath  <roland@redhat.com>
74251         * elf/ldconfig.c (main): Add a const.
74253 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74255         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74256         (args_options): Add no-idn option.
74257         (ahosts_keys_int): Add idn_flags to ai_flags.
74258         (parse_option): Handle 'i' option to clear idn_flags.
74260         * malloc/malloc.c (_int_free): Possible race in the most recently
74261         added check.  Only act on the data if no current modification
74262         happened.
74264 See ChangeLog.17 for earlier changes.